Skip to content

Brightness

Brightness #

Bases: Enum

Describes the contrast of a theme or color palette.

DARK = 'dark' #

The color is dark and will require a light text color to achieve readable contrast.

For example, the color might be dark grey, requiring white text.

LIGHT = 'light' #

The color is light and will require a dark text color to achieve readable contrast.

For example, the color might be bright white, requiring black text.