This document defines the visual language of Modulate product interfaces for web: color, typography, UI components, and principles of layout structure and interactive behavior.
This is the source of truth for color values in the palette. If a color in the design file differs slightly, consider using the value from here. If it differs significantly, it may be worth checking with the designer.
text
text-link
text-hover
text-caption
bg-accent
bg-hover
ui-error
ui-border
text-inverted
bg-surface
ui-control
background
Dark mode
text
text-link
text-hover
text-caption
bg-accent
bg-hover
ui-error
ui-border
text-inverted
bg-surface
ui-control
background
emotion-neutral-group
neutral, unknown
emotion-attack-rejection-group
angry, contemptuous, disgusted
emotion-threat-uncertainty-group
afraid, anxious, stressed, surprised, ashamed, frustrated
emotion-calm-grounded-group
calm, confident, interested
emotion-excited-engaged-group
affectionate, amused, excited, happy, hopeful, proud, relieved, curious
emotion-low-energy-negative-group
sad, disappointed, bored, tired, concerned, confused
Each variable stores a full color value, for example:
rgb(253, 47, 75). To apply transparency, use
color-mix() directly in selector properties — this keeps
the token list short and makes opacity intent explicit in the code.
var(--m__default-margin-bottom)) and no top margin. This
keeps vertical stacking predictable and makes it easy to top-align
elements placed side by side.
.m__space), not margins on content
elements. The idea behind this is that content elements can't know
what spacing is appropriate in every context — that's why the spacer
should be placed by whoever assembles the layout.
| Component | Sample | Tokens |
|---|---|---|
p |
High-performance API that transforms spoken audio into sharp, actionable insights: detecting fraud, surfacing social toxicity, and spotlighting positive human behavior with impressive speed and precision. |
|
strong |
High-performance API that transforms spoken audio into sharp, actionable insights: detecting fraud, surfacing social toxicity, and spotlighting positive human behavior with impressive speed and precision. |
|
a |
License: Proprietary |
|
code |
Authenticate via the |
|
h1 |
Modulate Platform API (0.1.0) |
|
h2 |
List all jobs associated with the account |
|
ul |
|
This section is a work in progress.
This section is a work in progress.
This section is a work in progress.