When we put this into our setup it appears to reset the var(--color-primary) in some circumstances, breaking design output and reseting anything that uses it to an incorrect colour (as we use color-primary extensively, we've set it in our tailwind config).
It seems to be coming from this CSS in the add-on here:
@layer addon-theme {
:root, :host {
--color-primary: var(--theme-color-primary);
}
}
We could put a project specific fix in place, However, as I'd imagine that color-primary is a common var for a lot of setups, perhaps using something else more specific like --color-feedback-action or similar would elevate this without having to work around it.
When we put this into our setup it appears to reset the var(--color-primary) in some circumstances, breaking design output and reseting anything that uses it to an incorrect colour (as we use color-primary extensively, we've set it in our tailwind config).
It seems to be coming from this CSS in the add-on here:
@layer addon-theme {
:root, :host {
--color-primary: var(--theme-color-primary);
}
}
We could put a project specific fix in place, However, as I'd imagine that color-primary is a common var for a lot of setups, perhaps using something else more specific like --color-feedback-action or similar would elevate this without having to work around it.