Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move all component-specify style variables from @taskany/colors/harmony in each component of @taskany/bricks/harmony #924

Open
LamaEats opened this issue Mar 1, 2024 · 0 comments

Comments

@LamaEats
Copy link
Contributor

LamaEats commented Mar 1, 2024

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);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant