tailvue icon indicating copy to clipboard operation
tailvue copied to clipboard

Feature request: Add an option to disable darkmode

Open mukundshah opened this issue 3 years ago • 2 comments

Since the tailvue components are using dark: modifiers for dark mode, it will be eventually use even if the website or app itself is not using dark mode. Therefore, it becomes sometimes quite annoying to have it there.

Hence an option to make dark mode optional will be really helpful. I will also look into it if I can do something.

mukundshah avatar Mar 08 '23 11:03 mukundshah

I would also need to disable darkmode. By default it runs within darkmode even I haven't setup it in my project.

Draccano avatar Apr 10 '23 11:04 Draccano

@mukundshah as temporary solution I put this snippet to global css

#toasts > div > div > div {
  @apply relative w-full bg-white  shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden;
}
#toasts > div > div > div > div:first-child {
  @apply absolute left-0 bottom-0 right-0 h-1 rounded bg-gray-200;
}

Draccano avatar Apr 10 '23 12:04 Draccano