@1agh/maude 0.25.0 → 0.27.0
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.
- package/cli/commands/design.mjs +5 -0
- package/cli/lib/design-link.mjs +13 -6
- package/cli/lib/gitignore-block.mjs +1 -0
- package/cli/lib/gitignore-block.test.mjs +1 -0
- package/package.json +8 -8
- package/plugins/design/dev-server/bin/_svg-optimize.mjs +35 -0
- package/plugins/design/dev-server/bin/draw-build.sh +48 -0
- package/plugins/design/dev-server/bin/draw-proof.sh +129 -0
- package/plugins/design/dev-server/bin/svg-optimize.sh +24 -0
- package/plugins/design/dev-server/canvas-lib.tsx +110 -0
- package/plugins/design/dev-server/config.schema.json +10 -0
- package/plugins/design/dev-server/context.ts +9 -0
- package/plugins/design/dev-server/dist/client.bundle.js +3 -3
- package/plugins/design/dev-server/draw/brush.ts +639 -0
- package/plugins/design/dev-server/draw/composition.ts +229 -0
- package/plugins/design/dev-server/draw/geometry.ts +578 -0
- package/plugins/design/dev-server/draw/index.ts +28 -0
- package/plugins/design/dev-server/draw/layout.ts +260 -0
- package/plugins/design/dev-server/draw/optimize.ts +65 -0
- package/plugins/design/dev-server/draw/palette.ts +417 -0
- package/plugins/design/dev-server/draw/primitives.ts +643 -0
- package/plugins/design/dev-server/draw/serialize.ts +458 -0
- package/plugins/design/dev-server/draw/test/brush.test.ts +213 -0
- package/plugins/design/dev-server/draw/test/composition.test.ts +141 -0
- package/plugins/design/dev-server/draw/test/geometry.test.ts +199 -0
- package/plugins/design/dev-server/draw/test/gradient.test.ts +167 -0
- package/plugins/design/dev-server/draw/test/layout.test.ts +120 -0
- package/plugins/design/dev-server/draw/test/optimize.test.ts +40 -0
- package/plugins/design/dev-server/draw/test/palette.test.ts +123 -0
- package/plugins/design/dev-server/draw/test/primitives.test.ts +129 -0
- package/plugins/design/dev-server/draw/test/serialize.test.ts +105 -0
- package/plugins/design/dev-server/sync/agent.ts +23 -8
- package/plugins/design/dev-server/sync/index.ts +73 -17
- package/plugins/design/dev-server/test/sync-agent.test.ts +28 -0
- package/plugins/design/dev-server/test/sync-runtime.test.ts +52 -0
- package/plugins/design/dev-server/tsconfig.json +8 -1
- package/plugins/design/templates/design-system-inspiration/_MAPPING.md +15 -0
- package/plugins/design/templates/design-system-inspiration/core/config.json.tpl +1 -0
|
@@ -153,10 +153,25 @@ Every `signature_treatment_options[i]` in the payload MUST set `family` to one o
|
|
|
153
153
|
| `hard-edges` | Radii collapse to `0/2/4`; shadows removed except focus ring; borders bumped to `--border-strong`; thicker outlines on key elements. Brutalist / no-nonsense. |
|
|
154
154
|
| `depth-stretch` | Shadow ladder stretched — `--shadow-md/lg/xl` get longer offsets and softer blurs; cards float higher; hover state lifts more. Soft-floaty depth. |
|
|
155
155
|
| `inset-recess` | Tokens add `--shadow-inset-sm/md`; inputs + toggles use inset-shadow surfaces; never inside chrome with text on it (accessibility). Hardware-toggle / recessed feel. |
|
|
156
|
+
| `chromatic-blocks` | Multiple `--accent-*` filled surfaces used as **structural blocks** (Memphis / Canva / Figma-Config); bold high-chroma colour fields where **colour carries the hierarchy**, not just an accent dot. Requires `accentStrategy ≥ chromatic-3` (the scaffold emits N accent families). Fills use real accent/surface tokens — never a decorative-backdrop token as a product fill (D-5). For `expressive`/`maximalist` ambition. |
|
|
157
|
+
| `gradient-mesh` | Body bg = soft multi-stop **mesh / aurora** gradient (Figma / Stripe-marketing); tokens add a single-role `--mesh-*` backdrop family (backdrop ONLY, per D-5); cards stay accent-tinted, not mesh-filled. Honours `prefers-reduced-motion` (no animated mesh under reduce). For `expressive`/`maximalist` ambition; overridden to a solid translucent fill when Q10 hard-NOs include "no gradients". |
|
|
156
158
|
| `none` | No body-level treatment; `_layout.css` stays minimal; chrome reads flat. The opt-out value. |
|
|
157
159
|
|
|
158
160
|
The agent may also propose treatments outside this catalog — when it does, it must either map them to the closest family OR flag in `research_quality_notes` that a new family ID is needed (which then becomes a spec-change conversation, not a silent extension).
|
|
159
161
|
|
|
162
|
+
### Aesthetic ambition → structural knobs (anchor inference — DDR-073)
|
|
163
|
+
|
|
164
|
+
`aesthetic_ambition` is the **inferred anchor** for the whole DS (the `ux-research-agent` reads it from brand character — Probe A lineage + Probe B Zrcadlo+Charakter — NOT a picker). It is emitted BEFORE the per-knob structural decisions, and those decisions **derive from it** instead of each defaulting conservative. The scaffold writes the inferred value into `config.json.aestheticAmbition`, which also sets the default `opt_out_scope` for canvases under this DS (so expressiveness is a DS property, not a per-canvas flag).
|
|
165
|
+
|
|
166
|
+
| Pole | `accentStrategy` | shadow / decor | favoured Q9 families | default `opt_out_scope` |
|
|
167
|
+
|---|---|---|---|---|
|
|
168
|
+
| `restrained` | `single` | soft / none | `none`, `chrome-glow`, `inset-recess`, `hard-edges` | `palette` |
|
|
169
|
+
| `confident` | `single \| paired` | soft, +1 chromatic-surface tolerance | `chrome-glow`, `depth-stretch`, `frosted-blur` | `palette` |
|
|
170
|
+
| `expressive` | `paired \| chromatic-3` | accent-tinted, gradients OK | `gradient-mesh`, `chromatic-blocks`, `frosted-blur` | `aesthetic` |
|
|
171
|
+
| `maximalist` | `chromatic-N` | bold, colour-as-structure | `chromatic-blocks`, `gradient-mesh`, `body-pattern` | `full` |
|
|
172
|
+
|
|
173
|
+
**Anti-funnel invariant:** absence of a clear brand-character signal does NOT mean `restrained` — it means low confidence, so Stage 3 ASKS across the full scale (incl. a multi-colour palette option). High-confidence skip is legitimate only when the character is unambiguous, at **both** ends of the scale. Q10 hard-NOs still override (e.g. "no gradients" disables `gradient-mesh`).
|
|
174
|
+
|
|
160
175
|
### Q10 hard NOs — sub-agent guardrails
|
|
161
176
|
|
|
162
177
|
| Q | Answer source | Effect on scaffold |
|