Skip to content

Conversation

@hperchec
Copy link

Is your feature request related to a problem? Please describe.

Hello!
First, thank you for your work =)

I'm using your package to configure multi-theming in my project. But i want to customize the generated CSS class names and use special characters.

Describe the solution you'd like

I did a fork of your project and applied some modifications to make it possible! Also, i have migrated to tailwind v2!

The changes are:

  • support for special characters in theme name
  • plugin now accepts options (see below)
  • migrate to [email protected]

Plugin options:

Option Type Default value
themeClassPrefix string "theme-"

I have written tests and updated the README file to explain and to give some examples.

Additional context

Make your functional library more configurable / flexible is better than write similar libraries again and again.

Thank your for your time! Hope this PR can be helpful!

PS: sorry for my bad english ^^

@vercel
Copy link

vercel bot commented Dec 15, 2022

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

Name Status Preview Comments Updated (UTC)
tailwindcss-multi-theme ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2025 11:31pm

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.

1 participant