Skip to content

Fallback color when a given color (e.g. "bright" variants) are not available #49

@rootwork

Description

@rootwork

If I chain colors like so:

colors.green.greenBright

will it fall-back to "green" if "greenBright" isn't available?

I wanted to test this myself, but wasn't sure how to force-disable "brights" in my terminal.

If this isn't possible it would be a nice feature to consider. I'm wary of using the brights when setting colors on a project that's going to be used by others, because I don't know what will happen if it's not available.

Thanks for maintaining this great package!

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