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:
parent
5deaa22e38
commit
bffb86338d
3 changed files with 4 additions and 9 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
/**
|
/**
|
||||||
* 01-tokens.css
|
* 01-asw.css
|
||||||
* ASW semantic layer — builds on Open Props
|
* 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
|
* --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
|
* --size-1…15, --font-size-0…8, --font-weight-1…9
|
||||||
* --font-lineheight-0…5, --radius-1…6, --shadow-1…6
|
* --font-lineheight-0…5, --radius-1…6, --shadow-1…6
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
/* 2. Framework layers */
|
/* 2. Framework layers */
|
||||||
@import "./layers/00-reset.css";
|
@import "./layers/00-reset.css";
|
||||||
@import "./layers/01-tokens.css";
|
@import "./layers/01-asw.css";
|
||||||
@import "./layers/02-semantic.css";
|
@import "./layers/02-semantic.css";
|
||||||
@import "./layers/03-components.css";
|
@import "./layers/03-components.css";
|
||||||
@import "./layers/04-data-attrs.css";
|
@import "./layers/04-data-attrs.css";
|
||||||
|
|
@ -21,8 +21,3 @@
|
||||||
@import "./layers/08-layout.css";
|
@import "./layers/08-layout.css";
|
||||||
@import "./layers/08a-paper.css";
|
@import "./layers/08a-paper.css";
|
||||||
@import "./layers/09-landing.css";
|
@import "./layers/09-landing.css";
|
||||||
|
|
||||||
/* 3. ASW theme overrides — edit here to retheme */
|
|
||||||
:root {
|
|
||||||
/* Override Open Props primitives or ASW semantics here */
|
|
||||||
}
|
|
||||||
|
|
@ -4,6 +4,6 @@ set -euo pipefail
|
||||||
cd ~/projects/asw
|
cd ~/projects/asw
|
||||||
git pull origin main --ff-only
|
git pull origin main --ff-only
|
||||||
npm ci --prefer-offline 2>/dev/null
|
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
|
hugo
|
||||||
echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] Deploy complete" >> /tmp/asw-deploy.log
|
echo "[$(date -u +%Y-%m-%dT%H:%M:%SZ)] Deploy complete" >> /tmp/asw-deploy.log
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue