Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add an option to disable darkmode #23

Open
mukundshah opened this issue Mar 8, 2023 · 2 comments
Open

Feature request: Add an option to disable darkmode #23

mukundshah opened this issue Mar 8, 2023 · 2 comments

Comments

@mukundshah
Copy link
Contributor

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.

@Draccano
Copy link

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

@Draccano
Copy link

@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;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants