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

Global Tailwind Config Override: Compile Time Env Value #20

Closed
wants to merge 1 commit into from

Conversation

nicoburniske
Copy link
Member

closes #12

The main idea here is to use env values inside .cargo/config.toml to override the tailwind prefix (TW_PREFIX) and separator (TW_SEPARATOR). This should be done at compile time using option_env! to avoid performance issues.

This is the cleanest way that I can think of, and allows users to use all the macros with minimal setup

Copy link

vercel bot commented Apr 12, 2024

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

Name Status Preview Updated (UTC)
tailwind-fuse ✅ Ready (Inspect) Visit Preview Apr 12, 2024 3:21pm

@nicoburniske nicoburniske changed the title Global Tailwind Config Override: compile time env value Global Tailwind Config Override: Compile Time Env Value Apr 12, 2024
@nicoburniske
Copy link
Member Author

Closed in favor of #21

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.

Tailwind class prefix support
1 participant