electrikhq / electrik

Electrik is a full-featured, open-source, starter-kit to help you build you your SaaS application.
https://electrik.dev
MIT License
242 stars 19 forks source link

Complete dark mode support in @electrikhq/slate #7

Open neerajsohal opened 1 year ago

neerajsohal commented 1 year ago

Dark mode needs to be checked and tested for each component in @electrikhq/slate.

KneesDev commented 1 month ago

Disabling support for dark mode would be great.

neerajsohal commented 4 weeks ago

Hi @KneesDev

You should be able to disable the dark mode by removing the darkMode key from the tailwind.config.js

Ref: https://tailwindcss.com/docs/dark-mode

KneesDev commented 4 weeks ago

Hi @KneesDev

You should be able to disable the dark mode by removing the darkMode key from the tailwind.config.js

Ref: https://tailwindcss.com/docs/dark-mode

The key doesn't exist, and dark mode is there in half of the pages even when using dark mode class config and removing dark: from the code. Half of the dark mode is hardcoded into the library.

neerajsohal commented 4 weeks ago

Hi, Please use on of the solutions provided here: https://stackoverflow.com/questions/75446831/how-disabled-dark-mode-in-tailwind-css