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

feat: support custom dark mode selector #10

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

kainstar
Copy link
Contributor

@kainstar kainstar commented Jul 5, 2024

Description

Sometimes we develop application plugins, such as Figma, and the host environment provide a dark mode class .figma-dark that is different from .dark.
This PR provides an option to make the generated code adapt to these different dark mode selectors.

Linked Issues

Additional context

Copy link

vercel bot commented Jul 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unocss-preset-shadcn-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 5, 2024 3:28am

@hyoban
Copy link
Owner

hyoban commented Jul 5, 2024

LGTM, thanks for your contribution!

@hyoban hyoban merged commit d144e59 into hyoban:main Jul 5, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants