Skip to content

Text colors for bg classes sometimes lack contrast #219

@wch

Description

@wch

Related to #129.

With the demo app using darkly, the text doesn't have enough contrast for some of the background colors:

image (4)

The https://bootswatch.com/darkly/ page has white text with these backgrounds:

image (5)

The white text in this case is specified by the text-white class, which is added in addition to the bg-info and similar classes.


Similarly, for Cerulean:

image

And from https://bootswatch.com/cerulean/:

image


One possibility is to add (for example) color: white for .bg-info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions