Table of Contents

Class PaletteColor

Namespace
BlazOrbit.Components
Assembly
BlazOrbit.Core.dll

Strongly-typed accessor for a palette CSS custom property. Implicitly converts to a var(--palette-*) reference for direct use in CSS values.

public sealed class PaletteColor
Inheritance
object
PaletteColor

Properties

Background

var(--palette-background).

public static PaletteColor Background { get; }

Property Value

PaletteColor

BackgroundContrast

var(--palette-background-contrast).

public static PaletteColor BackgroundContrast { get; }

Property Value

PaletteColor

Border

var(--palette-border).

public static PaletteColor Border { get; }

Property Value

PaletteColor

Error

var(--palette-error).

public static PaletteColor Error { get; }

Property Value

PaletteColor

ErrorContrast

var(--palette-error-contrast).

public static PaletteColor ErrorContrast { get; }

Property Value

PaletteColor

Highlight

var(--palette-highlight).

public static PaletteColor Highlight { get; }

Property Value

PaletteColor

Info

var(--palette-info).

public static PaletteColor Info { get; }

Property Value

PaletteColor

InfoContrast

var(--palette-info-contrast).

public static PaletteColor InfoContrast { get; }

Property Value

PaletteColor

Primary

var(--palette-primary).

public static PaletteColor Primary { get; }

Property Value

PaletteColor

PrimaryContrast

var(--palette-primary-contrast).

public static PaletteColor PrimaryContrast { get; }

Property Value

PaletteColor

Secondary

var(--palette-secondary).

public static PaletteColor Secondary { get; }

Property Value

PaletteColor

SecondaryContrast

var(--palette-secondary-contrast).

public static PaletteColor SecondaryContrast { get; }

Property Value

PaletteColor

Shadow

var(--palette-shadow).

public static PaletteColor Shadow { get; }

Property Value

PaletteColor

Success

var(--palette-success).

public static PaletteColor Success { get; }

Property Value

PaletteColor

SuccessContrast

var(--palette-success-contrast).

public static PaletteColor SuccessContrast { get; }

Property Value

PaletteColor

Surface

var(--palette-surface).

public static PaletteColor Surface { get; }

Property Value

PaletteColor

SurfaceContrast

var(--palette-surface-contrast).

public static PaletteColor SurfaceContrast { get; }

Property Value

PaletteColor

Warning

var(--palette-warning).

public static PaletteColor Warning { get; }

Property Value

PaletteColor

WarningContrast

var(--palette-warning-contrast).

public static PaletteColor WarningContrast { get; }

Property Value

PaletteColor

Methods

ToString()

public override string ToString()

Returns

string

Operators

implicit operator string(PaletteColor)

Implicit conversion to a CSS var(...) reference.

public static implicit operator string(PaletteColor p)

Parameters

p PaletteColor

Returns

string