@alloysforge/kairo-88
v0.3.0
Published
Kairo 88 design system: Japanese 80s product aesthetic for Forge projects.
Maintainers
Readme
Kairo 88 Design System
Kairo 88 is a design system for digital products with a Japanese 80s aesthetic: precise, nocturnal, editorial, tactile interfaces inspired by city pop, consumer electronics, arcades, urban signage, and CRT displays.
The goal is not to turn every app into decorative nostalgia. The system should be useful first and memorable second: high readability, predictable components, consistent tokens, and visual details that create identity without getting in the way of daily use.
Core Idea
A modern product with the soul of an 80s Japanese electronic panel.
Users should feel that they are using a reliable, fast, beautiful tool with subtle period cues: neon contrast over an urban night base, fine lines, rigid grids, microtextures, technical typography, luminous states, and a palette that mixes paper, ink, glass, metal, and light.
Principles
Signal before ornament Every color, border, shadow, and animation should help readability, hierarchy, or feedback.
Grid as rhythm Layouts use strong alignment, predictable spacing, and controlled density. The reference is editorial and industrial, not decorative landing-page composition.
Nostalgia with precision The aesthetic comes from materials, light, typography, and proportion. Avoid decorative kanji, tourist cliches, or cultural elements without purpose.
Urban night, clear paper The system starts with an expressive dark mode and an editorial light mode. Both share the same tokens instead of becoming separate systems.
Tactile, not heavy Components may evoke buttons, displays, labels, and panels while staying lightweight, responsive, and accessible.
One library, many products The visual signature should survive dashboards, internal tools, websites, games, docs, and mobile apps without requiring a redesign per project.
Project Structure
- .storybook: Storybook configuration for documenting and testing the library.
- docs/atomic-design.md: organization by foundations, atoms, molecules, and organisms.
- docs/backgrounds.md: semantic background roles, texture rules, and accessibility requirements.
- docs/concept.md: concept, visual language, usage rules, and component direction.
- docs/design-options.md: official visual presets, including
systems-84,cyberpunk-1984, andneko-mirai-84. - docs/icons.md: icon direction, sizes, names, and usage rules.
- docs/motion.md: animation principles, durations, easing, and reusable patterns.
- docs/publishing.md: production publishing checklist for npm, releases, and Storybook Pages.
- docs/roadmap.md: recommended path for turning the concept into a real library.
- docs/storybook.md: how to use Storybook as the design system workbench.
- docs/testing.md: test strategy for tokens, CSS, icons, stories, and builds.
- tokens/kairo-88.tokens.json: initial semantic tokens in JSON.
- tokens/kairo-88.themes.json: semantic themes used to generate CSS.
- src/contracts/kairo.ts: typed source contract for themes, icons, and Storybook ordering.
- src/styles/kairo.css: public CSS entrypoint, organized with Atomic Design.
- src/icons/kairo-icons.svg: initial SVG sprite with functional icons.
- src/stories: stories for concept, tokens, components, icons, and motion.
- scripts/generate-css-tokens.ts: generates
src/styles/foundations/tokens.css. - examples/kairo-board.html: static showcase of the concept with switchable themes.
Storybook
Install dependencies and run:
npm install
npm run build
npm run storybookStorybook runs at http://localhost:6006 and includes a theme selector for midnight, systems-84, cyberpunk-1984, neko-mirai-84, daylight, arcade, and paper.
Component Gallery
These previews are rendered from the Storybook stories with the kairo-midnight theme.
| Buttons | Form fields and badges |
| --- | --- |
|
|
|
| Panel | Data table |
| --- | --- |
|
|
|
Tests
npm test
npm run test:cinpm test validates TypeScript, tokens, CSS, icons, and stories with Node's native test runner. npm run test:ci runs the suite and also builds Storybook.
Intended Usage
Install the package:
npm install @alloysforge/kairo-88Consumer projects should import the CSS tokens and set a theme attribute on the root element:
<html data-theme="kairo-midnight"><html data-theme="systems-84"><html data-theme="cyberpunk-1984"><html data-theme="neko-mirai-84">@import "@alloysforge/kairo-88/styles";The package exposes a typed contract, tokens, base CSS, and components through adapters without forcing every project to use the same framework.
