restructure: main.css is the manifest, 01-asw.css is the framework

- asw.css → main.css (just imports, no theming :root)
- 01-tokens.css → 01-asw.css (this IS the ASW design system)
- Removed empty :root {} theming block
- Updated deploy.sh PostCSS path
This commit is contained in:
Vigilio Desto 2026-04-10 19:27:39 +02:00
parent 5deaa22e38
commit bffb86338d
Signed by: vigilio
GPG key ID: 159D6AD58C8E55E9
3 changed files with 4 additions and 9 deletions

View file

@ -1,8 +1,8 @@
/**
* 01-tokens.css
* 01-asw.css
* ASW semantic layer builds on Open Props
*
* Open Props (imported below) provides the base scales:
* Open Props (imported in main.css) provides the base scales:
* --gray-015, --green-012, --blue-012, --red-012, --yellow-012
* --size-115, --font-size-08, --font-weight-19
* --font-lineheight-05, --radius-16, --shadow-16

View file

@ -11,7 +11,7 @@
/* 2. Framework layers */
@import "./layers/00-reset.css";
@import "./layers/01-tokens.css";
@import "./layers/01-asw.css";
@import "./layers/02-semantic.css";
@import "./layers/03-components.css";
@import "./layers/04-data-attrs.css";
@ -21,8 +21,3 @@
@import "./layers/08-layout.css";
@import "./layers/08a-paper.css";
@import "./layers/09-landing.css";
/* 3. ASW theme overrides — edit here to retheme */
:root {
/* Override Open Props primitives or ASW semantics here */
}

View file

@ -4,6 +4,6 @@ set -euo pipefail
cd ~/projects/asw
git pull origin main --ff-only
npm ci --prefer-offline 2>/dev/null
npx postcss assets/css/asw.css -o assets/css/asw-built.css
npx postcss assets/css/main.css -o assets/css/asw-built.css
hugo
echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] Deploy complete" >> /tmp/asw-deploy.log