diff --git a/packages/core/src/components/text/text.ios.scss b/packages/core/src/components/text/text.ios.scss index 44185d70a9..326ad6f6f7 100644 --- a/packages/core/src/components/text/text.ios.scss +++ b/packages/core/src/components/text/text.ios.scss @@ -6,13 +6,14 @@ // Generate iOS Text Colors // -------------------------------------------------- -@each $color-name, $color-base, $color-contrast in get-colors($colors-ios) { +@each $color-name, $color-value in $colors-ios { + $base-color: ion-color($colors-ios, $color-name, base, ios); .text-ios-#{$color-name}, .text-ios-#{$color-name} a, .text-ios-#{$color-name} p { // scss-lint:disable ImportantRule - color: $color-base !important; + color: $base-color !important; } -} +} \ No newline at end of file diff --git a/packages/core/src/components/text/text.md.scss b/packages/core/src/components/text/text.md.scss index f3b88758a9..9e8992e86f 100644 --- a/packages/core/src/components/text/text.md.scss +++ b/packages/core/src/components/text/text.md.scss @@ -6,13 +6,14 @@ // Generate Material Design Text Colors // -------------------------------------------------- -@each $color-name, $color-base, $color-contrast in get-colors($colors-md) { +@each $color-name, $color-value in $colors-md { + $base-color: ion-color($colors-md, $color-name, base, md); .text-md-#{$color-name}, .text-md-#{$color-name} a, .text-md-#{$color-name} p { // scss-lint:disable ImportantRule - color: $color-base !important; + color: $base-color !important; } -} +} \ No newline at end of file