Tokens beta
Interface of @v12-engine/client
export interface TokensEvery variable of the interface's look, by its name without the --. Colours are CSS colours
Members
"accent-dim"
'accent-dim': string;The same, quieter: edges, scroll bars
"accent-foreground"
'accent-foreground': string;Text on a face of the accent's colour
"border-strong"
'border-strong': string;A stronger edge: what floats, what the pointer is over
"faint-foreground"
'faint-foreground': string;Fainter still: section labels, hints, what is off
"frame-face"
'frame-face': string;The face behind a frame of the HUD, under its texture: near black, a little of the skin's colour in it
"health-high"
'health-high': string;The color of a health bar that is nearly full
"health-low"
'health-low': string;The color of a health bar that is nearly empty
"health-mid"
'health-mid': string;The color of a health bar that is half full
"key-face-bottom"
'key-face-bottom': string;The lower end of the raised face of a command-card key
"key-face-mid"
'key-face-mid': string;The middle of the raised face of a command-card key
"key-face-top"
'key-face-top': string;The raised face of a key of the command card, from its lit top left to its dark bottom right...
"key-hover-bottom"
'key-hover-bottom': string;The lower end of a key's face under the pointer
"key-hover-mid"
'key-hover-mid': string;The middle of a key's face under the pointer
"key-hover-top"
'key-hover-top': string;...and under the pointer
"key-letter"
'key-letter': string;The colour of the keys written on the HUD's keys (Q, F1, M) and of what is ready to take: a point to learn, a level
"metal-dark"
'metal-dark': string;...and where it is in shadow (the foot of a plaque, the edge of a bar)
"metal-light"
'metal-light': string;The metal the HUD's frames are cast in, from where the light falls on it... (the edge inside a frame, the lit top of a plaque, a hero's name)
"muted-foreground"
'muted-foreground': string;Text that explains, and what is not to stand out
"panel-deep"
'panel-deep': string;...to its bottom, and the darkest of fields and buttons
"panel-raised"
'panel-raised': string;What stands out of a panel: a button under the pointer, a raised part
"stat-down"
'stat-down': string;The color of a stat that went down
"stat-up"
'stat-up': string;A stat that goes up, or down
"tone-defense"
'tone-defense': string;The color of a stat line about holding off blows (defense)
"tone-magic"
'tone-magic': string;The color of a stat line about magic damage (StatLine.tone magic)
"tone-physical"
'tone-physical': string;What a stat line is about, coloured so (StatLine.tone): physical damage, magic, holding off blows, holding off magic
"tone-resist"
'tone-resist': string;The color of a stat line about holding off magic (resist)
"typeface-display"
'typeface-display': string;Typefaces: of headings and titles, and of everything else
"typeface-mono"
'typeface-mono': string;Of numbers, keys and code
"typeface-text"
'typeface-text': string;The typeface of everything besides headings, numbers and code, as a CSS font family
accent
accent: string;What is picked, headings, what the pointer is over
background
background: string;Behind everything: the page
border
border: string;The edge of buttons and fields
danger
danger: string;What is wrong, and what is lost
edge
edge: string;The fine edge inside every panel
food
food: string;The color of the food (supply) in the HUD's resource bar
foreground
foreground: string;Text, and what is drawn on panels
gem
gem: string;The gem set in the HUD's metal: the one under the clock
gold
gold: string;The color of the gold in the HUD: the resource bar's chip and numbers
mana
mana: string;The color of the mana bar
metal
metal: string;...its body (a frame's border, the edge of a key)...
motion
motion: string;How much the interface moves: 1 as it is, 0 for no motion at all, 2 for twice as slow. A number, as a string
ornament
ornament: string;The shape of the ornament on a frame's corners, as a CSS clip-path (polygon(50% 0, 100% 50%, 50% 100%, 0 50%), a diamond), of a square pointing up and out of the corner. none for no ornament
panel
panel: string;The face of a panel, from its top...
progress
progress: string;The color of a progress bar: construction, training, research
radius
radius: string;How round corners are: 0px for the square ones of the classic RTS look
ring
ring: string;Around what has the keyboard
selected
selected: string;The edge of what is selected
shade
shade: string;The dark line around panels, and their shadow
success
success: string;What went well
texture
texture: string;The texture over a frame's face, as a CSS background image (a URL, a gradient, several of them), or none: the grain of leather, stone or bark
warning
warning: string;What may be wrong
xp
xp: string;The color of the experience bar