ColorClass¶
- class bootlace.style.ColorClass(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
EnumBootstrap color classes
Attributes Summary
Default foreground (color) and background, including components.
Danger state color, used for error messages and indicators.
Additional theme option for higher contrasting colors.
Info state color, used for informational messages and indicators.
Additional theme option for less contrasting colors.
Main theme color, used for hyperlinks, focus styles, and component and form active states.
Secondary theme color, used for secondary buttons and form elements.
Success state color, used for success messages and indicators.
Tertiary theme color, used for tertiary buttons and form elements.
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.