fluent-svelte icon indicating copy to clipboard operation
fluent-svelte copied to clipboard

Add a way to force dark theme

Open josetr opened this issue 3 years ago • 1 comments

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

josetr avatar Jun 07 '22 00:06 josetr

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)

JLAcostaEC avatar Jun 08 '22 14:06 JLAcostaEC