Minimal, classless CSS framework with terminal aesthetics. pnpm monorepo.
packages/termcss/- The CSS library (published to npm)src/- Source CSS files (modular, imported bysrc/term.css)font.css- JetBrains Mono web font declarationsreset.css,base.css,components.css,accessibility.cssscrollbar.css,print.css,syntax.css
src/themes/- Theme files (CSS variable overrides only)scripts/- Build and theme generation scriptsdist/- Built output (git-ignored)test/- Visual test page
apps/docs/- Astro documentation siteplans/- Design and implementation docs
docs/plans/- Additional design and implementation docsscripts/- Root-level scripts (consistency checker)
pnpm install- Install all workspace dependenciespnpm build- Build CSS library + docspnpm build:css- Build only main CSSpnpm build:themes- Build only theme filespnpm dev- Start Astro docs dev serverpnpm check- Run consistency checks (themes, classes, README)pnpm changeset- Create a changeset for versioningpnpm release- Build and publish to npm via changesets
- All CSS variables prefixed with
--t- - All colors in OKLCH format
- Classless base styles via element selectors + optional
t-prefixed component classes - Only non-component class:
.skip-link(accessibility) - Themes override variables only, never structural CSS
- Lightning CSS handles bundling, minification, autoprefixing, OKLCH fallbacks
- Open
packages/termcss/test/index.htmlin a browser to visually verify all elements - Check contrast ratios when modifying color values (WCAG 2.1 AA: 4.5:1 normal, 3:1 large)