Skip to content

Commit b2e1f74

Browse files
committed
use $bg-black and $text-black in tooltips
1 parent 9df0fb8 commit b2e1f74

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/tooltips/tooltips.scss

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
padding: $em-spacer-5 $em-spacer-6;
1111
font: normal normal 11px/1.5 $body-font;
1212
-webkit-font-smoothing: subpixel-antialiased;
13-
color: $tooltip-text-color;
13+
color: $text-white;
1414
text-align: center;
1515
text-decoration: none;
1616
text-shadow: none;
@@ -20,7 +20,7 @@
2020
white-space: pre;
2121
pointer-events: none;
2222
content: attr(aria-label);
23-
background: $tooltip-background-color;
23+
background: $bg-black;
2424
border-radius: $border-radius;
2525
opacity: 0;
2626
}
@@ -32,8 +32,7 @@
3232
display: none;
3333
width: 0;
3434
height: 0;
35-
// stylelint-disable-next-line primer/colors
36-
color: $tooltip-background-color;
35+
color: $text-black;
3736
pointer-events: none;
3837
content: "";
3938
// stylelint-disable-next-line primer/borders
@@ -103,7 +102,7 @@
103102
// stylelint-disable-next-line primer/spacing
104103
margin-right: -6px;
105104
// stylelint-disable-next-line primer/borders
106-
border-bottom-color: $tooltip-background-color;
105+
border-bottom-color: $bg-black;
107106
}
108107
}
109108

@@ -137,7 +136,7 @@
137136
// stylelint-disable-next-line primer/spacing
138137
margin-right: -6px;
139138
// stylelint-disable-next-line primer/borders
140-
border-top-color: $tooltip-background-color;
139+
border-top-color: $bg-black;
141140
}
142141
}
143142

@@ -176,7 +175,7 @@
176175
// stylelint-disable-next-line primer/spacing
177176
margin-top: -6px;
178177
// stylelint-disable-next-line primer/borders
179-
border-left-color: $tooltip-background-color;
178+
border-left-color: $bg-black;
180179
}
181180
}
182181

@@ -197,7 +196,7 @@
197196
// stylelint-disable-next-line primer/spacing
198197
margin-top: -6px;
199198
// stylelint-disable-next-line primer/borders
200-
border-right-color: $tooltip-background-color;
199+
border-right-color: $bg-black;
201200
}
202201
}
203202

0 commit comments

Comments
 (0)