From 5ef35b4090ccba550ae0f43e55b958f9bddd0edb Mon Sep 17 00:00:00 2001 From: John Luke Date: Sat, 29 Oct 2016 19:19:04 -0300 Subject: [PATCH] docs(label): add descriptions of sass variables --- src/components/label/label.ios.scss | 3 +++ src/components/label/label.md.scss | 5 +++++ src/components/label/label.wp.scss | 3 +++ 3 files changed, 11 insertions(+) diff --git a/src/components/label/label.ios.scss b/src/components/label/label.ios.scss index fc7c13f55b..01c647e540 100644 --- a/src/components/label/label.ios.scss +++ b/src/components/label/label.ios.scss @@ -3,7 +3,10 @@ // iOS Label // -------------------------------------------------- +/// @prop - Text color of the label $label-ios-text-color: #7f7f7f !default; + +/// @prop - Margin of the label $label-ios-margin: $item-ios-padding-top ($item-ios-padding-right / 2) $item-ios-padding-bottom 0 !default; diff --git a/src/components/label/label.md.scss b/src/components/label/label.md.scss index 5fd072278d..2ad4403803 100644 --- a/src/components/label/label.md.scss +++ b/src/components/label/label.md.scss @@ -3,8 +3,13 @@ // Material Design Label // -------------------------------------------------- +/// @prop - Text color of the label $label-md-text-color: #999 !default; + +/// @prop - Text color of the label when it has focused $label-md-text-color-focused: color($colors-md, primary) !default; + +/// @prop - Margin of the label $label-md-margin: $item-md-padding-top ($item-md-padding-right / 2) $item-md-padding-bottom 0 !default; diff --git a/src/components/label/label.wp.scss b/src/components/label/label.wp.scss index e0a06299ea..f39fc91587 100644 --- a/src/components/label/label.wp.scss +++ b/src/components/label/label.wp.scss @@ -3,7 +3,10 @@ // Windows Label // -------------------------------------------------- +/// @prop - Text color of the label $label-wp-text-color: #999 !default; + +/// @prop - Text color of the label when it has focused $label-wp-text-color-focused: color($colors-wp, primary) !default;