@jaimevalasek/aioson 1.30.0 → 1.30.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/docs/design-previews/cognitive-core-ui-auth.html +95 -0
  3. package/docs/design-previews/cognitive-core-ui-kanban.html +231 -0
  4. package/docs/design-previews/cognitive-core-ui-list-detail.html +174 -0
  5. package/docs/design-previews/cognitive-core-ui-preview.css +1315 -0
  6. package/docs/design-previews/cognitive-core-ui-settings.html +142 -0
  7. package/docs/design-previews/cognitive-core-ui-website.html +190 -1009
  8. package/docs/design-previews/cognitive-core-ui.html +281 -463
  9. package/docs/design-previews/index.html +83 -31
  10. package/package.json +1 -1
  11. package/src/constants.js +578 -514
  12. package/template/.aioson/docs/integrations/dashboard-app-form-publish-mapping.md +183 -0
  13. package/template/.aioson/docs/play/README.md +74 -0
  14. package/template/.aioson/docs/play/agent-usage-guide.md +112 -0
  15. package/template/.aioson/docs/play/app-compatibility-guide.md +117 -0
  16. package/template/.aioson/docs/play/auth-services-and-testing.md +235 -0
  17. package/template/.aioson/docs/play/llm-data-and-bindings.md +238 -0
  18. package/template/.aioson/docs/play/manifest-and-runtime.md +267 -0
  19. package/template/.aioson/docs/play/source-map.md +104 -0
  20. package/template/.aioson/skills/design/aurora-command-ui/SKILL.md +266 -243
  21. package/template/.aioson/skills/design/aurora-command-ui/references/art-direction.md +293 -293
  22. package/template/.aioson/skills/design/aurora-command-ui/references/components.md +827 -827
  23. package/template/.aioson/skills/design/aurora-command-ui/references/dashboards.md +250 -250
  24. package/template/.aioson/skills/design/aurora-command-ui/references/design-tokens.md +585 -585
  25. package/template/.aioson/skills/design/aurora-command-ui/references/motion.md +365 -365
  26. package/template/.aioson/skills/design/aurora-command-ui/references/patterns.md +485 -482
  27. package/template/.aioson/skills/design/aurora-command-ui/references/websites.md +386 -387
  28. package/template/.aioson/skills/design/bold-editorial-ui/SKILL.md +228 -205
  29. package/template/.aioson/skills/design/bold-editorial-ui/references/art-direction.md +338 -338
  30. package/template/.aioson/skills/design/bold-editorial-ui/references/components.md +977 -977
  31. package/template/.aioson/skills/design/bold-editorial-ui/references/dashboards.md +218 -218
  32. package/template/.aioson/skills/design/bold-editorial-ui/references/design-tokens.md +326 -326
  33. package/template/.aioson/skills/design/bold-editorial-ui/references/motion.md +461 -461
  34. package/template/.aioson/skills/design/bold-editorial-ui/references/patterns.md +293 -293
  35. package/template/.aioson/skills/design/bold-editorial-ui/references/websites.md +352 -352
  36. package/template/.aioson/skills/design/clean-saas-ui/SKILL.md +233 -210
  37. package/template/.aioson/skills/design/clean-saas-ui/references/art-direction.md +319 -319
  38. package/template/.aioson/skills/design/clean-saas-ui/references/components.md +365 -365
  39. package/template/.aioson/skills/design/clean-saas-ui/references/dashboards.md +196 -196
  40. package/template/.aioson/skills/design/clean-saas-ui/references/design-tokens.md +244 -244
  41. package/template/.aioson/skills/design/clean-saas-ui/references/motion.md +235 -235
  42. package/template/.aioson/skills/design/clean-saas-ui/references/patterns.md +215 -215
  43. package/template/.aioson/skills/design/clean-saas-ui/references/websites.md +295 -295
  44. package/template/.aioson/skills/design/cognitive-core-ui/SKILL.md +239 -203
  45. package/template/.aioson/skills/design/cognitive-core-ui/references/art-direction.md +339 -339
  46. package/template/.aioson/skills/design/cognitive-core-ui/references/components.md +417 -407
  47. package/template/.aioson/skills/design/cognitive-core-ui/references/dashboards.md +289 -272
  48. package/template/.aioson/skills/design/cognitive-core-ui/references/design-tokens.md +525 -524
  49. package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +279 -279
  50. package/template/.aioson/skills/design/cognitive-core-ui/references/patterns.md +355 -289
  51. package/template/.aioson/skills/design/cognitive-core-ui/references/websites.md +443 -437
  52. package/template/.aioson/skills/design/glassmorphism-ui/SKILL.md +245 -222
  53. package/template/.aioson/skills/design/glassmorphism-ui/references/art-direction.md +159 -159
  54. package/template/.aioson/skills/design/glassmorphism-ui/references/components.md +498 -498
  55. package/template/.aioson/skills/design/glassmorphism-ui/references/dashboards.md +236 -236
  56. package/template/.aioson/skills/design/glassmorphism-ui/references/design-tokens.md +274 -274
  57. package/template/.aioson/skills/design/glassmorphism-ui/references/motion.md +355 -355
  58. package/template/.aioson/skills/design/glassmorphism-ui/references/patterns.md +198 -198
  59. package/template/.aioson/skills/design/glassmorphism-ui/references/websites.md +307 -307
  60. package/template/.aioson/skills/design/interface-design/SKILL.md +68 -47
  61. package/template/.aioson/skills/design/interface-design/references/components-and-states.md +105 -105
  62. package/template/.aioson/skills/design/interface-design/references/design-directions.md +101 -101
  63. package/template/.aioson/skills/design/interface-design/references/handoff-and-quality.md +92 -71
  64. package/template/.aioson/skills/design/interface-design/references/intent-and-domain.md +74 -74
  65. package/template/.aioson/skills/design/interface-design/references/tokens-and-depth.md +173 -173
  66. package/template/.aioson/skills/design/neo-brutalist-ui/SKILL.md +236 -213
  67. package/template/.aioson/skills/design/neo-brutalist-ui/references/art-direction.md +228 -228
  68. package/template/.aioson/skills/design/neo-brutalist-ui/references/components.md +855 -855
  69. package/template/.aioson/skills/design/neo-brutalist-ui/references/dashboards.md +334 -334
  70. package/template/.aioson/skills/design/neo-brutalist-ui/references/design-tokens.md +342 -342
  71. package/template/.aioson/skills/design/neo-brutalist-ui/references/motion.md +286 -286
  72. package/template/.aioson/skills/design/neo-brutalist-ui/references/patterns.md +458 -458
  73. package/template/.aioson/skills/design/neo-brutalist-ui/references/websites.md +723 -723
  74. package/template/.aioson/skills/design/premium-command-center-ui/SKILL.md +83 -62
  75. package/template/.aioson/skills/design/premium-command-center-ui/references/operations.md +74 -74
  76. package/template/.aioson/skills/design/premium-command-center-ui/references/patterns.md +116 -116
  77. package/template/.aioson/skills/design/premium-command-center-ui/references/validation.md +47 -47
  78. package/template/.aioson/skills/design/premium-command-center-ui/references/visual-system.md +215 -215
  79. package/template/.aioson/skills/design/pt.squarespace.com/.skill-meta.json +31 -31
  80. package/template/.aioson/skills/design/pt.squarespace.com/SKILL.md +94 -66
  81. package/template/.aioson/skills/design/pt.squarespace.com/references/components.md +366 -366
  82. package/template/.aioson/skills/design/pt.squarespace.com/references/design-tokens.md +150 -150
  83. package/template/.aioson/skills/design/pt.squarespace.com/references/motion.md +270 -270
  84. package/template/.aioson/skills/design/pt.squarespace.com/references/patterns.md +189 -189
  85. package/template/.aioson/skills/design/pt.squarespace.com/references/websites.md +161 -161
  86. package/template/.aioson/skills/design/warm-craft-ui/SKILL.md +232 -209
  87. package/template/.aioson/skills/design/warm-craft-ui/references/art-direction.md +324 -324
  88. package/template/.aioson/skills/design/warm-craft-ui/references/components.md +508 -508
  89. package/template/.aioson/skills/design/warm-craft-ui/references/dashboards.md +223 -223
  90. package/template/.aioson/skills/design/warm-craft-ui/references/design-tokens.md +374 -374
  91. package/template/.aioson/skills/design/warm-craft-ui/references/motion.md +356 -356
  92. package/template/.aioson/skills/design/warm-craft-ui/references/patterns.md +288 -288
  93. package/template/.aioson/skills/design/warm-craft-ui/references/websites.md +289 -289
@@ -1,209 +1,232 @@
1
- ---
2
- name: warm-craft-ui
3
- description: Warm Craft UI is a design system for approachable, human-centered interfaces with light backgrounds, rounded forms, warm accents, generous whitespace, and humanist typography. Use it when `design_skill: warm-craft-ui` is set in project.context.md OR when the user explicitly asks for "warm", "friendly UI", "clean light", "soft modern", "human-centered", "Notion-like", "Linear-like", "calm interface", or similar. Ideal for productivity apps, SaaS B2C, health, education, personal finance, and any product where trust, clarity, and approachability matter more than density or authority. Supports apps, dashboards, landing pages, and websites — light by default with an optional dark theme. Do NOT use this skill unless explicitly selected.
4
- ---
5
-
6
- # Warm Craft UI
7
-
8
- A design system where **clarity is generosity and whitespace is confidence**. Warm Craft sits at the intersection of humanist typography and disciplined spacing — interfaces that feel handcrafted, breathable, and immediately trustworthy.
9
-
10
- **This is one visual system.** Never combine it with another design skill.
11
-
12
- ## Package structure
13
-
14
- ```text
15
- .aioson/skills/design/warm-craft-ui/
16
- SKILL.md <- you are here (load this first)
17
- references/
18
- art-direction.md <- intent, domain exploration, expression modes, signature moves, anti-generic tests
19
- design-tokens.md <- CSS variables light + dark, typography, token scope guardrails
20
- components.md <- All reusable components (nav, cards, forms, tables, badges, modals, etc.)
21
- patterns.md <- Page layouts: app shell, detail, settings, onboarding, list-detail
22
- dashboards.md <- Dashboard presets: overview, analytics, activity feed, project board, admin
23
- websites.md <- Landing page, product page, institutional layouts + anti-patterns
24
- motion.md <- Animations: entrances, micro-interactions, scroll, loading states
25
- ```
26
-
27
- ## Activation rules
28
-
29
- - Apply this package **only** when `project.context.md` contains `design_skill: "warm-craft-ui"` or the user explicitly chooses it.
30
- - If another design skill is selected, do **not** load this package.
31
- - Never auto-select this skill always require explicit confirmation.
32
- - If no skill is set yet, the active agent must ask or confirm before applying.
33
-
34
- ## Responsibility boundary
35
-
36
- This skill defines:
37
- - Visual direction and aesthetic DNA
38
- - Design tokens (colors, typography, spacing, radius, shadows)
39
- - Component vocabulary and anatomy
40
- - Page composition patterns
41
- - Theme switching behavior (light/dark)
42
-
43
- This skill does **not** decide:
44
- - Stack (React, Vue, Blade, HTML, etc.)
45
- - Output format (single file, multi-file, CSS modules, Tailwind, etc.)
46
- - Icon library choice
47
- - Whether a theme toggle exists in the product (the agent decides)
48
-
49
- ## Loading guide
50
-
51
- Always load only what the current task needs:
52
-
53
- | Task | Load |
54
- |---|---|
55
- | Any UI work | `references/design-tokens.md` |
56
- | Reusable components | `references/design-tokens.md` + `references/components.md` |
57
- | Dashboard or admin panel | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/patterns.md` + `references/dashboards.md` |
58
- | Detail / settings page | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/patterns.md` |
59
- | Landing page or website | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/websites.md` |
60
- | Motion / animation | add `references/motion.md` when animation materially improves the result |
61
- | Full UI build | all seven reference files |
62
-
63
- ## Visual signature — three pillars
64
-
65
- 1. **Approachable warmth** — Light surfaces with subtle warm undertones. Rounded corners on everything. Colors that feel like sunlight through linen, not clinical LED panels. The interface should feel like a well-designed physical notebook, not a control room.
66
- 2. **Typographic humanity** — Humanist sans-serif with visible character. Generous line-heights. Text that breathes. Headings that feel handwritten in their weight and tracking, even though they are perfectly set. Body text that is genuinely pleasant to read for long sessions.
67
- 3. **Disciplined calm** — Generous whitespace that signals confidence, not emptiness. One accent color used sparingly. Subtle depth through soft shadows, not hard borders. Every element has room to exist without competing for attention.
68
-
69
- ## Theme system
70
-
71
- ```html
72
- <div data-theme="light"> <!-- or data-theme="dark" -->
73
- ```
74
-
75
- - **Light (default)**: Productivity apps, content platforms, B2C SaaS, health, education, personal tools, most use cases
76
- - **Dark**: Optional for users who prefer it, night modes, media-heavy contexts
77
- - **Both with toggle**: When the user asks, or when the product serves diverse contexts
78
-
79
- If the user does not specify: default to **light with a theme toggle** available.
80
-
81
- ## Visual DNA
82
-
83
- ### Colors — light theme
84
- - Background void: `#F8F6F3` (warm off-white, never pure #FFF)
85
- - Background base: `#FDFCFA` (main app background)
86
- - Surface: `#FFFFFF` (cards, elevated panels)
87
- - Elevated: `#F3F1ED` (hover, nested, sidebar backgrounds)
88
- - Primary accent: `#E07A5F` (terracotta/warm coral) — CTAs, active states, key highlights
89
- - Text heading: `#2D3436` (warm charcoal, never pure black)
90
- - Text primary: `#4A5568` (readable warm gray)
91
- - Text secondary: `#8896A6` (muted)
92
- - Text muted: `#B0BCC7` (hints, placeholders)
93
-
94
- ### Colors — dark theme
95
- - Background void: `#1A1814` (warm dark, not navy)
96
- - Background base: `#211F1B` (main app background)
97
- - Surface: `#2A2824` (cards)
98
- - Elevated: `#353330` (hover, nested)
99
- - Primary accent: `#F0967D` (lighter terracotta for dark backgrounds)
100
- - Text heading: `#F5F0EB`
101
- - Text primary: `#D4CBC2`
102
- - Text secondary: `#9A9088`
103
- - Text muted: `#6B6460`
104
-
105
- ### Typography
106
- - Headings: `Source Serif 4`, `weight-semibold (600)` or `weight-bold (700)` for page titles, `letter-spacing: -0.02em`
107
- - Body: `Inter`, `weight-normal (400)`, `line-height: 1.7`
108
- - Labels and metadata: `Inter`, `weight-medium (500)`, `font-size: 0.8rem`, `letter-spacing: 0.02em`
109
- - Stats: `Source Serif 4`, `weight-bold (700)`, `font-size: 2.5rem`
110
-
111
- ### Layout structure (apps)
112
- ```
113
- +----------------------------------------------------------+
114
- | TOP BAR: [Logo] [Search (center, rounded)] [Avatar] |
115
- +----------------------------------------------------------+
116
- | | |
117
- | SIDEBAR | CONTENT |
118
- | 200px | PAGE HEADER (serif title + subtitle) |
119
- | soft bg | |
120
- | rounded | CONTENT SECTIONS |
121
- | items | (generous padding, card groups) |
122
- | | |
123
- | [nav | SECTION: title + description |
124
- | items | CARD GROUP (2-3 col, gap-6) |
125
- | with | |
126
- | icons] | SECTION: title + description |
127
- | | CARD GROUP or TABLE |
128
- +-----------+-----------------------------------------------+
129
- ```
130
-
131
- ### Signature details
132
- - Rounded corners on everything: cards `radius-xl` (16px), buttons `radius-lg` (12px), inputs `radius-md` (8px)
133
- - Soft shadows: `box-shadow` with warm tones, never harsh black drops
134
- - Accent used sparingly: primary buttons, active nav, key badges — never borders, never backgrounds of sections
135
- - Serif headings mixed with sans-serif bodythe primary differentiator from every other UI
136
- - Subtle background patterns: very faint dot grid or warm gradient wash on hero sections
137
- - Illustrations and empty states: warm, hand-drawn style never cold geometric
138
- - Input fields: visible but soft borders, generous padding, rounded
139
- - Active sidebar item: `background: var(--bg-elevated)` + `border-radius: var(--radius-lg)` + accent text — no hard left border
140
- - Theme transition: `200ms ease` on background, color, border-color, box-shadow
141
-
142
- ## Application rules
143
-
144
- - Treat `references/design-tokens.md` as the source of truth for ALL tokens.
145
- - Treat `references/art-direction.md` as the source of truth for expression, signature moves, and anti-generic decisions.
146
- - Resolve the page variant before composing: apps use structured navigation rhythm; websites/landing pages use more narrative flow, larger typography, and editorial pacing.
147
- - Never combine this package with `cognitive-core-ui`, `interface-design`, `premium-command-center-ui`, or any other design skill in the same task.
148
- - Reuse the project's component library if one exists map Warm Craft tokens onto it instead of rebuilding primitives.
149
- - Adapt code examples to the active stack. Reference snippets are design specifications, not copy-paste code.
150
- - Accessibility, responsiveness, and production semantics are the agent's responsibility (not this skill).
151
-
152
- ## Intent before visuals
153
-
154
- Before choosing layout, answer all three:
155
-
156
- 1. Who is the human using this page right now?
157
- 2. What is the main action or decision they must complete?
158
- 3. How should this interface feel in concrete words, not generic labels?
159
-
160
- Bad answers:
161
- - "for users"
162
- - "manage content"
163
- - "clean and modern"
164
-
165
- Good answers:
166
- - "freelancer reviewing today's tasks over morning coffee"
167
- - "parent checking their child's learning progress after dinner"
168
- - "calm, warm, spacious, like a well-organized desk with natural light"
169
-
170
- ## Workflow discipline
171
-
172
- 1. Audit the current page or existing UI before changing visuals.
173
- 2. Explore the product domain and choose one expression mode from `references/art-direction.md`.
174
- 3. Name one signature move and repeat it intentionally across the page.
175
- 4. Consolidate repeating patterns instead of inventing new card/button/table variants for each screen.
176
- 5. Build from tokens first, then components, then page composition.
177
- 6. Validate state parity before finishing: default, hover, active, focus, disabled.
178
- 7. Validate contrast before shipping: body text must meet WCAG AA, controls must stay legible in all themes and states.
179
-
180
- ## Non-negotiable quality gates
181
-
182
- - Never use pure white (#FFFFFF) as the app background — always use warm off-whites.
183
- - Never use pure black (#000000) for text — always warm charcoals.
184
- - Never crowd elements — when in doubt, add more whitespace, not more content.
185
- - Serif headings are the signature — never replace them with sans-serif across the board.
186
- - Accent must feel warm, never clinical or cold (no blues, no purples as primary).
187
- - Rounded corners are structural, not decorative — everything is rounded, consistently.
188
- - Soft shadows must use warm-tinted RGBA, not generic `rgba(0,0,0,...)`.
189
- - Forms must feel inviting: generous padding, visible labels above fields, helpful placeholders — never cramped.
190
- - Hardcoded colors, arbitrary sharp corners, and one-off font choices are design-system failures.
191
- - Sameness is failure. If the result could be mistaken for a default Notion clone or a generic SaaS template, iterate before presenting.
192
- - Every full page must have one memorable structural or visual signature, not just "good spacing and cards".
193
- - Do not reuse the same hero, card layout, or dashboard grid across unrelated products without a domain reason.
194
-
195
- ## Delivery modes
196
-
197
- ### Greenfield
198
- 1. Choose page variant (app, detail, settings, landing, institutional)
199
- 2. Load relevant references
200
- 3. Apply token scope from `design-tokens.md`
201
- 4. Compose layout from `patterns.md` or `websites.md`
202
- 5. Build components from `components.md`
203
-
204
- ### Brownfield
205
- 1. Audit existing UI before rewriting
206
- 2. Map Warm Craft tokens onto the existing component library
207
- 3. Fix token scope issues (font/color variables must be on the correct container)
208
- 4. Consolidate duplicate variants before introducing new ones
209
- 5. Prefer targeted upgrades over full rewrites unless the user asks for a redesign
1
+ ---
2
+ name: warm-craft-ui
3
+ description: >-
4
+ Warm Craft UI is a design system for approachable, human-centered interfaces with light backgrounds, rounded forms, warm accents, generous whitespace, and humanist typography. Use it when `design_skill: warm-craft-ui` is set in project.context.md OR when the user explicitly asks for "warm", "friendly UI", "clean light", "soft modern", "human-centered", "Notion-like", "Linear-like", "calm interface", or similar. Ideal for productivity apps, SaaS B2C, health, education, personal finance, and any product where trust, clarity, and approachability matter more than density or authority. Supports apps, dashboards, landing pages, and websites — light by default with an optional dark theme. Do NOT use this skill unless explicitly selected.
5
+ ---
6
+
7
+ # Warm Craft UI
8
+
9
+ A design system where **clarity is generosity and whitespace is confidence**. Warm Craft sits at the intersection of humanist typography and disciplined spacing — interfaces that feel handcrafted, breathable, and immediately trustworthy.
10
+
11
+ **This is one visual system.** Never combine it with another design skill.
12
+
13
+ ## Package structure
14
+
15
+ ```text
16
+ .aioson/skills/design/warm-craft-ui/
17
+ SKILL.md <- you are here (load this first)
18
+ references/
19
+ art-direction.md <- intent, domain exploration, expression modes, signature moves, anti-generic tests
20
+ design-tokens.md <- CSS variables light + dark, typography, token scope guardrails
21
+ components.md <- All reusable components (nav, cards, forms, tables, badges, modals, etc.)
22
+ patterns.md <- Page layouts: app shell, detail, settings, onboarding, list-detail
23
+ dashboards.md <- Dashboard presets: overview, analytics, activity feed, project board, admin
24
+ websites.md <- Landing page, product page, institutional layouts + anti-patterns
25
+ motion.md <- Animations: entrances, micro-interactions, scroll, loading states
26
+ ```
27
+
28
+ ## Activation rules
29
+
30
+ - Apply this package **only** when `project.context.md` contains `design_skill: "warm-craft-ui"` or the user explicitly chooses it.
31
+ - If another design skill is selected, do **not** load this package.
32
+ - Never auto-select this skill always require explicit confirmation.
33
+ - If no skill is set yet, the active agent must ask or confirm before applying.
34
+
35
+ ## Responsibility boundary
36
+
37
+ This skill defines:
38
+ - Visual direction and aesthetic DNA
39
+ - Design tokens (colors, typography, spacing, radius, shadows)
40
+ - Component vocabulary and anatomy
41
+ - Page composition patterns
42
+ - Theme switching behavior (light/dark)
43
+
44
+ This skill does **not** decide:
45
+ - Stack (React, Vue, Blade, HTML, etc.)
46
+ - Output format (single file, multi-file, CSS modules, Tailwind, etc.)
47
+ - Icon library choice
48
+ - Whether a theme toggle exists in the product (the agent decides)
49
+
50
+ ## Loading guide
51
+
52
+ Always load only what the current task needs:
53
+
54
+ | Task | Load |
55
+ |---|---|
56
+ | Any UI work | `references/design-tokens.md` |
57
+ | Reusable components | `references/design-tokens.md` + `references/components.md` |
58
+ | Dashboard or admin panel | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/patterns.md` + `references/dashboards.md` |
59
+ | Detail / settings page | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/patterns.md` |
60
+ | Landing page or website | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/websites.md` |
61
+ | Motion / animation | add `references/motion.md` when animation materially improves the result |
62
+ | Full UI build | all seven reference files |
63
+
64
+ ## Visual signature — three pillars
65
+
66
+ 1. **Approachable warmth** — Light surfaces with subtle warm undertones. Rounded corners on everything. Colors that feel like sunlight through linen, not clinical LED panels. The interface should feel like a well-designed physical notebook, not a control room.
67
+ 2. **Typographic humanity** — Humanist sans-serif with visible character. Generous line-heights. Text that breathes. Headings that feel handwritten in their weight and tracking, even though they are perfectly set. Body text that is genuinely pleasant to read for long sessions.
68
+ 3. **Disciplined calm** — Generous whitespace that signals confidence, not emptiness. One accent color used sparingly. Subtle depth through soft shadows, not hard borders. Every element has room to exist without competing for attention.
69
+
70
+ ## Theme system
71
+
72
+ ```html
73
+ <div data-theme="light"> <!-- or data-theme="dark" -->
74
+ ```
75
+
76
+ - **Light (default)**: Productivity apps, content platforms, B2C SaaS, health, education, personal tools, most use cases
77
+ - **Dark**: Optional for users who prefer it, night modes, media-heavy contexts
78
+ - **Both with toggle**: When the user asks, or when the product serves diverse contexts
79
+
80
+ If the user does not specify: default to **light with a theme toggle** available.
81
+
82
+ ## Visual DNA
83
+
84
+ ### Colors light theme
85
+ - Background void: `#F8F6F3` (warm off-white, never pure #FFF)
86
+ - Background base: `#FDFCFA` (main app background)
87
+ - Surface: `#FFFFFF` (cards, elevated panels)
88
+ - Elevated: `#F3F1ED` (hover, nested, sidebar backgrounds)
89
+ - Primary accent: `#E07A5F` (terracotta/warm coral) — CTAs, active states, key highlights
90
+ - Text heading: `#2D3436` (warm charcoal, never pure black)
91
+ - Text primary: `#4A5568` (readable warm gray)
92
+ - Text secondary: `#8896A6` (muted)
93
+ - Text muted: `#B0BCC7` (hints, placeholders)
94
+
95
+ ### Colors dark theme
96
+ - Background void: `#1A1814` (warm dark, not navy)
97
+ - Background base: `#211F1B` (main app background)
98
+ - Surface: `#2A2824` (cards)
99
+ - Elevated: `#353330` (hover, nested)
100
+ - Primary accent: `#F0967D` (lighter terracotta for dark backgrounds)
101
+ - Text heading: `#F5F0EB`
102
+ - Text primary: `#D4CBC2`
103
+ - Text secondary: `#9A9088`
104
+ - Text muted: `#6B6460`
105
+
106
+ ### Typography
107
+ - Headings: `Source Serif 4`, `weight-semibold (600)` or `weight-bold (700)` for page titles, `letter-spacing: 0`
108
+ - Body: `Inter`, `weight-normal (400)`, `line-height: 1.7`
109
+ - Labels and metadata: `Inter`, `weight-medium (500)`, `font-size: 0.8rem`, `letter-spacing: 0.02em`
110
+ - Stats: `Source Serif 4`, `weight-bold (700)`, `font-size: 2.5rem`
111
+
112
+ ### Layout structure (apps)
113
+ ```
114
+ +----------------------------------------------------------+
115
+ | TOP BAR: [Logo] [Search (center, rounded)] [Avatar] |
116
+ +----------------------------------------------------------+
117
+ | | |
118
+ | SIDEBAR | CONTENT |
119
+ | 200px | PAGE HEADER (serif title + subtitle) |
120
+ | soft bg | |
121
+ | rounded | CONTENT SECTIONS |
122
+ | items | (generous padding, card groups) |
123
+ | | |
124
+ | [nav | SECTION: title + description |
125
+ | items | CARD GROUP (2-3 col, gap-6) |
126
+ | with | |
127
+ | icons] | SECTION: title + description |
128
+ | | CARD GROUP or TABLE |
129
+ +-----------+-----------------------------------------------+
130
+ ```
131
+
132
+ ### Signature details
133
+ - Rounded corners on everything: cards `radius-xl` (16px), buttons `radius-lg` (12px), inputs `radius-md` (8px)
134
+ - Soft shadows: `box-shadow` with warm tones, never harsh black drops
135
+ - Accent used sparingly: primary buttons, active nav, key badges never borders, never backgrounds of sections
136
+ - Serif headings mixed with sans-serif body the primary differentiator from every other UI
137
+ - Subtle background patterns: very faint dot grid or warm gradient wash on hero sections
138
+ - Illustrations and empty states: warm, hand-drawn style never cold geometric
139
+ - Input fields: visible but soft borders, generous padding, rounded
140
+ - Active sidebar item: `background: var(--bg-elevated)` + `border-radius: var(--radius-lg)` + accent text — no hard left border
141
+ - Theme transition: `200ms ease` on background, color, border-color, box-shadow
142
+
143
+ ## Application rules
144
+
145
+ - Treat `references/design-tokens.md` as the source of truth for ALL tokens.
146
+ - Treat `references/art-direction.md` as the source of truth for expression, signature moves, and anti-generic decisions.
147
+ - Resolve the page variant before composing: apps use structured navigation rhythm; websites/landing pages use more narrative flow, larger typography, and editorial pacing.
148
+ - Never combine this package with `cognitive-core-ui`, `interface-design`, `premium-command-center-ui`, or any other design skill in the same task.
149
+ - Reuse the project's component library if one exists map Warm Craft tokens onto it instead of rebuilding primitives.
150
+ - Adapt code examples to the active stack. Reference snippets are design specifications, not copy-paste code.
151
+ - Accessibility, responsiveness, and production semantics are the agent's responsibility (not this skill).
152
+
153
+ ## Execution quality gates
154
+
155
+ These gates override any reference file when they conflict.
156
+
157
+ Before implementation:
158
+ - Load the relevant references from the loading guide; do not build from this SKILL.md alone.
159
+ - Decide the surface type (app, dashboard, landing page, marketing site, tool, game) and one domain-specific signature move before writing layout code.
160
+ - Establish the token layer first: fonts, colors, spacing, radius, shadow/depth, motion, breakpoints, and component states. Do not scatter raw colors, one-off shadows, arbitrary font sizes, or ad hoc radii.
161
+ - Use intentional font delivery. Prefer local/framework font APIs when available; if a named font cannot be loaded, define a credible fallback stack and preserve the intended contrast.
162
+ - For websites and landing pages, use visual assets that reveal the product, place, person, object, UI state, or domain. Do not ship a hero made only of gradients, icons, and cards.
163
+ - For landing-page heroes, make the brand, product, place, person, or literal offer visible in the first viewport; include a real or generated bitmap/product visual when inspection matters.
164
+ - Use icons from the project's icon library or lucide when available. Do not use text pills where a standard icon button/control is expected.
165
+ - Build responsive constraints with grid minmax, aspect-ratio, fixed control heights, and overflow rules so text, controls, tables, cards, and media cannot overlap or resize unpredictably.
166
+ - Use discrete text tokens and stable line-height. Do not use viewport-width font scaling or negative letter-spacing.
167
+ - Do not put cards inside cards. If a reference says nested card, use an unframed row, divider, inset section, or modal unless an existing component contract explicitly requires that hierarchy.
168
+ - Use motion as product feedback: hover, focus, active, loading, reveal, navigation, and state transitions. Always include a prefers-reduced-motion fallback.
169
+
170
+ Before delivery:
171
+ - Inspect the result at mobile and desktop widths. If a browser is available, use screenshots; otherwise perform static CSS/DOM review.
172
+ - Fix overlap, clipped text, illegible contrast, missing states, unsupported font loading, missing assets, raw palette drift, and generic template composition before presenting.
173
+ - Do not add isolated blurred-circle background decorations. If a reference suggests that pattern, reinterpret it as a subtle full-bleed ambient field or remove it.
174
+
175
+ ## Intent before visuals
176
+
177
+ Before choosing layout, answer all three:
178
+
179
+ 1. Who is the human using this page right now?
180
+ 2. What is the main action or decision they must complete?
181
+ 3. How should this interface feel in concrete words, not generic labels?
182
+
183
+ Bad answers:
184
+ - "for users"
185
+ - "manage content"
186
+ - "clean and modern"
187
+
188
+ Good answers:
189
+ - "freelancer reviewing today's tasks over morning coffee"
190
+ - "parent checking their child's learning progress after dinner"
191
+ - "calm, warm, spacious, like a well-organized desk with natural light"
192
+
193
+ ## Workflow discipline
194
+
195
+ 1. Audit the current page or existing UI before changing visuals.
196
+ 2. Explore the product domain and choose one expression mode from `references/art-direction.md`.
197
+ 3. Name one signature move and repeat it intentionally across the page.
198
+ 4. Consolidate repeating patterns instead of inventing new card/button/table variants for each screen.
199
+ 5. Build from tokens first, then components, then page composition.
200
+ 6. Validate state parity before finishing: default, hover, active, focus, disabled.
201
+ 7. Validate contrast before shipping: body text must meet WCAG AA, controls must stay legible in all themes and states.
202
+
203
+ ## Non-negotiable quality gates
204
+
205
+ - Never use pure white (#FFFFFF) as the app background — always use warm off-whites.
206
+ - Never use pure black (#000000) for text always warm charcoals.
207
+ - Never crowd elements when in doubt, add more whitespace, not more content.
208
+ - Serif headings are the signature never replace them with sans-serif across the board.
209
+ - Accent must feel warm, never clinical or cold (no blues, no purples as primary).
210
+ - Rounded corners are structural, not decorative — everything is rounded, consistently.
211
+ - Soft shadows must use warm-tinted RGBA, not generic `rgba(0,0,0,...)`.
212
+ - Forms must feel inviting: generous padding, visible labels above fields, helpful placeholders — never cramped.
213
+ - Hardcoded colors, arbitrary sharp corners, and one-off font choices are design-system failures.
214
+ - Sameness is failure. If the result could be mistaken for a default Notion clone or a generic SaaS template, iterate before presenting.
215
+ - Every full page must have one memorable structural or visual signature, not just "good spacing and cards".
216
+ - Do not reuse the same hero, card layout, or dashboard grid across unrelated products without a domain reason.
217
+
218
+ ## Delivery modes
219
+
220
+ ### Greenfield
221
+ 1. Choose page variant (app, detail, settings, landing, institutional)
222
+ 2. Load relevant references
223
+ 3. Apply token scope from `design-tokens.md`
224
+ 4. Compose layout from `patterns.md` or `websites.md`
225
+ 5. Build components from `components.md`
226
+
227
+ ### Brownfield
228
+ 1. Audit existing UI before rewriting
229
+ 2. Map Warm Craft tokens onto the existing component library
230
+ 3. Fix token scope issues (font/color variables must be on the correct container)
231
+ 4. Consolidate duplicate variants before introducing new ones
232
+ 5. Prefer targeted upgrades over full rewrites unless the user asks for a redesign