tremorlabs / tremor

React components to build charts and dashboards
https://npm.tremor.so
Apache License 2.0
16.21k stars 467 forks source link

disabling dark mode #923

Closed sinamfawork closed 10 months ago

sinamfawork commented 10 months ago

is there a way to disable dark mode for components?

mrichman commented 10 months ago

In your tailwind.config.{js,ts} do darkMode: "class" as a top level property. I just figured this out yesterday myself.

severinlandolt commented 10 months ago

Thank you @mrichman for jumping in. @sinamfawork If you need more context, checkout our theming section: https://www.tremor.so/docs/getting-started/theming#notes-on-dark-mode