asw-v01: framework core, native tokens, templates, archive deferral

This commit is contained in:
H.M. Murdock 2026-06-07 10:52:31 +02:00
parent 0d1d75a22f
commit 9651dd5515
Signed by: murdock
GPG key ID: ABE295FFEB4571F8
3 changed files with 280 additions and 2 deletions

53
CHANGELOG.md Normal file
View file

@ -0,0 +1,53 @@
# Changelog
All notable changes to ASW — Agentic Semantic Web.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
---
## [0.1] — 2026-06-07
### Breaking
- **Dropped OpenProps dependency.** Removed `@import "open-props/..."` from all source files. Removed `open-props` and `postcss-import` from `package.json`. ASW v0.1 is a standalone, dependency-free CSS framework.
### Added
- **Native CSS token system** (`src/tokens.css`) — ~40 hand-authored `--asw-*` custom properties using native `oklch()` colors. Replaces the entire OpenProps foundation with zero external dependencies. ~4KB gzipped. Includes custom media query breakpoints (`--sm-n-above`, `--md-n-above`, `--lg-n-above`, `--xl-n-above`, `--xxl-n-above`, `--motionOK`, `--nav-compact`, `--docs-toc-hidden`, `--compact`).
- **`data-layout` flexbox layout system** — declarative layout via HTML attributes. Values: `row`, `col`, `stack`, `spread`, `center`, `hero`, `card-grid`, `stats`, `install`, `actions`, `docs`, `prose`, `prev-next`. Responsive breakpoint at 640px.
- **5 reference templates** (`templates/`):
- `index.html` — Landing/hero page with feature cards
- `docs.html` — Documentation layout with sidebar + content + TOC
- `article.html` — Long-form prose with code blocks and blockquotes
- `dashboard.html` — Stats grid with status indicators
- `tasks.html` — Task vault with `data-task` attributes
- All templates use zero CSS class attributes — pure semantic HTML and `data-layout` primitives.
### Changed
- **Architecture:** Framework now loads via a single `src/tokens.css` file + 12 layer files (0012) concatenated at build time. No CSS `@import` chain needed in production — consumers link one file.
- **Token model:** All color values migrated to native `oklch()` with semantic naming (`--asw-text-1`, `--asw-surface-1`, `--asw-brand`, etc.). Minor perceptual differences from OpenProps values are accepted as the new baseline.
- **Build pipeline:** Simplified to `npm run build` — cats layers then minifies via PostCSS + cssnano. No `postcss-import` step needed.
### Removed
- OpenProps dependency (`open-props` from `package.json`)
- `postcss-import` from `postcss.config.js` and `package.json`
- SSI-based example pages (moved to `archive/examples-legacy/`)
- Experimental packs moved to `archive/packs/`
- Hugo site source moved to `archive/site/`
- Lab content moved to `archive/lab/`
### Fixed
- Build concatenation no longer includes `01-tokens.css` (tokens are in `tokens.css` at the root of `src/`)
- Keyframe naming conflicts resolved
### Internal
- `AGENTS.md` structural identity file added
- `CATALOG.md` updated with description field and cleaned up metadata
[0.1]: https://github.com/trentuna/asw/releases/tag/v0.1