element-theme icon indicating copy to clipboard operation
element-theme copied to clipboard

Variables that use colour() function can't be customised

Open richstandbrook opened this issue 7 years ago • 0 comments

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.

richstandbrook avatar Sep 29 '17 14:09 richstandbrook