Skip to content

Commit e50facc

Browse files
auge2uclaude
andcommitted
docs(skill): update theme-inspired-tokens to reflect @syncupsuite/themes@0.4.0 (12 themes)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b4c6c83 commit e50facc

2 files changed

Lines changed: 16 additions & 8 deletions

File tree

commands/diagnose-tokens.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ Check if `@syncupsuite/themes` is installed and which version.
3636
cat node_modules/@syncupsuite/themes/package.json | grep version
3737
```
3838

39-
- `[PASS]` if >= 0.2.2
40-
- `[WARN]` if < 0.2.2 (pre-security-audit version — upgrade recommended)
39+
- `[PASS]` if >= 0.4.0
40+
- `[WARN]` if < 0.4.0 (pre-Semantic-Color-API version — upgrade recommended)
4141
- `[FAIL]` if not installed
4242

4343
### Step 2: CSS Entry Point
@@ -149,7 +149,7 @@ After running all checks, output a summary table:
149149
Token Installation Diagnostic
150150
==============================
151151
152-
Step 1: Package version [PASS] @syncupsuite/themes@0.2.2
152+
Step 1: Package version [PASS] @syncupsuite/themes@0.4.0
153153
Step 2: CSS entry point [PASS] src/styles/app.css imports tailwind.css
154154
Step 3: :root completeness [FAIL] Missing: --color-warning, --radius-lg
155155
Step 4: Dark mode block [WARN] 14/17 tokens have dark equivalents

skills/theme-inspired-tokens/skill.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,25 @@ A Claude Code skill for generating culturally-grounded design token systems wher
1111
`@syncupsuite/themes` provides pre-built implementations of this pattern. If you want production-ready cultural themes without building from scratch, install the package:
1212

1313
```bash
14-
npm install @syncupsuite/themes # v0.2.2 — OKLCH color math, security-audited, zero runtime deps
14+
npm install @syncupsuite/themes # v0.4.0 — OKLCH color math, security-audited, zero runtime deps
1515
```
1616

17-
> **Package quality**: v0.1.1 has been through a comprehensive review — P0 CSS generation bugs fixed, P1 security hardening (CSS injection prevention), PERF_BUDGETS enforced, and 7 Architecture Decision Records (ADR-001 through ADR-007) governing all major design decisions. See `syncupsuite/themes/docs/adr/` for full detail.
17+
> **Package quality**: v0.4.0 has been through comprehensive review — P0 CSS generation bugs fixed, P1 security hardening (CSS injection prevention), PERF_BUDGETS enforced, Semantic Color API with Tailwind v4 `@theme` integration, WCAG contrast validation across all 12 themes, and 7 Architecture Decision Records (ADR-001 through ADR-007) governing all major design decisions. See `syncupsuite/themes/docs/adr/` for full detail.
1818
1919
**CSS usage** -- import directly into your stylesheet:
2020

2121
```css
2222
@import '@syncupsuite/themes/swiss-international/tailwind.css';
23-
/* or */
24-
@import '@syncupsuite/themes/nihon-traditional/tailwind.css';
23+
/* or any of the 12 available themes */
24+
@import '@syncupsuite/themes/nordic-modern/tailwind.css';
25+
```
26+
27+
**Semantic Color API** -- Tailwind v4 `@theme` utilities map directly to semantic tokens:
28+
29+
```html
30+
<div class="bg-canvas text-foreground">
31+
<button class="bg-primary text-primary-foreground ring-ring">Action</button>
32+
</div>
2533
```
2634

2735
**TypeScript usage** -- access token objects programmatically:
@@ -31,7 +39,7 @@ import { swissInternational } from '@syncupsuite/themes';
3139
import { buildTokens } from '@syncupsuite/transformers';
3240
```
3341

34-
Available pre-built themes: `swiss-international`, `nihon-traditional`.
42+
Available pre-built themes (12): `swiss-international`, `nihon-traditional`, `nordic-modern`, `tang-imperial`, `shuimo-modern`, `nihon-minimal`, `renaissance`, `art-deco`, `wiener-werkstaette`, `milanese-design`, `de-stijl`, `swiss-modernist`. All themes validated against 20 WCAG AA contrast pairs.
3543

3644
> **Skill vs. Package**: The package ships curated implementations. This skill teaches you to build your own -- custom cultural tokens from any tradition, following the same four-layer pattern. Use the package for speed; use this skill when you need a theme that doesn't exist yet.
3745

0 commit comments

Comments
 (0)