feat: add OpenSpec specs and changes for ASW restructure
Specs: repo-structure, 10 framework layer specs, packs, site. Changes: repo-restructure (10 tasks), css-refactor (12 tasks), legacy-import (proposal + triage categories). Supersede docs/css-refactor-plan.md in favor of OpenSpec change. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ecfbed0374
commit
5bf233348d
21 changed files with 1110 additions and 0 deletions
32
openspec/specs/framework/charts/spec.md
Normal file
32
openspec/specs/framework/charts/spec.md
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Spec: Charts (Layer 09)
|
||||
|
||||
File: `src/layers/09-charts.css`
|
||||
|
||||
## Purpose
|
||||
|
||||
Data visualization using pure CSS and HTML tables. Inspired by Charts.css — uses `data-*` attributes to transform tables into visual charts.
|
||||
|
||||
## Scope
|
||||
|
||||
### In scope
|
||||
- Bar charts (horizontal and vertical)
|
||||
- Line charts
|
||||
- Area charts
|
||||
- Radial/gauge charts
|
||||
- Chart axes, labels, legends
|
||||
- Responsive chart sizing
|
||||
- Chart color schemes using design tokens
|
||||
|
||||
### Out of scope
|
||||
- JavaScript-powered charts
|
||||
- Interactive chart features (tooltips on hover are CSS-only)
|
||||
|
||||
## Lineage
|
||||
|
||||
Inspired by Charts.css `data-*` attribute pattern. Not a port — reimplemented for ASW's token system and semantic approach.
|
||||
|
||||
## Constraints
|
||||
|
||||
- References only semantic aliases from `01-tokens.css`
|
||||
- Charts must be readable without CSS (the underlying table has the data)
|
||||
- Color choices must work for colorblind users
|
||||
Loading…
Add table
Add a link
Reference in a new issue