Skip to main content
HahlexMillarv0.1.0 Draft
OverviewDraftW3C DTCG 2025.1097/97 WCAG AA

Millar Design System

Official, product-agnostic design language for the Hahlex ecosystem. Compiled from one W3C DTCG 2025.10 Single Source of Truth into Shared Foundations, Photo-Free Marketing Visual Language, Accessible Product Components, and the Millar MCP Server.

97/97
WCAG AA Contrast Pairs
10
Product UI Primitives
6
Marketing Compositions
14
Code-Native Assets
11
MCP Tools + 66 Resources

Browse System Modules

Use the left navigation sidebar or jump directly into any foundation, marketing craft system, UI primitive, or AI resource.

Colors & ThemesFoundations
App-rooted Warm Sand, Bronze, Espresso, Hahlex Crimson & Data-Viz
Aa
Geist · Inter · MonoTiếng Việt không cắt dấu
TypographyFoundations
Geist Sans (300-600), Inter (Body/UI), Geist Mono + :lang(vi)
Brand & LogoFoundations
Canonical Vector Arch + 3 Pillars & Geist 600 wordmark
Icons (54)Foundations
Single 1.5px stroke semantic Lucide registry
Visual Assets (14)Marketing
Photo-free SVG, CSS, Canvas & React craft plates
Composition Patterns (6)Marketing
Editorial Split, Spatial Stage, Bento Mosaic, Poster, Grid, Loop
PrimaryWhiteDanger
ButtonComponents
7 semantic variants, async double-click guard, outlined dark danger
TokenRatio
--fg-default16.03:1
DataTable & FilterBarComponents
Zero-scrollbar tables, '-' empty cells, mobile cards
millar://guidelines/invariants
validate_design(register)
MCP Server & AgentsResources
11 read-only Tools, 66 millar:// Resources & 3 Prompts

Three-Tier Architecture & Register Boundaries

Millar architectural tiers and gradient/motion contracts
Tier / PackageRoleGradient PolicyMotion Profile
Shared Foundations (@hahlex/millar-tokens)Brand mark, Geist/Inter/Mono type, OKLCH palette, spacing, iconsForbiddenShared base curves + reduced-motion
Marketing Design (@hahlex/millar-marketing)6 Composition Patterns, 14 photo-free Visual Assets, 10 SectionsApproved Visual Assets only (WarmHorizonWash)Expressive (280-640ms, static-first)
Product/App UI (@hahlex/millar-ui)10 accessible UI primitives, DataTable, APG Tabs, AntD 6 adapterStrictly ForbiddenProductive (140-320ms crisp ease)
Domain Extension (@hahlex/millar-domain-education)Optional IELTS 4-skill badges & learner highlights (isolated from Core)Strictly ForbiddenInherits Product register

Quick Start

Install Millar tokens and UI primitives from the compiled Single Source of Truth.

globals.css & React usage
/* 1. Import generated Millar Tailwind v4 theme + tokens */
@import "tailwindcss";
@import "@hahlex/millar-tokens/tailwind";

/* 2. Consume accessible primitives */
import { Button, Badge, DataTable } from "@hahlex/millar-ui";
import { HahlexLockup, WarmHorizonWash } from "@hahlex/millar-marketing";