railwind
railwind copied to clipboard
"shadow-color/percentage" doesn't seem to work
It seems that using shadow-color without opacity works, eg:
shadow-blue-900
However if you try to add an opacity modifier it can't find the matching class, eg:
shadow-blue-900/10
I get this message when I try to do it:
Warning on Line: 38, Col: 100 in file: ''; Could not match class 'shadow-blue-900/10', argument 'blue-900/10' could not be found
This is a small detail, it will use the color #1e3a8a10 instead of #1e3a8a for the value blue-900/10,.
We usually do it this way instead of using blue-100, because low opacity shadows usually look better.
I'd love to find a way to fix it myself, but I'm not sure if I have enough experience.
Hi! Thanks for the bug report! It's possible I overlooked this feature and forgot to implement it. I'm currently working on redoing the parsing using nom
. I'll keep this in mind.