Class Palette
- Namespace
- PluginUI
- Assembly
- PluginUI.dll
Color palette of a theme.
public sealed record Palette : IEquatable<Palette>
- Inheritance
-
Palette
- Implements
- Inherited Members
Constructors
Palette(Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color)
Color palette of a theme.
public Palette(Color Background, Color Surface, Color SurfaceRaised, Color Border, Color Track, Color Accent, Color AccentAlt, Color Text, Color TextDim, Color TextDisabled, Color Warning, Color Danger, Color Success, Color Shadow, Color Focus, Color Selection, Color Hover)
Parameters
BackgroundColorSurfaceColorSurfaceRaisedColorBorderColorTrackColorAccentColorAccentAltColorTextColorTextDimColorTextDisabledColorWarningColorDangerColorSuccessColorShadowColorFocusColorSelectionColorHoverColor
Properties
Accent
public Color Accent { get; init; }
Property Value
AccentAlt
public Color AccentAlt { get; init; }
Property Value
Background
public Color Background { get; init; }
Property Value
Border
public Color Border { get; init; }
Property Value
Danger
public Color Danger { get; init; }
Property Value
Dark
Dark studio palette (default).
public static Palette Dark { get; }
Property Value
Focus
public Color Focus { get; init; }
Property Value
Hover
public Color Hover { get; init; }
Property Value
Light
Light palette.
public static Palette Light { get; }
Property Value
Selection
public Color Selection { get; init; }
Property Value
Shadow
public Color Shadow { get; init; }
Property Value
Success
public Color Success { get; init; }
Property Value
Surface
public Color Surface { get; init; }
Property Value
SurfaceRaised
public Color SurfaceRaised { get; init; }
Property Value
Text
public Color Text { get; init; }
Property Value
TextDim
public Color TextDim { get; init; }
Property Value
TextDisabled
public Color TextDisabled { get; init; }
Property Value
Track
public Color Track { get; init; }
Property Value
Warning
public Color Warning { get; init; }