https://github.com/taskany-inc/colors/blob/main/harmony/dark.css#L105-L173
this must be place in {Component}.module.css like
:root {
--component-specify-var: var(--text-primary);
...
}
Also can make common variables in @taskany/color which determinate theme-based colors like
/* dark.css */
:root {
--primary-100: hsl();
...
--common-primary: var(--primary-100);
}
https://github.com/taskany-inc/colors/blob/main/harmony/dark.css#L105-L173
this must be place in
{Component}.module.csslikeAlso can make common variables in
@taskany/colorwhich determinate theme-based colors like