Enum ColorRole
- Namespace
- SharpConsoleUI.Themes
- Assembly
- SharpConsoleUI.dll
Semantic colour role a control can adopt. Default means the control uses its
normal colour-resolution path (no role); the other values map to theme seed colours and are
resolved to a coordinated colour set by ColorRoleResolver.
public enum ColorRole
- Extension Methods
Fields
Danger = 7Danger / error (red).
Default = 0No role — the control resolves colours as it normally would.
Info = 4Informational (cyan/blue).
Primary = 1The main accent role (borders, primary buttons).
Secondary = 2A secondary accent (e.g. cancel buttons).
Success = 5Success (green).
Tertiary = 3A tertiary accent.
Warning = 6Warning (amber).