ColorClass

class bootlace.style.ColorClass(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

Bootstrap color classes

Attributes Summary

BODY

Default foreground (color) and background, including components.

DANGER

Danger state color, used for error messages and indicators.

DARK

Additional theme option for higher contrasting colors.

INFO

Info state color, used for informational messages and indicators.

LIGHT

Additional theme option for less contrasting colors.

PRIMARY

Main theme color, used for hyperlinks, focus styles, and component and form active states.

SECONDARY

Secondary theme color, used for secondary buttons and form elements.

SUCCESS

Success state color, used for success messages and indicators.

TERTIARY

Tertiary theme color, used for tertiary buttons and form elements.

WARNING

Warning state color, used for warning messages and indicators.

Attributes Documentation

BODY = None

Default foreground (color) and background, including components.

DANGER = 'danger'

Danger state color, used for error messages and indicators.

DARK = 'dark'

Additional theme option for higher contrasting colors.

INFO = 'info'

Info state color, used for informational messages and indicators.

LIGHT = 'light'

Additional theme option for less contrasting colors.

PRIMARY = 'primary'

Main theme color, used for hyperlinks, focus styles, and component and form active states.

SECONDARY = 'secondary'

Secondary theme color, used for secondary buttons and form elements.

SUCCESS = 'success'

Success state color, used for success messages and indicators.

TERTIARY = 'tertiary'

Tertiary theme color, used for tertiary buttons and form elements.

WARNING = 'warning'

Warning state color, used for warning messages and indicators.