-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] mgt-react - SearchResults Dark theme missing #3113
Comments
KinG¡ Hello Tomi ;) What is the version you are using? Our Storybook seems all good so we're confused. https://mgt.dev/?path=/story/components-mgt-search-results-html--search-results Is this happening just on Thanks! |
Hi Seb! |
Just add your own clientid and toggle the theme |
@tavikukko We overhauled theming in v3 to use the fluent web components theming, there not being a .theme file is not necessarily a problem. The problem here is that the CSS trying to use the --color token is not using the sass variable that also provides the theme based default token. As to why it's working in Storybook I have no answer, thankfully it's an easy fix. Edit: also, try setting your body background-color via this CSS rule and then you don't need the event handler |
Great! I hope I would have cathed that and contribute! |
Describe the bug
mgt-react component SearchResults is missing dark theme
To Reproduce
create new react app and add necessary components and configure auth.
When switching the the dark/light theme, the SearchResults is missing necessary css variables
Expected behavior
Font color in SearchResults is light
Screenshots
The text was updated successfully, but these errors were encountered: