Skip to content

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

@LamaEats

Description

@LamaEats

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);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions