#dark mode?

1 messages · Page 1 of 1 (latest)

dense sable
#

Hi it would be awesome that the UI will be darkmode aware, like if I have a .dark class on a top html element it should apply a dark mode style. whaty do you think?

keen lava
#

Hey @dense sable! This is theming, and is a feature we want to implement soon in our roadmap! We're tracking that here, thinking it would be good to expose a set of CSS properties you could easily override to achieve the color you want without having to implement a full custom UI.

At the moment however, you can achieve this through 2 options:

  • Use a fully custom interface.
  • "Hack" the CSS properties we use internally for the palette. This is the way I've implemented it in the past. Keep in mind I mention "Hack" because these properties are not really documented and aren't really thought out to be exposed, which is why you see a bunch of colors there, and it also means it will change when we implement theming. If you want your coloring to react to the theme selection, you can apply your CSS properties with media queries.
dense sable
#

Thanks I will take a look at this