Skip to content

Commit 3e1a62c

Browse files
committed
fix(themes): set foreground to initial to pass tests
1 parent 6a3020d commit 3e1a62c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

core/src/css/palettes/dark.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ $colors: (
8686
--ion-color-#{$color-name}-contrast-rgb: #{color-to-rgb-list(map.get($value, contrast))};
8787
--ion-color-#{$color-name}-shade: #{map.get($value, shade)};
8888
--ion-color-#{$color-name}-tint: #{map.get($value, tint)};
89-
--ion-color-#{$color-name}-foreground: #{map.get($value, foreground)};
89+
--ion-color-#{$color-name}-foreground: initial;
9090
}
9191
}
9292
}

core/src/css/palettes/high-contrast-dark.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ $lightest-text-color: $text-color;
113113
--ion-color-#{$color-name}-contrast-rgb: #{color-to-rgb-list(map.get($value, contrast))};
114114
--ion-color-#{$color-name}-shade: #{map.get($value, shade)};
115115
--ion-color-#{$color-name}-tint: #{map.get($value, tint)};
116-
--ion-color-#{$color-name}-foreground: #{map.get($value, foreground)};
116+
--ion-color-#{$color-name}-foreground: initial;
117117
}
118118
}
119119
}

core/src/css/palettes/high-contrast.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ $lightest-text-color: #888888;
136136
--ion-color-#{$color-name}-contrast-rgb: #{color-to-rgb-list(map.get($value, contrast))};
137137
--ion-color-#{$color-name}-shade: #{map.get($value, shade)};
138138
--ion-color-#{$color-name}-tint: #{map.get($value, tint)};
139-
--ion-color-#{$color-name}-foreground: #{map.get($value, foreground)};
139+
--ion-color-#{$color-name}-foreground: initial;
140140
}
141141
}
142142
}

0 commit comments

Comments
 (0)