Skip to content

[bug] rgb values, overlay tokens #126

@zeroedin

Description

@zeroedin

In rh-table we are using transparencies with various crayon tokens. Even though we try and avoid using crayons in components, we are using them there because they provide RGB values to which we can apply opacity.

We are also using #FFFFFF or --rh-color-white which does not provide RGB values. I have created a --_rh-color-white-rgb private var as a place holder for now.

Should we though ensure all base crayon colors have RGB values?

Do we think we should abstract these RGB values into overlay tokens which provide could provide additional semantic layer so they would be used in a component instead of the crayon? I envision some difficulty in abstracting the color values + opacity level in doing so to the name of the tokens.

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