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

Show CSS class definitions for colors #35

Open
M3t0r opened this issue Sep 22, 2024 · 0 comments
Open

Show CSS class definitions for colors #35

M3t0r opened this issue Sep 22, 2024 · 0 comments

Comments

@M3t0r
Copy link

M3t0r commented Sep 22, 2024

The colors page says:

We do not recommend including all colors on a production site. You should include only the color families and shades that you use.

But there is no easy way to get the definitions that you end up using. We could recommend CSS processors like PurgeCSS, but that would likely miss the audience of this framework. For theme colors there's the Version Picker, but I think that would be too involved to make for the colors bundle.

My immediate reaction was to scroll up to all the color swatches, click on the one I wanted to use, and look for the CSS declarations in the dialog that opened up. I expected it to be like a 4 line textbox with the color and background color class definitions that I could just copy-and-paste.

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