element-theme
element-theme copied to clipboard
Variables that use colour() function can't be customised
As I was trying to customise the colours, I found using variables set using the color() function wouldn't inherit from the local scope of variables. So:
--color-base-black: color(var(--color-black) h(+6) s(33%) l(18%));
Will always use the #000 set to --color-black in theme-default/src/common/vars.css rather than whatever you set it to in your custom element-variables.css file.