Enum Color
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
The color themes available in MudBlazor, allowing components to adapt their visual style based on the selected color.
public enum Color
- Extension Methods
Fields
Dark = 8
The dark color theme, usually used for dark mode or dark-themed elements.
Default = 0
The default color theme.
Error = 7
The error color theme, used to indicate errors or critical issues.
Info = 4
The info color theme, used to indicate informational messages.
Inherit = 10
Inherits the color from the parent element.
Primary = 1
The primary color theme, usually the main color used in the application.
Secondary = 2
The secondary color theme, often used for accents and highlights.
Success = 5
The success color theme, used to indicate successful operations.
Surface = 11
The surface color theme, typically used for the background or surface elements.
Tertiary = 3
The tertiary color theme, typically used for additional accents or highlights.
Transparent = 9
The transparent theme, making elements see-through.
Warning = 6
The warning color theme, used to indicate potential issues or warnings.