Skip to content

Commit ef82282

Browse files
authored
Merge pull request #656 from primer/remove-colorize-tooltip
Remove colorizeTooltip mixin
2 parents 2507e03 + 333ee70 commit ef82282

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

modules/primer-tooltips/lib/tooltips.scss

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -277,38 +277,3 @@
277277
}
278278
}
279279
}
280-
281-
// Alert tooltips
282-
//
283-
// Colors for different alert states.
284-
@mixin colorizeTooltip($text-color, $background-color) {
285-
&::after {
286-
color: $text-color;
287-
background: $background-color;
288-
}
289-
290-
&.tooltipped-s,
291-
&.tooltipped-se,
292-
&.tooltipped-sw {
293-
&::before {
294-
border-bottom-color: $background-color;
295-
}
296-
}
297-
298-
&.tooltipped-n,
299-
&.tooltipped-ne,
300-
&.tooltipped-nw {
301-
&::before {
302-
border-top-color: $background-color;
303-
}
304-
}
305-
306-
&.tooltipped-e::before {
307-
border-right-color: $background-color;
308-
}
309-
310-
&.tooltipped-w::before {
311-
border-left-color: $background-color;
312-
}
313-
}
314-
@warn "the colorizeTooltip mixin will be deprecated in version 11.";

0 commit comments

Comments
 (0)