From 11be07626bf462299a9d9f6c562c9a0c2003f620 Mon Sep 17 00:00:00 2001 From: carbon-bot Date: Wed, 9 Dec 2020 23:57:15 +0000 Subject: [PATCH] chore(project): sync generated files --- packages/components/docs/sass.md | 10 +++++++++- packages/elements/docs/sass.md | 10 +++++++++- packages/type/docs/sass.md | 8 +++++++- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/packages/components/docs/sass.md b/packages/components/docs/sass.md index 82cd768f71d9..e49308d49e15 100644 --- a/packages/components/docs/sass.md +++ b/packages/components/docs/sass.md @@ -6599,6 +6599,7 @@ $carbon--theme: ( - **Type**: `Map` - **Used by**: - [carbon--theme [mixin]](#carbon--theme-mixin) + - [carbon--default-type [mixin]](#carbon--default-type-mixin) ### ✅interactive-01 [variable] @@ -11171,7 +11172,13 @@ Include default type styles } a { - color: #0062ff; + @if global-variable-exists('carbon--theme') and + map-has-key($carbon--theme, 'link-01') + { + color: map-get($carbon--theme, 'link-01'); + } @else { + color: #0062fe; + } } em { @@ -11185,6 +11192,7 @@ Include default type styles - **Group**: [@carbon/type](#carbontype) - **Requires**: - [carbon--type-style [mixin]](#carbon--type-style-mixin) + - [carbon--theme [variable]](#carbon--theme-variable) ### ✅carbon--font-face-sans-condensed [mixin] diff --git a/packages/elements/docs/sass.md b/packages/elements/docs/sass.md index b9d464d73d27..62c9c1d4a460 100644 --- a/packages/elements/docs/sass.md +++ b/packages/elements/docs/sass.md @@ -6206,6 +6206,7 @@ $carbon--theme: ( - **Type**: `Map` - **Used by**: - [carbon--theme [mixin]](#carbon--theme-mixin) + - [carbon--default-type [mixin]](#carbon--default-type-mixin) ### ✅interactive-01 [variable] @@ -10404,7 +10405,13 @@ Include default type styles } a { - color: #0062ff; + @if global-variable-exists('carbon--theme') and + map-has-key($carbon--theme, 'link-01') + { + color: map-get($carbon--theme, 'link-01'); + } @else { + color: #0062fe; + } } em { @@ -10418,6 +10425,7 @@ Include default type styles - **Group**: [@carbon/type](#carbontype) - **Requires**: - [carbon--type-style [mixin]](#carbon--type-style-mixin) + - [carbon--theme [variable]](#carbon--theme-variable) ### ✅carbon--font-face-sans-condensed [mixin] diff --git a/packages/type/docs/sass.md b/packages/type/docs/sass.md index 9651080de22b..5d0396479a30 100644 --- a/packages/type/docs/sass.md +++ b/packages/type/docs/sass.md @@ -819,7 +819,13 @@ Include default type styles } a { - color: #0062ff; + @if global-variable-exists('carbon--theme') and + map-has-key($carbon--theme, 'link-01') + { + color: map-get($carbon--theme, 'link-01'); + } @else { + color: #0062fe; + } } em {