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

docs: add custom CSS variables guide #11

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kirklin
Copy link

@kirklin kirklin commented Jul 16, 2024

Description

Linked Issues

Additional context

Copy link

vercel bot commented Jul 16, 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 27, 2024 4:32pm

@hyoban
Copy link
Member

hyoban commented Jul 17, 2024

The more recommended way to customize your theme is https://github.com/hyoban/unocss-preset-shadcn/blob/55f63bfb8b9eeec34e117a3ec503f849f965d88e/test/generate.test.ts#L76-L141

We don't need to introduce how to write CSS files, we just need to introduce how to turn off CSS variable generation.

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