ElementUI / element-theme

Theme generator cli tool for Element.
MIT License
492 stars 142 forks source link

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

Open richstandbrook opened 6 years ago

richstandbrook commented 6 years ago

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.