# Qualia Design > Qualia's brand and design system: the brand, logo and voice, the design tokens (colour, type, surfaces, spacing, motion, icons, syntax) and the Svelte components of `@qualia-studios/design-ui` 0.2.0. Every page below is markdown converted from the guide's own HTML at build; the data files are read from the package's sources. Use the tokens' CSS custom properties in code (`var(--q-text)`), never their resolved values; the values in tokens.json are for tools that cannot read CSS. The site's top bar has a Copy prompt button with the same brief as https://q-core-3b2732.gitlab.io/prompt.txt. ## Brand - [Brand](https://q-core-3b2732.gitlab.io/index.html.md) - [System](https://q-core-3b2732.gitlab.io/system.md): A parametric design system for a robotic foundation model platform. A few parameters make every colour, a few primitives make every component, and one package, @qualia-studios/design-ui, carries them to every surface we ship. - [Logo](https://q-core-3b2732.gitlab.io/logo.md): The hand-drawn spiral and the Karla wordmark beside it, the same in every product: the app, the landing, the docs and this guide. - [Voice](https://q-core-3b2732.gitlab.io/voice.md): Qualia says what it did, to which recording, and how well. Plain words, short sentences, a number where there is one. ## Tokens - [Colors](https://q-core-3b2732.gitlab.io/tokens/colors.md): Eight tones × eleven shades, built in OKLCH for perceptual uniformity. - [Typography](https://q-core-3b2732.gitlab.io/tokens/typography.md): The root is 15px (1rem). The app draws three sizes a major third apart: 12px, 15px and 18.75px; nothing is smaller than 12px. xl to 4xl are fluid, for the docs and the landing. Five faces, one job each, and roles that name a face, size, weight, leading and tracking together; components take a role. - [Surfaces](https://q-core-3b2732.gitlab.io/tokens/surfaces.md): Every neutral background and foreground composes oklch(shade × var(--q-surface-tone)). Surfaces are named by role, not faux-depth, and the ladder runs in real ~0.05 lightness steps — going lighter in both themes (not inverted in dark) — so adjacent surfaces separate on tone alone, no border needed. An app warms its whole context with one knob: --q-surface-tone: var(--q-tinted). Shadows are reserved for layers that actually float (menus, popovers, toasts); everything inline stays flat. - [Spacing](https://q-core-3b2732.gitlab.io/tokens/spacing.md): Spatial rhythm, border radius, and layering conventions that keep the interface consistent. - [Animations](https://q-core-3b2732.gitlab.io/tokens/animations.md): Four motion primitives that cover loading, entrance, and attention patterns. Each is tuned for subtlety — motion supports the interface without drawing focus from content. - [Icons](https://q-core-3b2732.gitlab.io/tokens/icons.md): Every icon an app names, drawn from Phosphor at the regular weight. Code asks for one by name through iconRegistry (q-design-ui/icons) and draws it with the Icon component; a name not listed here is added to the registry, not imported ad hoc. - [Syntax](https://q-core-3b2732.gitlab.io/tokens/syntax.md): Code is mostly ink. Plain text, names and calls take the neutral inks, punctuation steps back, comments recede further; colour marks only what a reader scans for, in the semantic tones' low chroma, with the accent on keywords alone. Every role sits on the theme's ramp, so it flips with light and dark, follows the contrast setting, and reads at AA on the code surface (the base text at AAA). ## Components - [Components](https://q-core-3b2732.gitlab.io/components.md): The primitives every Qualia app is built from, each on its role tokens: buttons and fields that act, surfaces that hold, messages and chips that tell. Each has a page of its own with its states and when to reach for it; pick one here or from the contents on the right. - [Button](https://q-core-3b2732.gitlab.io/components/button.md): The action trigger, in four sizes, a tone and a variant. - [SplitButton](https://q-core-3b2732.gitlab.io/components/splitbutton.md): The action the moment calls for is the button; the others are in the caret's menu. The caller picks the default and the button never changes what a click does without its label saying so. - [ToggleGroup](https://q-core-3b2732.gitlab.io/components/togglegroup.md): A single-select group of options with radiogroup semantics. - [UnderlineTabs](https://q-core-3b2732.gitlab.io/components/underlinetabs.md): A row of tabs with a sliding accent underline. - [Input](https://q-core-3b2732.gitlab.io/components/input.md): A text field with prefix and suffix addons and validation states. - [Textarea](https://q-core-3b2732.gitlab.io/components/textarea.md): A multi-line text field with resize control and validation. - [Select](https://q-core-3b2732.gitlab.io/components/select.md): A single-choice dropdown with combobox and listbox semantics. - [Checkbox](https://q-core-3b2732.gitlab.io/components/checkbox.md): The native checkbox with a styled box, a check icon and an indeterminate state. - [Theme widget](https://q-core-3b2732.gitlab.io/components/themewidget.md): One hue moves the accent and the background tint together; the button fill is solved per hue so its text stays at AA. Contrast softens or strengthens borders, fills and text around a fixed panel and card: AA at least, AAA at max. - [StatusChip](https://q-core-3b2732.gitlab.io/components/statuschip.md): The one status pill: it carries a state, never data. - [Badge](https://q-core-3b2732.gitlab.io/components/badge.md): A compact label for a status, a count or a category. - [Message](https://q-core-3b2732.gitlab.io/components/message.md): An inline message toned by severity, for alerts and context. - [Meter](https://q-core-3b2732.gitlab.io/components/meter.md): A labelled progress bar for a bounded quantity. - [Dialog](https://q-core-3b2732.gitlab.io/components/dialog.md): The one modal: a titled raised surface with a close button, over a blurred page. - [Popover](https://q-core-3b2732.gitlab.io/components/popover.md): A floating panel anchored to its trigger, on the native popover attribute. - [Tooltip](https://q-core-3b2732.gitlab.io/components/tooltip.md): This component renders the tooltip content only. The hover/focus trigger is {@attach tooltip(text)} from q-design-ui/attachments/tooltip; the component owns the look, the attachment owns the behavior. Never use the native title attribute. - [Card](https://q-core-3b2732.gitlab.io/components/card.md): A contained surface for grouped content, with an optional cover, header and footer. - [Separator](https://q-core-3b2732.gitlab.io/components/separator.md): A horizontal or vertical divider between content. - [ScrollArea](https://q-core-3b2732.gitlab.io/components/scrollarea.md): A clipped container with the styled native scrollbar. - [Icon](https://q-core-3b2732.gitlab.io/components/icon.md): The Icon wrapper draws a Phosphor icon at a size, a tone and a weight. Phosphor ships six weights and we default to regular for its balance of legibility and density. Which icons there are, and their names, is a token: see Icons. ## Data - [tokens.json](https://q-core-3b2732.gitlab.io/tokens.json): every token resolved, per theme (hex and oklch) - [css/colors.css](https://q-core-3b2732.gitlab.io/css/colors.css): the palette (generated) - [css/tokens.css](https://q-core-3b2732.gitlab.io/css/tokens.css): the roles apps read; imports primitives.css - [css/primitives.css](https://q-core-3b2732.gitlab.io/css/primitives.css): faces, type, space and radius scales - [css/fonts.css](https://q-core-3b2732.gitlab.io/css/fonts.css): the @font-face rules; the files are in /fonts/ - [css/typography.css](https://q-core-3b2732.gitlab.io/css/typography.css): element defaults and the 15px root - [assets/mark.svg](https://q-core-3b2732.gitlab.io/assets/mark.svg): the mark, the bold drawing for small sizes - [assets/mark-fine.png](https://q-core-3b2732.gitlab.io/assets/mark-fine.png): the original thin drawing, for large sizes ## Optional - [llms-full.txt](https://q-core-3b2732.gitlab.io/llms-full.txt): every page above in one file - [prompt.txt](https://q-core-3b2732.gitlab.io/prompt.txt): the brand in brief, for a system prompt - [SKILL.md](https://q-core-3b2732.gitlab.io/skills/qualia-design/SKILL.md): the same as a skill, for agents that load them