FoundationsDraftDTCG 2025.1068 shown
@hahlex/millar-tokensDesign Tokens (W3C DTCG 2025.10)
Single Source of Truth token compiler outputting CSS custom properties, Tailwind CSS v4 @theme inline, literal Ant Design 6 mirrors, and machine-readable JSON for the Millar MCP Server.
| CSS Variable | Resolved Value | Category | Description |
|---|---|---|---|
| #ffffff | color | Main viewport canvas (Product default). | |
| #faf8f5 | color | Sidebar navigation rail surface. | |
| #ffffff | color | Default card, table, input, and dialog surface. | |
| #f9f5ef | color | Warm-sand inset surface for table headers, filter wells, and code blocks. | |
| #ffffff | color | Floating overlays, popovers, and dropdown menus. | |
| #f5efe6 | color | Interactive row, menu item, and control hover fill. | |
| #faf8f5 | color | Marketing editorial primary paper canvas anchored to App Warm Sand (#faf8f5). | |
| #faf3ea | color | Marketing alternating warm cream section canvas anchored to App --hah-cream (#faf3ea). | |
| #f2e6cd | color | Marketing warm sand feature card anchored to App --hah-sand (#f2e6cd). | |
| #1a130d | color | Marketing dark espresso showcase stage harmonized with App Charcoal (#2b1f16) and Espresso (#3d2a1c). | |
| #120c08 | color | Marketing deepest espresso backdrop/footer. | |
| #2a2018 | color | Card surface seated inside dark editorial stages. | |
| #2b1f16 | color | Primary heading & body ink (16.03:1 on white). | |
| #5f4f40 | color | Secondary prose, form labels, and table headers (7.84:1 on white). | |
| #715f4d | color | Captions, placeholders, and metadata (>= 5.33:1 across all light surfaces). | |
| #fafaf9 | color | High-contrast warm white ink on dark espresso stages anchored to App dark ink (17.8:1 AAA). | |
| #d6d3d1 | color | Muted warm stone prose on dark espresso stages anchored to App dark muted ink (12.3:1 AAA). | |
| #d6b48a | color | App Soft Sand (#d6b48a) brand highlight on dark espresso stages (9.6:1 AAA). | |
| #b3121b | color | Hahlex Crimson (#b3121b, App --hah-crimson) editorial accent for Marketing tension, pain metrics, quote marks, and Before/After friction (< 1.5% surface area; never for primary CTAs). | |
| #fcefee | color | Soft crimson callout wash anchored to App --status-error-soft (#fcefee). | |
| #f1c4c2 | color | Crisp 1px crimson callout border anchored to App --status-error-border (#f1c4c2). | |
| #f0857f | color | Hahlex Crimson highlight (#f0857f, App dark crimson) on dark espresso stages for tension stats and quote markers (7.8:1 AAA). | |
| #f3eee6 | color | Subtle internal row divider. | |
| #ebe3d7 | color | Canonical 1px warm-sand border. | |
| #b5a48e | color | Control hover/active border. | |
| #3e3128 | color | Hairline border inside dark editorial stages. | |
| #4a3022 | color | Primary CTA button fill (12.09:1 AAA with white label). | |
| #362218 | color | Primary CTA hover fill (15.01:1 AAA with white label). | |
| #4a3022 | color | Editorial primary CTA fill unified with App --hah-cta-brown (#4a3022, 12.09:1 AAA with white). | |
| #362218 | color | Editorial CTA hover fill unified with App --hah-cta-brown-hover (#362218, 15.01:1 AAA with white). | |
| #6b4d35 | color | High-contrast warm bronze CTA fill on always-dark espresso showcase stages (7.67:1 AAA with white). | |
| #ffffff | color | Ink on primary and editorial CTA buttons. | |
| #d6b48a | color | Theme-invariant soft sand chip fill. | |
| #362218 | color | Required ink on accent-soft chips and active toggles (7.69:1 AAA; fixes 1.00:1 dark toggle bug). | |
| #6b4d35 | color | Brand ink for links, active indicators, eyebrows, and icons on light surfaces. | |
| #4a3022 | color | Hover ink for brand links. | |
| #4a3022 | color | 2px high-contrast keyboard focus ring (>= 3:1 across all surfaces). | |
| #4f7a34 | color | Success text and solid status fill. | |
| #f1f6ea | color | Success soft wash. | |
| #cfe0bd | color | Success border. | |
| #4f7a34 | color | Solid success button fill. | |
| #ffffff | color | Ink on solid success button. | |
| #965a14 | color | Warning text and icon. | |
| #fdf4e6 | color | Warning soft wash. | |
| #f0d4a8 | color | Warning border. | |
| #b3121b | color | Error, destructive action, and problem metric ink. | |
| #fcefee | color | Error soft wash. | |
| #f1c4c2 | color | Error border. | |
| #a56b23 | color | Non-skill brand bronze indicator. | |
| #faf3ea | color | Brand soft wash for active nav & badges. | |
| #e4cbaf | color | Brand soft border. | |
| #6b4d35 | color | Brand badge foreground ink. | |
| #d1a068 | color | Sand indicator accent. | |
| #f2e6cd | color | Sand soft badge wash. | |
| #e4cbaf | color | Sand badge border. | |
| #6b4d35 | color | Sand badge foreground ink. | |
| #4f7d6e | color | Supporting sage category indicator. | |
| #eef5f2 | color | Sage soft wash. | |
| #c4dcd3 | color | Sage border. | |
| #3a6154 | color | Sage badge ink. | |
| #3d2a1c | color | Primary single-series data-viz fill. | |
| #938c87 | color | Neutral comparison series. | |
| #965eac | color | Multi-series slot 1 (Plum). | |
| #359d87 | color | Multi-series slot 2 (Teal). | |
| #304a96 | color | Multi-series slot 3 (Ink Blue). | |
| #d1a068 | color | Target guide ring. | |
| 0 1px 3px rgba(61, 42, 28, 0.06) | shadow | Warm-tinted whisper shadow for lifted cards. | |
| 0 1px 3px rgba(61, 42, 28, 0.10), 0 8px 24px rgba(61, 42, 28, 0.16) | shadow | Warm-tinted overlay elevation for popovers, menus, and dialogs. |
Tailwind v4 & Ant Design 6 Integration
Tailwind v4 uses @theme inline so scoped [data-theme='dark'] subtrees resolve dynamically; AntD 6 uses generated literal mirrors.
All 8 downstream output artifacts compile in one pass via pnpm run compile from tokens/millar.resolver.json.
Tailwind v4 & Ant Design 6 Integration
/* Tailwind CSS v4 (globals.css) */
@import "tailwindcss";
@import "@hahlex/millar-tokens/tailwind";
/* Ant Design 6 Theme Adapter (App.tsx) */
import { ConfigProvider } from "antd";
import { createMillarAntdTheme } from "@hahlex/millar-ui";
<ConfigProvider theme={createMillarAntdTheme("light")}>...</ConfigProvider>