Agent-friendly by design
Humans and coding agents should be able to write a whole view from this document alone.
- Predictable markup. Plain semantic HTML gets the full look. No wrapper
divs or classes are needed for base elements. - One API per thing. Each layout primitive, utility or component has one documented class or attribute, tuned with custom properties, never with modifier classes. The API is written in a comment at the top of its CSS file.
- Paths are API.
css/domestic.cssand every file undercss/keep their paths. Renaming or moving a file is a breaking change (see Versioning). - No hidden JS behavior. CSS never depends on script. Any script an example uses is inline, short, and commented, or one of the documented web components.
- Our choice: class and attribute APIs over custom elements, because they work with any templating language and need no JavaScript. Custom elements are used only for behavior HTML cannot do, and enhance markup that already works without them.