electrik icon indicating copy to clipboard operation
electrik copied to clipboard

Complete dark mode support in @electrikhq/slate

Open neerajsohal opened this issue 3 years ago • 5 comments

neerajsohal avatar Nov 15 '22 13:11 neerajsohal

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

neerajsohal avatar Dec 23 '22 05:12 neerajsohal

Disabling support for dark mode would be great.

kneesdev avatar May 30 '24 05:05 kneesdev

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

neerajsohal avatar Jun 05 '24 06:06 neerajsohal

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.

kneesdev avatar Jun 05 '24 06:06 kneesdev

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

neerajsohal avatar Jun 05 '24 09:06 neerajsohal