Skip to content
CShift0.32

Theme

Struct · namespace System.Ui · Since 0.32

struct Theme

The colors of a Ui: Theme.Light (the default) or Theme.Dark, or your own.

Name Description
Background The window.
Panel Panels.
Border The lines around controls and panels.
Text Text.
TextMuted Text that is less important (titles of panels, disabled things).
Control Buttons, the tracks of sliders and progress bars.
ControlHover Buttons and the like under the mouse.
ControlPressed Buttons and the like while they are pressed.
Accent Checked boxes, the filled part of sliders and progress bars, the selected item of a list.
AccentText Text and marks on the accent color.
Input The background of text boxes and scroll areas.
Focus The outline of the control that has the keyboard focus.
Selection Selected text, and list items under the mouse.
Color Background

The window.

Color Panel

Panels.

Color Border

The lines around controls and panels.

Color Text

Text.

Color TextMuted

Text that is less important (titles of panels, disabled things).

Color Control

Buttons, the tracks of sliders and progress bars.

Color ControlHover

Buttons and the like under the mouse.

Color ControlPressed

Buttons and the like while they are pressed.

Color Accent

Checked boxes, the filled part of sliders and progress bars, the selected item of a list.

Color AccentText

Text and marks on the accent color.

Color Input

The background of text boxes and scroll areas.

Color Focus

The outline of the control that has the keyboard focus.

Color Selection

Selected text, and list items under the mouse.

Name Description
Light Dark text on light gray (the default).
Dark Light text on dark gray.
static Theme Light()

Dark text on light gray (the default).

static Theme Dark()

Light text on dark gray.