fix(label): add color variable, examples to test and document

references #14853 references #14850
This commit is contained in:
Brandy Carney
2018-10-10 10:29:34 -05:00
parent af01378232
commit b485eba3a8
2 changed files with 28 additions and 7 deletions

View File

@ -5,12 +5,19 @@
// --------------------------------------------------
:host {
/**
* @prop --color: Color of the label
*/
--color: currentColor;
@include margin(0);
display: block;
flex: 1;
color: var(--color);
font-family: $font-family-base;
font-size: inherit;