fix: switch Hugo to CSS class-based syntax highlighting

Set noClasses=false so Hugo outputs Chroma CSS classes instead of
inline styles. 10-chroma.css now drives all syntax colors using
ASW's --syntax-* tokens. Fixed remaining primitive leaks
(--violet-4, --orange-3 → --syntax-keyword, --syntax-variable).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ludo 2026-04-11 18:58:30 +02:00
parent fe8ddd6153
commit 3e69279f3d
Signed by: ludo
GPG key ID: F6E479DEFAB84D6E
2 changed files with 6 additions and 6 deletions

View file

@ -30,7 +30,7 @@ title = 'ASW — Agentic Semantic Web'
ordered = false
[markup.highlight]
noClasses = true
noClasses = false
codeFences = true
guessSyntax = true

View file

@ -33,12 +33,12 @@
.chroma .kp,
.chroma .kr,
.chroma .kt {
color: var(--violet-4);
color: var(--syntax-keyword);
}
/* KeywordNamespace — import/from/as — pink accent to distinguish */
/* KeywordNamespace — import/from/as */
.chroma .kn {
color: var(--violet-3);
color: var(--syntax-keyword);
}
/* ── Strings ─────────────────────────────────────────────────────────── */
@ -75,7 +75,7 @@
.chroma .cp,
.chroma .cpf,
.chroma .cs {
color: var(--text-2);
color: var(--syntax-comment);
font-style: italic;
}
@ -90,7 +90,7 @@
.chroma .il,
.chroma .mo,
.chroma .mx {
color: var(--orange-3);
color: var(--syntax-variable);
}
/* ── Names / Functions ───────────────────────────────────────────────── */