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
I am trying to do some benchmarking with your library and noticed that there is an issue with specificity when combining different CSS classes like below.
This should have borderBottomColor as the borderColor, but it is transparent.
Environment
Does this command work? It outputs this:
npx: installed 1 in 3.159schMetadata: sill resolveWithNewModule [email protected] checking installable status
npx: installed 73 in 8.305s
I think this is different than the solutions related to #47. It is related to a global className specificity. What I meant was that BorderBottomColor should always overwrite borderColor.
Like your rulePrecedence.
Border has specificity 1
BorderColor has specificity 2
BorderBottomColor has specificity 3
Looking forward to your version 1 and 2.
Thank you again for taking the time to put this library together!
Description
Good morning Kripod!
I am trying to do some benchmarking with your library and noticed that there is an issue with specificity when combining different CSS classes like below.
This should have borderBottomColor as the borderColor, but it is transparent.
Environment
Does this command work? It outputs this:
npx: installed 1 in 3.159schMetadata: sill resolveWithNewModule [email protected] checking installable status
npx: installed 73 in 8.305s
"otion": "^0.6.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
The text was updated successfully, but these errors were encountered: