Skip to content

five-on-it / apps/client/src/gui/theme / Theme

Interface: Theme ​

Defined in: apps/client/src/gui/theme.ts:59

The type and the spacing at the current window size (CSS pixels).

Properties ​

control ​

control: number

Defined in: apps/client/src/gui/theme.ts:68

A control's height (px): a button, a slot, a field.


family ​

family: string

Defined in: apps/client/src/gui/theme.ts:79

The font family.


font ​

font: number

Defined in: apps/client/src/gui/theme.ts:64

The body type's size (px).


height ​

height: number

Defined in: apps/client/src/gui/theme.ts:62


inset ​

inset: number

Defined in: apps/client/src/gui/theme.ts:72

The margin kept from the window's edges (px).


line ​

line: number

Defined in: apps/client/src/gui/theme.ts:66

A line of body type (px).


minimap ​

minimap: number

Defined in: apps/client/src/gui/theme.ts:77

The minimap's side (px): the phone stands above it.


radius ​

radius: number

Defined in: apps/client/src/gui/theme.ts:74

A card's and a small control's corner radius (px).


radiusSmall ​

radiusSmall: number

Defined in: apps/client/src/gui/theme.ts:75


space ​

space: readonly [number, number, number]

Defined in: apps/client/src/gui/theme.ts:70

The small, middle and large gaps (px).


width ​

width: number

Defined in: apps/client/src/gui/theme.ts:61

The canvas' size (CSS px).