fluent-svelte
fluent-svelte copied to clipboard
Add a way to force dark theme
Before you start...
- [X] Have you updated your dependencies? You might be using an old version of the library.
- [X] Have you checked if someone already requested this feature? If they have, post a comment with your use case instead.
Description
^
Alternative solutions
No response
Relevant Assets
No response
For this, the same methodology as TailwindCSS could be implemented, see Manual Dark Mode, but do exactly the same thing will be a headache. Rather i mean to the way to use a class to apply the styles (Plus, this allow SSR Dark Mode using a 'theme: dark' cookie)