diff --git a/src/palette/_palette.scss b/src/palette/_palette.scss index c731be84..2190733d 100644 --- a/src/palette/_palette.scss +++ b/src/palette/_palette.scss @@ -2243,8 +2243,24 @@ // Black +.wsk-color-text--black-12 { + color: unquote("rgba(#{$palette-black-12})"); +} + +.wsk-color-text--black-26 { + color: unquote("rgba(#{$palette-black-26})"); +} + +.wsk-color-text--black-54 { + color: unquote("rgba(#{$palette-black-54})"); +} + .wsk-color-text--black { - color: unquote("rgb(#{$palette-black})"); + color: unquote("rgba(#{$palette-black-87})"); +} + +.wsk-color-text--black-100 { + color: unquote("rgba(#{$palette-black-100})"); } .wsk-color--black { @@ -2254,8 +2270,20 @@ // White +.wsk-color-text--white-12 { + color: unquote("rgb(#{$palette-white-12})"); +} + +.wsk-color-text--white-30 { + color: unquote("rgb(#{$palette-white-30})"); +} + +.wsk-color-text--white-70 { + color: unquote("rgb(#{$palette-white-70})"); +} + .wsk-color-text--white { - color: unquote("rgb(#{$palette-white})"); + color: unquote("rgb(#{$palette-white-100})"); } .wsk-color--white { diff --git a/src/palette/color_definitions.scss b/src/palette/color_definitions.scss index bbade543..d6d0b5b7 100644 --- a/src/palette/color_definitions.scss +++ b/src/palette/color_definitions.scss @@ -579,7 +579,25 @@ $palette-blue-grey-800: nth($palette-blue-grey, 9); $palette-blue-grey-900: nth($palette-blue-grey, 10); $palette-black: - "0,0,0"; + "0,0,0" + "0,0,0,.87" + "0,0,0,.54" + "0,0,0,.26" + "0,0,0,.12"; + +$palette-black-100: nth($palette-black, 1); +$palette-black-87: nth($palette-black, 2); +$palette-black-54: nth($palette-black, 3); +$palette-black-26: nth($palette-black, 4); +$palette-black-12: nth($palette-black, 5); $palette-white: - "255,255,255"; + "255,255,255" + "255,255,255,.70" + "255,255,255,.30" + "255,255,255,.12"; + +$palette-white-100: nth($palette-white, 1); +$palette-white-70: nth($palette-white, 2); +$palette-white-30: nth($palette-white, 3); +$palette-white-12: nth($palette-white, 4); diff --git a/src/palette/demo.html b/src/palette/demo.html index 9113986b..ef4cf04c 100644 --- a/src/palette/demo.html +++ b/src/palette/demo.html @@ -431,6 +431,30 @@