Skip to content

Commit

Permalink
tooltip background
Browse files Browse the repository at this point in the history
  • Loading branch information
szakarias committed Feb 6, 2025
1 parent f1cc2ff commit 302c5ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/web_css/lib/src/_pkg.scss
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@
margin: 0px;
padding: 2px 8px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
background-color:var(--pub-neutral-bgColor);
opacity: 0.9;
background-color:var(--pub-downloads-chart-tooltip-background);
// opacity: 0.9;
z-index: 100000;
position: absolute;
border: 0.5px solid var(--pub-downloads-chart-frame-color);
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_css/lib/src/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
--pub-tag_sdkbadge-text-color: #1967d2;

--pub-downloads-chart-frame-color: #d3d3d3;
--pub-downloads-chart-tooltip-background: rgba(255, 255, 255, 0.9);
}

.light-theme {
Expand Down Expand Up @@ -201,6 +202,7 @@
--pub-tag_sdkbadge-text-color: var(--pub-neutral-textColor);

--pub-downloads-chart-frame-color: #55585a;
--pub-downloads-chart-tooltip-background: rgba(18, 19, 23, 0.9);

// Material Design theme customizations
--mdc-theme-surface: var(--pub-neutral-bgColor);
Expand Down

0 comments on commit 302c5ed

Please sign in to comment.