Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.22 KB

File metadata and controls

29 lines (19 loc) · 1.22 KB

AGENTS.md

mCSS is a CSS framework (ITCSS-based) with an Astro 5 documentation site, component library, and blog built on top of it.

Build

Command Purpose
npm run dev Astro dev server
npm run build Production build

Stack: Astro 5, Preact, MDX, PostCSS. No test runner.

Critical Rule

CSS layer order in src/styles/_global.css is load-bearing. When adding any new CSS file, you must add its @import in the correct layer position in that file. See agents/css.md for the full layer order.

Formatting

  • 2 spaces in .astro / .js / .ts; 4 spaces in CSS (see .editorconfig).
  • Relative imports for Astro components (e.g. ../components/Name.astro).

Detail Files