five-on-it / apps/client/src/gui/theme / Theme
Interface: Theme
Defined in: apps/client/src/gui/theme.ts:64
The type and the spacing at the current window size (CSS pixels).
Properties
control
control:
number
Defined in: apps/client/src/gui/theme.ts:73
A control's height (px): a button, a slot, a field.
family
family:
string
Defined in: apps/client/src/gui/theme.ts:84
The font family.
font
font:
number
Defined in: apps/client/src/gui/theme.ts:69
The body type's size (px).
height
height:
number
Defined in: apps/client/src/gui/theme.ts:67
inset
inset:
number
Defined in: apps/client/src/gui/theme.ts:77
The margin kept from the window's edges (px).
line
line:
number
Defined in: apps/client/src/gui/theme.ts:71
A line of body type (px).
minimap
minimap:
number
Defined in: apps/client/src/gui/theme.ts:82
The minimap's side (px): the phone stands above it.
radius
radius:
number
Defined in: apps/client/src/gui/theme.ts:79
A card's and a small control's corner radius (px).
radiusSmall
radiusSmall:
number
Defined in: apps/client/src/gui/theme.ts:80
space
space: readonly [
number,number,number]
Defined in: apps/client/src/gui/theme.ts:75
The small, middle and large gaps (px).
width
width:
number
Defined in: apps/client/src/gui/theme.ts:66
The canvas' size (CSS px).