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

"shadow-color/percentage" doesn't seem to work #40

Open
daviareias opened this issue Apr 23, 2023 · 1 comment
Open

"shadow-color/percentage" doesn't seem to work #40

daviareias opened this issue Apr 23, 2023 · 1 comment

Comments

@daviareias
Copy link

daviareias commented Apr 23, 2023

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.

@pintariching
Copy link
Owner

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.

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

No branches or pull requests

2 participants