fix(sass): rename brightness/inverse sass functions

Prefix custom sass color functions with color-
Closes #5542
This commit is contained in:
Adam Bradley
2016-02-20 20:34:59 -06:00
parent 27eacd4e0d
commit 892b0071cb
17 changed files with 39 additions and 39 deletions

View File

@ -2,13 +2,13 @@
// Color Functions
// --------------------------------------------------
@function brightness($color-value) {
@function color-brightness($color-value) {
@return (red($color-value) * 0.299 + green($color-value) * 0.587 + blue($color-value) * 0.114) / 255 * 100%;
}
@function inverse($color-value, $dark: black, $light: white) {
$brightness: brightness($color-value);
@function color-inverse($color-value, $dark: black, $light: white) {
$brightness: color-brightness($color-value);
$red: red($color-value);
$green: green($color-value);
@ -29,7 +29,7 @@
@function toolbar-button-inverse($color-value) {
@return inverse($color-value, $dark: $toolbar-md-button-color, $light: white);
@return color-inverse($color-value, $dark: $toolbar-md-button-color, $light: white);
}