Kognai citizen

Design system

العربية

All values come from tokens/tokens.json and its CSS twin tokens/tokens.css. Switch the theme to see both.

Colour, light theme

bg: #fbf6ee
surface: #ffffff
surface-2: #f3eadd
text: #2a2420
text-muted: #5e534a
primary: #a3432a
on-primary: #ffffff
border: #e2d5c4
danger: #a8251c
success: #2f6b3a
focus: #1f5fbf

Colour, dark theme

bg: #1b1917
surface: #262321
surface-2: #302c29
text: #f5eee5
text-muted: #c2b6aa
primary: #e8906e
on-primary: #1b1917
border: #3d3732
danger: #ff8f85
success: #8fd19e
focus: #8ab4ff

Type

xs 12px: The citizen is ready

sm 14px: The citizen is ready

md 16px: The citizen is ready

lg 20px: The citizen is ready

xl 24px: The citizen is ready

xxl 32px: The citizen is ready

المواطن جاهز 1,250

Space and radius

space 1: 4px
space 2: 8px
space 3: 12px
space 4: 16px
space 5: 24px
space 6: 32px
space 7: 48px

radius sm: 6px radius md: 12px radius lg: 20px radius pill: 999px

Buttons

Fields and switches

Chat bubbles, tiles and chips

A message from the citizen.

A message from you.

TileMuted text
Chip1,250 credits

Citizen avatar component

Screens

All screens · First run · Lobby · Chat