Replies: 1 comment
-
Can you create a codepen of your current setup, with notes on what you're trying to have happen? |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
when loading a theme, I get warning for each theme property I didnot provide. It is just for debug mode, but still, during development I still do not want to get those warnings, because the default values are just fine for me.
As a solution, I would expect to have a function for creating a blank theme with all default values. For pallettes and also for semantic.
How can I create a theme that has the default values set in the same way, as the fallbacks would set the values?
If there is not such a function, than it would make sense to at least reduce that warning into an info, which describes how to create a theme with default values set.
In addition I just created a theme via createTheme. I then even called mergeTheme. As a result i have a theme with all properties set, even Sematic Colors are set.
Why am i getting warnings like: value not privded for error? Which value in the theme should I set to make this warning disappear??
Thanks
Beta Was this translation helpful? Give feedback.
All reactions