Han: A CSS Design System That Gives AI Agents a Sense of Chinese Aesthetics
Chinese-style web design usually collapses into red-and-gold kitsch or fake-antique clutter. Han provides a disciplined, tokenized alternative that works as a plain CSS import and as an AI agent skill, so both human developers and LLM-driven tools can produce pages with genuine cultural character instead of caricature.
Han packages the aesthetics of rice paper, ink wash, vermilion, and calligraphy into a drop-in CSS design system with 22 themes spanning dynastic, cultural, and contemporary palettes. It ships with components like seal buttons, scroll cards, and ink-wash navigation that avoid the clichéd red-and-gold overload common in Chinese-style web design. A scoped CSS variant prevents style pollution in existing projects, and the system includes dark mode, ARIA labels, and reduced-motion support.
The system doubles as an AI agent skill: a set of cultural decision rules lets an agent autonomously select a theme, judge visual intensity, and generate a page from a natural-language prompt. A developer can say "make a restrained Song-style landing page" without knowing theme IDs or component class names.
Live demos show the system applied to tea brands, beauty products, AI SaaS, specialty coffee, yoga studios, and even an Apple Mac-style product page — all carrying a distinct but understated Chinese aesthetic.
The system's real innovation is encoding cultural taste as machine-readable rules — a taboo list with percentage caps on gold and vermilion — so an AI agent doesn't just apply a theme but exercises restraint.
Scoped CSS is a pragmatic concession to real-world adoption: most teams won't adopt a design system that forces a global reset, so Han sidesteps the conflict entirely.
The live demos deliberately avoid traditional cultural subjects, showing the themes on coffee, yoga, and SaaS pages. This makes the case that Chinese aesthetics are a general-purpose design language, not a niche heritage format.