Skip to content

Commit

Permalink
Merge pull request #656 from primer/remove-colorize-tooltip
Browse files Browse the repository at this point in the history
Remove colorizeTooltip mixin
  • Loading branch information
shawnbot authored Jan 22, 2019
2 parents 2507e03 + 333ee70 commit ef82282
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions modules/primer-tooltips/lib/tooltips.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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.";

0 comments on commit ef82282

Please sign in to comment.