diff --git a/modules/primer-tooltips/lib/tooltips.scss b/modules/primer-tooltips/lib/tooltips.scss index f1b2559cb1..1e72cff525 100644 --- a/modules/primer-tooltips/lib/tooltips.scss +++ b/modules/primer-tooltips/lib/tooltips.scss @@ -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.";