-
Notifications
You must be signed in to change notification settings - Fork 679
Closed
Description
Describe the bug
When using useRootStyles: false, the default theme is not returned and variables in components do not work. The issue is here:
| if (!colors || useRootStyles === false) return {} |
I am not sure if we need to check useRootStyles at all here, the documentation says this property is only to avoid applying styles in the html, not that it would prevent the color mode from working
To Reproduce
Steps to reproduce the behavior:
Expected behavior
useRootStyles: false should not prevent variables from being defined
Metadata
Metadata
Assignees
Labels
No labels
