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

Using border-color + var() doesn't work #184

Open
bawjensen opened this issue Feb 3, 2025 · 0 comments
Open

Using border-color + var() doesn't work #184

bawjensen opened this issue Feb 3, 2025 · 0 comments

Comments

@bawjensen
Copy link

After recent changes such as #179, I wanted to see if it was possible to remove a hacky patch we've got on cssstyle. However, seems like it's not fully fixed, because while the parser interprets rgba(var(...)) properly as TYPES.VAR, that doesn't pass the borderColor.isValid check. However, notably backgroundColor.isValid was functioning as desired. So it seems like the crux of the issue is that the border logic doesn't use parsers.parseColor like the background logic does.

This is largely speculation, though.

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

1 participant