Dark Mode not specified by TextFields are changing #2751
Unanswered
theobouwman
asked this question in
Q&A
Replies: 2 comments 2 replies
-
@theobouwman I suspect that you did override all relevant design tokens - $textDefault - so it is still effected be the change to dark mode |
Beta Was this translation helpful? Give feedback.
2 replies
-
I removed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is our setup code for the theme:
_ Colors.loadDesignTokens({
primaryColor: Colors.blue40
});
const _colors = {
screenBG: 'white',
textColor: Colors.grey10,
moonOrSun: Colors.yellow30,
mountainForeground: Colors.green30,
mountainBackground: Colors.green50,
$backgroundSuccess: Colors.green40,
$backgroundSuccessLight: Colors.green70
}
Colors.loadSchemes({
light: _colors,
dark: _colors
});
_
So everything should be the same for light and dark mode right?
But here is a screenshot of the light mode:
And here a screenshot when dark mode is enabled in system settings:
So why is this changing?
Beta Was this translation helpful? Give feedback.
All reactions