ThemeFluentAccentColor Enum
Lists predefined accent colors for Fluent themes.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v25.1.dll
NuGet Package: DevExpress.Blazor
Declaration
public enum ThemeFluentAccentColor
Members
Name | Description | Hex Value |
---|---|---|
Blue
|
Blue accent color. |
|
CoolBlue
|
CoolBlue accent color. |
|
Desert
|
Desert accent color. |
|
Mint
|
Mint accent color. |
|
Moss
|
Moss accent color. |
|
Orchid
|
Orchid accent color. |
|
Purple
|
Purple accent color. |
|
Rose
|
Rose accent color. |
|
Rust
|
Rust accent color. |
|
Steel
|
Steel accent color. |
|
Storm
|
Storm accent color. |
|
Related API Members
The following properties accept/return ThemeFluentAccentColor values:
Remarks
Use the ThemeFluentProperties.AccentColor option in a DxThemeFluent.Clone() method call to apply a predefined accent color to a Fluent theme.
<head>
@*...*@
@DxResourceManager.RegisterTheme(Themes.Fluent.Clone(properties => {
properties.Name = "Fluent Dark Purple";
properties.Mode = ThemeMode.Dark;
properties.AccentColor = ThemeFluentAccentColor.Purple;
}))
</head>
See Also