Skip to content

Card header color is not themable with Sass variable #26571

Description

@andrewpucci

Since the .card-header background-color is able to be themed using $card-cap-bg, the color should also be themable, otherwise you're stuck with the default color for whatever style text you put there. This could lead to low contrast between the background and text color, like so:

image

This would ideally be reconciled by adding a new variable, but could perhaps be fixed by using the color-yiq function to automatically set the color based on the value for $card-cap-bg.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions