five-on-it / apps/client/src/gui/theme / Theme
Interface: Theme
Defined in: apps/client/src/gui/theme.ts:63
The type and the spacing at the current window size (CSS pixels).
Properties
control
control:
number
Defined in: apps/client/src/gui/theme.ts:72
A control's height (px): a button, a slot, a field.
family
family:
string
Defined in: apps/client/src/gui/theme.ts:83
The font family.
font
font:
number
Defined in: apps/client/src/gui/theme.ts:68
The body type's size (px).
height
height:
number
Defined in: apps/client/src/gui/theme.ts:66
inset
inset:
number
Defined in: apps/client/src/gui/theme.ts:76
The margin kept from the window's edges (px).
line
line:
number
Defined in: apps/client/src/gui/theme.ts:70
A line of body type (px).
minimap
minimap:
number
Defined in: apps/client/src/gui/theme.ts:81
The minimap's side (px): the phone stands above it.
radius
radius:
number
Defined in: apps/client/src/gui/theme.ts:78
A card's and a small control's corner radius (px).
radiusSmall
radiusSmall:
number
Defined in: apps/client/src/gui/theme.ts:79
space
space: readonly [
number,number,number]
Defined in: apps/client/src/gui/theme.ts:74
The small, middle and large gaps (px).
width
width:
number
Defined in: apps/client/src/gui/theme.ts:65
The canvas' size (CSS px).