Field notes / 03
Your palette. Same pulse.
Kosh brings the behavior. Your product brings the character. CSS variables are the meeting point.
.your-scope {
--k-ink: #20241f;
--k-signal: #a52b12;
--k-ring-track: #bcb4d0;
background: #dcd7f2;
}Start with the shared tokens.
The default palette lives in src/kosh/motion/tokens.css. Override variables on :root for the whole app, or on a wrapper for one region.
--k-inkPrimary text and data.--k-ink-2Secondary text and muted data.--k-signalThe accent that draws attention to a change.--k-surfaceRaised surfaces and control backgrounds.--k-lineQuiet dividers and structural marks.The site’s original signal orange is intended for fills and large text. Use --k-signal-deep, or your own tested darker accent, for small text on light backgrounds.
Keep the details local.
Each component exposes a few specific hooks. The ring’s track can change without recoloring your charts; a heatmap can have its own intensity ramp.
.progress-panel {
--k-ring-track: #b1c5a9;
}
.activity-panel {
--k-level-1: #dce8d7;
--k-level-2: #b1c5a9;
--k-level-3: #6d9062;
--k-level-4: #315e46;
}Find the supported hooks under Props on each component’s reference page.
Use tone to set emphasis.
Every component accepts tone="ink", tone="signal", or tone="muted". These choose a role in the palette; component-specific states can still carry their own meaning.
<FlowNumber data={128} tone="ink" />
<FlowNumber data={17} tone="signal" />
<FlowNumber data={42} tone="muted" />Keep direction, units, and labels readable without color. Test your theme in all three motion modes and at the actual text sizes your product uses.