Skip to content

defineTheme

defineTheme(theme): Theme

Defined in: packages/theme/dist/theme-BFS484ei.d.mts:146

Defines a theme.

The (partial) theme.

(a) => string

(a) => string

{ }

(a) => string

(a) => string

{ }

{ default?: string; highlight?: string; inactive?: string; input?: string; message?: string; placeholder?: string; prefix?: string; selected?: string; }

{ }

{ bold?: string; italic?: string; underline?: string; }

Optional styles.

{ }

{ cursor: string; error: string; fatal: string; info?: string; success: string; warning: string; }

Set of symbols for logging.

string

A cursor symbol, used in things like search and select.

string

Error message symbol.

string

Fatal error message symbol.

string

Information message symbol.

string

Success message symbol.

string

Warning message symbol.

{ }

Theme

The theme, merged with the default theme.