diff --git a/core/src/components/label/label.scss b/core/src/components/label/label.scss index e8e398de7a..6aa467454c 100644 --- a/core/src/components/label/label.scss +++ b/core/src/components/label/label.scss @@ -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; diff --git a/core/src/components/label/test/standalone/index.html b/core/src/components/label/test/standalone/index.html index 8e87a4b501..a1de1acfb5 100644 --- a/core/src/components/label/test/standalone/index.html +++ b/core/src/components/label/test/standalone/index.html @@ -8,19 +8,33 @@ - -
+