mirror of
https://github.com/primer/css.git
synced 2025-01-06 05:33:07 +03:00
BREAKING CHANGE: remove colorizeTooltip mixin
This commit is contained in:
parent
2507e037c7
commit
333ee70213
@ -277,38 +277,3 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Alert tooltips
|
||||
//
|
||||
// Colors for different alert states.
|
||||
@mixin colorizeTooltip($text-color, $background-color) {
|
||||
&::after {
|
||||
color: $text-color;
|
||||
background: $background-color;
|
||||
}
|
||||
|
||||
&.tooltipped-s,
|
||||
&.tooltipped-se,
|
||||
&.tooltipped-sw {
|
||||
&::before {
|
||||
border-bottom-color: $background-color;
|
||||
}
|
||||
}
|
||||
|
||||
&.tooltipped-n,
|
||||
&.tooltipped-ne,
|
||||
&.tooltipped-nw {
|
||||
&::before {
|
||||
border-top-color: $background-color;
|
||||
}
|
||||
}
|
||||
|
||||
&.tooltipped-e::before {
|
||||
border-right-color: $background-color;
|
||||
}
|
||||
|
||||
&.tooltipped-w::before {
|
||||
border-left-color: $background-color;
|
||||
}
|
||||
}
|
||||
@warn "the colorizeTooltip mixin will be deprecated in version 11.";
|
||||
|
Loading…
Reference in New Issue
Block a user