Skip to main content
All docs
V25.1
  • 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.

    #0f6cbd

    CoolBlue

    CoolBlue accent color.

    #2d7d9a

    Desert

    Desert accent color.

    #847545

    Mint

    Mint accent color.

    #018574

    Moss

    Moss accent color.

    #486860

    Orchid

    Orchid accent color.

    #c239b3

    Purple

    Purple accent color.

    #5b5fc7

    Rose

    Rose accent color.

    #ea005e

    Rust

    Rust accent color.

    #da3b01

    Steel

    Steel accent color.

    #68768a

    Storm

    Storm accent color.

    #4c4a48

    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