Skip to content

Commit 302c5ed

Browse files
committed
tooltip background
1 parent f1cc2ff commit 302c5ed

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pkg/web_css/lib/src/_pkg.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,8 @@
304304
margin: 0px;
305305
padding: 2px 8px;
306306
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
307-
background-color:var(--pub-neutral-bgColor);
308-
opacity: 0.9;
307+
background-color:var(--pub-downloads-chart-tooltip-background);
308+
// opacity: 0.9;
309309
z-index: 100000;
310310
position: absolute;
311311
border: 0.5px solid var(--pub-downloads-chart-frame-color);

pkg/web_css/lib/src/_variables.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@
143143
--pub-tag_sdkbadge-text-color: #1967d2;
144144

145145
--pub-downloads-chart-frame-color: #d3d3d3;
146+
--pub-downloads-chart-tooltip-background: rgba(255, 255, 255, 0.9);
146147
}
147148

148149
.light-theme {
@@ -201,6 +202,7 @@
201202
--pub-tag_sdkbadge-text-color: var(--pub-neutral-textColor);
202203

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

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

0 commit comments

Comments
 (0)