five-on-it / apps/client/src/gui/theme / COLOURS
Variable: COLOURS
constCOLOURS:object
Defined in: apps/client/src/gui/theme.ts:16
The colours, by role (CSS colour strings the GUI's canvas draws with): the web UI's palette's values (theme/theme.ts), so the game's panels and the pages always match.
Type Declaration
accent
readonlyaccent:"#ff8c1a"=PALETTE.primary
The game's accent (a carjack, a selected slot).
bg
readonlybg:"rgba(11, 14, 20, 0.74)"=PALETTE.overlay
A panel's background.
bgDense
readonlybgDense:"rgba(11, 14, 20, 0.88)"=PALETTE.overlayDense
A denser background (the phone, a field).
blue
readonlyblue:"#6ab0ff"=PALETTE.secondary
A phone message.
button
readonlybutton:"rgba(207, 216, 227, 0.1)"=PALETTE.control
A button.
buttonHover
readonlybuttonHover:"rgba(207, 216, 227, 0.22)"=PALETTE.controlHoverStrong
A button under the pointer.
clear
readonlyclear:"transparent"='transparent'
Nothing: a box that only groups (never drawn).
cyan
readonlycyan:"#4ad8ff"=PALETTE.tertiary
The phone's own colour.
danger
readonlydanger:"#ff8a7a"=PALETTE.onErrorContainer
Locked.
dangerLine
readonlydangerLine:"#e05a4a"=PALETTE.errorLine
A locked thing's border.
dim
readonlydim:"rgba(207, 216, 227, 0.65)"=PALETTE.textMedium
Secondary text.
fg
readonlyfg:"#cfd8e3"=PALETTE.textHigh
Text.
gold
readonlygold:"#ffd84a"=PALETTE.warning
A mission's title, a race.
green
readonlygreen:"#6ad38a"=PALETTE.success
Done, paid, answered.
ink
readonlyink:"#000000"=PALETTE.ink
The phone's unread badge's text.
line
readonlyline:"rgba(207, 216, 227, 0.22)"=PALETTE.outline
A thin border.
lineStrong
readonlylineStrong:"rgba(207, 216, 227, 0.4)"=PALETTE.outlineStrong
A border that stands out.
note
readonlynote:"#ffb36a"=PALETTE.note
What a screen answered.
price
readonlyprice:"#8fd18f"=PALETTE.price
A shop's price.
red
readonlyred:"#ff5a4f"=PALETTE.error
Failed, late.