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
{{ message }}
This repository was archived by the owner on Feb 18, 2022. It is now read-only.
I want to override custom properties used in a third-party library.
I tried to do that with importFrom. But I was surprised to see that the variables were not overridden.
Inside this library, one of the components contains the following css rules:
Thank you for this great plugin.
I want to override custom properties used in a third-party library.
I tried to do that with
importFrom. But I was surprised to see that the variables were not overridden.Inside this library, one of the components contains the following css rules:
I configure the following options:
I expect the border-radius to be 100px.
But it remains 4px.
In source code I saw that variables from root have priority over variables from importFrom. Is this correct behavior?
In my opinion, the variables from importFrom should have the maximum priority.
I think those lines should be switched:
https://github.com/postcss/postcss-custom-properties/blob/master/src/index.js#L31
https://github.com/postcss/postcss-custom-properties/blob/master/src/index.js#L32