We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02f8495 commit d75a09aCopy full SHA for d75a09a
src/button/button.ios.ts
@@ -130,9 +130,7 @@ export class Button extends ButtonBase {
130
if (this.variant === 'text') {
131
// fixes a bug where N would set default UILabel system color
132
// if no color in style which would break theming
133
- if (!this.style.color) {
134
- this.style.color = themer.getPrimaryColor() as Color;
135
- }
+ this.style['css:color'] = themer.getPrimaryColor() as Color;
136
view.applyTextThemeWithScheme(scheme);
137
} else if (this.variant === 'flat') {
138
if (colorScheme) {
0 commit comments