Skip to content

[Question] Would you be interested in a CSS variable theme distro'd through this repo? #1

@michaelwarren1106

Description

@michaelwarren1106

Taking a look at how all the "default CM6 themes are built with css-in-js approaches, it occurs to me that making a single css variable based theme would be WAY easier than rewriting all the boiler plate code for a css-in-js theme. If a generic theme was created with css vars as values instead of hardcoded hex codes, then changing theme colors would be as simple as setting css vars and no one would have to search to find some theme they wanted as a package, etc. Also, with css vars, a light/dark mode theme could be supported out of the box just by changing the css var values at runtime based on the mode or prefers-color-scheme settings etc.

Would this repo be a good place to create such a theme or do you think it should be its own repo/pkg?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions