Skip to content

[Docs] Use consistent casing when outputting hex values #5287

@cchaos

Description

@cchaos

I noticed that all the hex colors for CSS-in-JS are in uppercase:

Screenshot 2021-10-20 at 13 45 55

For Sass they're in lowercase:

Screenshot 2021-10-20 at 13 45 48

In the "Global values" page, the hex values are also in uppercase:

Screenshot 2021-10-20 at 13 48 33

But in "Theme provider" page they're in lowercase:

Screenshot 2021-10-20 at 13 48 23

Should we only stick to one letter case? If I had to choose I would prefer the lowercase. I think it has better readability.

Originally posted by @miukimiu in #5283 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationIssues or PRs that only affect documentation - will not need changelog entriesgood first issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions