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
Is it possible to get dots working in the variable names? #39
Comments
Hi Sebastien, The variable syntax does not contain dots. Feel free to let me know if you have a specific use case for this. |
Hey Mert, Thanks for the quick response! Ok, I see – the use case was wanting to mimick the classes that Tailwind generates (that includes half sizes – e.g. Prior to finding your plugin, I was generating all these variables myself, and I was able to get this working by escaping the '.' like so: I actually tried generating them this way using your plugin, but found that the period simply gets ignored altogether. It's not a 'must-have' as I can find a way round it (I can simply write these variables manually somewhere), but thought it might make sense to add this in given that TW supports this with their classes. |
Thanks for explaining. This is very logical! Please wait for the next release. |
@mertasan brilliant, thank you! Looking forward to it, let me know if you need any further input. |
Please upgrade the plugin to ^2.5.0 🎉 |
@mertasan brilliant, thank you for getting that sorted so quickly! I'll give it a go tomorrow. |
Versions:
Question:
I'm trying to generate a variable name called --sizes-3.5 (and others like it – e.g. --sizes-0.5). Here's what I've tried:
The output however, ignores the '.' – so I just get:
--sizes-05, --sizes-35, etc.
I also tried escaping the dot, but no luck. Any ideas?
The text was updated successfully, but these errors were encountered: