Skip to content

Named colours should be used #8

@groenroos

Description

@groenroos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedWorking on this issue is blocked, pending something elseno-impactNo impact or visible difference to the end user

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions