From 333ee702132460e04355b1aa08fa489ef5a780e2 Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Tue, 22 Jan 2019 14:43:56 -0800 Subject: [PATCH] BREAKING CHANGE: remove colorizeTooltip mixin --- modules/primer-tooltips/lib/tooltips.scss | 35 ----------------------- 1 file changed, 35 deletions(-) diff --git a/modules/primer-tooltips/lib/tooltips.scss b/modules/primer-tooltips/lib/tooltips.scss index f1b2559c..1e72cff5 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.";