You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 interpretsrgba(var(...))
properly asTYPES.VAR
, that doesn't pass theborderColor.isValid
check. However, notablybackgroundColor.isValid
was functioning as desired. So it seems like the crux of the issue is that the border logic doesn't useparsers.parseColor
like the background logic does.This is largely speculation, though.
The text was updated successfully, but these errors were encountered: