From bffb86338d1263dc81e44ced32d992bd62722513 Mon Sep 17 00:00:00 2001 From: Vigilio Desto Date: Fri, 10 Apr 2026 19:27:39 +0200 Subject: [PATCH] restructure: main.css is the manifest, 01-asw.css is the framework MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- assets/css/layers/{01-tokens.css => 01-asw.css} | 4 ++-- assets/css/{asw.css => main.css} | 7 +------ deploy.sh | 2 +- 3 files changed, 4 insertions(+), 9 deletions(-) rename assets/css/layers/{01-tokens.css => 01-asw.css} (99%) rename assets/css/{asw.css => main.css} (81%) diff --git a/assets/css/layers/01-tokens.css b/assets/css/layers/01-asw.css similarity index 99% rename from assets/css/layers/01-tokens.css rename to assets/css/layers/01-asw.css index 3b81d3c..5f188ce 100644 --- a/assets/css/layers/01-tokens.css +++ b/assets/css/layers/01-asw.css @@ -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-0…15, --green-0…12, --blue-0…12, --red-0…12, --yellow-0…12 * --size-1…15, --font-size-0…8, --font-weight-1…9 * --font-lineheight-0…5, --radius-1…6, --shadow-1…6 diff --git a/assets/css/asw.css b/assets/css/main.css similarity index 81% rename from assets/css/asw.css rename to assets/css/main.css index e38d7af..d13c96f 100644 --- a/assets/css/asw.css +++ b/assets/css/main.css @@ -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 */ -} diff --git a/deploy.sh b/deploy.sh index 394e50d..b71b199 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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