mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
fix(label): add color variable, examples to test and document
references #14853 references #14850
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user