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

Named colours should be used #8

Open
groenroos opened this issue Nov 7, 2019 · 0 comments
Open

Named colours should be used #8

groenroos opened this issue Nov 7, 2019 · 0 comments
Labels
blocked Working on this issue is blocked, pending something else no-impact No impact or visible difference to the end user

Comments

@groenroos
Copy link
Owner

The original Sass-based Bulma (mostly) uses named colours (such as white, whitesmoke, and black). For consistency, Bulma Stylus should follow suit.

Currently, Stylus automatically renders with the shortest HEX representation possible (e.g. #fff or #f5f5f5).

This could theoretically be fixed in post with stylelint enforcing the color-named rule they already have. However, their experimental --fix flag is not yet able to automatically convert to named colours. Once/if this functionality becomes available, this should be considered.

Until such time, there's little point in pursuing this, as the colours are identical, just represented differently.

@groenroos groenroos added no-impact No impact or visible difference to the end user blocked Working on this issue is blocked, pending something else labels Nov 7, 2019
@groenroos groenroos mentioned this issue Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Working on this issue is blocked, pending something else no-impact No impact or visible difference to the end user
Projects
None yet
Development

No branches or pull requests

1 participant