@litfamily/litclaude 1.0.37 → 1.0.39
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/CHANGELOG.md +71 -0
- package/README.md +11 -8
- package/README_ko-KR.md +11 -8
- package/bin/litclaude-ai.js +3 -3
- package/docs/assets/readme/badge-version.svg +1 -1
- package/docs/assets/skills/lit-adhd.webp +0 -0
- package/docs/assets/skills/lit-hijack.webp +0 -0
- package/docs/assets/skills/lit-schematic.webp +0 -0
- package/docs/hooks.md +117 -26
- package/docs/workflow-compatibility-audit.md +1 -1
- package/package.json +1 -1
- package/plugins/litclaude/.claude-plugin/plugin.json +1 -1
- package/plugins/litclaude/agents/lit-executor.md +4 -2
- package/plugins/litclaude/bin/litclaude-ai +1 -0
- package/plugins/litclaude/bin/litclaude-hook.js +373 -53
- package/plugins/litclaude/bin/litclaude-mcp.js +1 -1
- package/plugins/litclaude/commands/lit-adhd.md +107 -0
- package/plugins/litclaude/commands/lit-hijack.md +102 -0
- package/plugins/litclaude/commands/lit-loop.md +4 -2
- package/plugins/litclaude/commands/lit-plan.md +5 -4
- package/plugins/litclaude/commands/lit-rewind.md +107 -0
- package/plugins/litclaude/commands/litgoal.md +5 -4
- package/plugins/litclaude/commands/start-work.md +25 -10
- package/plugins/litclaude/hooks/lit-mod.mjs +51 -5
- package/plugins/litclaude/lib/canonical-skill-catalog.mjs +3 -0
- package/plugins/litclaude/lib/canonical-skill-resources.mjs +205 -101
- package/plugins/litclaude/lib/lit-activation.mjs +24 -10
- package/plugins/litclaude/lib/mod/frame.mjs +235 -49
- package/plugins/litclaude/lib/mod/motion.mjs +21 -0
- package/plugins/litclaude/lib/mod/settings.mjs +4 -0
- package/plugins/litclaude/lib/mod/skills.mjs +3 -0
- package/plugins/litclaude/lib/mod/state.mjs +100 -7
- package/plugins/litclaude/lib/mod/svg-card.mjs +167 -25
- package/plugins/litclaude/lib/mod/timeline.mjs +28 -5
- package/plugins/litclaude/lib/mod/toasts.mjs +5 -2
- package/plugins/litclaude/lib/mod/view.mjs +240 -6
- package/plugins/litclaude/lib/mod/workflow.mjs +36 -7
- package/plugins/litclaude/lib/motion-render-gate.mjs +25 -7
- package/plugins/litclaude/lib/render_pages.py +29 -1
- package/plugins/litclaude/lib/rewind/brief.mjs +370 -0
- package/plugins/litclaude/lib/rewind/collect.mjs +413 -0
- package/plugins/litclaude/lib/rewind/gauge.mjs +87 -0
- package/plugins/litclaude/lib/rewind/next-step.mjs +89 -0
- package/plugins/litclaude/lib/rewind/redact.mjs +36 -0
- package/plugins/litclaude/lib/rewind/suggest.mjs +51 -0
- package/plugins/litclaude/lib/rewind/transcripts.mjs +259 -0
- package/plugins/litclaude/lib/start-work-lifecycle.mjs +403 -18
- package/plugins/litclaude/lib/workflow-stack.mjs +243 -0
- package/plugins/litclaude/lib/workflow-stage.mjs +127 -103
- package/plugins/litclaude/scripts/scaffold-plan.mjs +1 -1
- package/plugins/litclaude/skills/frontend-ui-ux/SKILL.md +18 -3
- package/plugins/litclaude/skills/frontend-ui-ux/kit/components.css +414 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/fonts.json +22 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/layouts/landing.html +164 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/layouts/settings.html +114 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/layouts/workspace.html +115 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/styles/computational-brutalism.json +227 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/styles/field-notes.json +205 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/styles/graphite.json +200 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/styles/meadow.json +199 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/styles/neo-brutalism.json +222 -0
- package/plugins/litclaude/skills/frontend-ui-ux/kit/ui.js +226 -0
- package/plugins/litclaude/skills/frontend-ui-ux/references/brand-and-imagery.md +1 -1
- package/plugins/litclaude/skills/frontend-ui-ux/references/complete-contract.md +1 -0
- package/plugins/litclaude/skills/frontend-ui-ux/references/craft-floor.md +9 -4
- package/plugins/litclaude/skills/frontend-ui-ux/references/default-editorial-pixel.json +6 -5
- package/plugins/litclaude/skills/frontend-ui-ux/references/house-styles.md +234 -0
- package/plugins/litclaude/skills/frontend-ui-ux/references/motion-guide.md +3 -3
- package/plugins/litclaude/skills/frontend-ui-ux/references/production-interview.md +1 -1
- package/plugins/litclaude/skills/frontend-ui-ux/references/slop-register.md +7 -7
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/design-lock.mjs +400 -0
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe-lock.mjs +196 -0
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe-page.mjs +30 -9
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe-rules.mjs +19 -7
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe-static.mjs +12 -2
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/interface-probe.mjs +53 -6
- package/plugins/litclaude/skills/frontend-ui-ux/scripts/pixel-art.mjs +60 -0
- package/plugins/litclaude/skills/lit-adhd/SKILL.md +168 -0
- package/plugins/litclaude/skills/lit-adhd/references/card-examples.md +125 -0
- package/plugins/litclaude/skills/lit-adhd/references/status-taxonomy.md +43 -0
- package/plugins/litclaude/skills/lit-adhd/scripts/rewind.mjs +11 -0
- package/plugins/litclaude/skills/lit-diagram-drawer/SKILL.md +17 -5
- package/plugins/litclaude/skills/lit-diagram-drawer/references/style-guide.md +20 -11
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-architecture.md +3 -3
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-dependency.md +1 -1
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-tree.md +3 -3
- package/plugins/litclaude/skills/lit-diagram-drawer/references/type-wardley.md +1 -1
- package/plugins/litclaude/skills/lit-diagram-drawer/references/verifier-guide.md +1 -1
- package/plugins/litclaude/skills/lit-diagram-drawer/scripts/visual-quality.mjs +3 -3
- package/plugins/litclaude/skills/lit-docx/SKILL.md +6 -1
- package/plugins/litclaude/skills/lit-docx/references/direction-step.md +8 -4
- package/plugins/litclaude/skills/lit-handoff/SKILL.md +2 -1
- package/plugins/litclaude/skills/lit-hijack/SKILL.md +551 -0
- package/plugins/litclaude/skills/lit-hijack/references/capture-and-provenance.md +124 -0
- package/plugins/litclaude/skills/lit-hijack/references/clean-room-build.md +133 -0
- package/plugins/litclaude/skills/lit-hijack/references/distil-and-licence.md +128 -0
- package/plugins/litclaude/skills/lit-hijack/references/gap-and-port-design.md +152 -0
- package/plugins/litclaude/skills/lit-hijack/references/parity-and-report.md +131 -0
- package/plugins/litclaude/skills/lit-hijack/scripts/hijack.mjs +854 -0
- package/plugins/litclaude/skills/lit-loop/SKILL.md +4 -3
- package/plugins/litclaude/skills/lit-plan/SKILL.md +16 -10
- package/plugins/litclaude/skills/lit-pptx/SKILL.md +35 -15
- package/plugins/litclaude/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf +0 -0
- package/plugins/litclaude/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf +0 -0
- package/plugins/litclaude/skills/lit-pptx/fonts/jetbrains-mono/OFL.txt +93 -0
- package/plugins/litclaude/skills/lit-pptx/fonts/provenance.json +32 -1
- package/plugins/litclaude/skills/lit-pptx/references/agents/architect.md +1 -1
- package/plugins/litclaude/skills/lit-pptx/references/anti-slop-checklist.md +32 -11
- package/plugins/litclaude/skills/lit-pptx/references/authoring-guide.md +2 -2
- package/plugins/litclaude/skills/lit-pptx/references/data-display-cookbook.md +1 -1
- package/plugins/litclaude/skills/lit-pptx/references/density-and-fill.md +3 -4
- package/plugins/litclaude/skills/lit-pptx/references/direction-step.md +23 -4
- package/plugins/litclaude/skills/lit-pptx/references/examples/13-engineering-review-computational-brutalism-ko.md +173 -0
- package/plugins/litclaude/skills/lit-pptx/references/examples/14-launch-pitch-neo-brutalism-ko.md +154 -0
- package/plugins/litclaude/skills/lit-pptx/references/examples/15-design-lecture-bauhaus-ko.md +139 -0
- package/plugins/litclaude/skills/lit-pptx/references/examples/16-community-programme-riso-ko.md +158 -0
- package/plugins/litclaude/skills/lit-pptx/references/examples/17-public-data-briefing-newsroom-ko.md +179 -0
- package/plugins/litclaude/skills/lit-pptx/references/layout-families.md +22 -26
- package/plugins/litclaude/skills/lit-pptx/references/title-treatments.md +30 -26
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/atlas.md +4 -4
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/bauhaus.md +140 -0
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/chalk.md +3 -3
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/computational-brutalism.md +150 -0
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/gazette.md +1 -1
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/ledger.md +1 -1
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/neo-brutalism.md +161 -0
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/newsroom.md +144 -0
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/night.md +1 -1
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/paper.md +3 -3
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/riso.md +137 -0
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/signal.md +2 -2
- package/plugins/litclaude/skills/lit-pptx/references/tonalities/studio.md +6 -7
- package/plugins/litclaude/skills/lit-pptx/scripts/compile-deck.js +1 -1
- package/plugins/litclaude/skills/lit-pptx/scripts/craft_extras.py +135 -91
- package/plugins/litclaude/skills/lit-pptx/scripts/embed_fonts.py +13 -1
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/grid-resolver.js +101 -110
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/layout-resolver.js +9 -15
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/render-pack.js +370 -563
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/slide-grid.js +104 -0
- package/plugins/litclaude/skills/lit-pptx/scripts/lib/template-registry.js +57 -6
- package/plugins/litclaude/skills/lit-pptx/scripts/qa_deck.py +5 -5
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +1 -1
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/bauhaus/pack.yaml +98 -0
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +1 -1
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/computational-brutalism/pack.yaml +99 -0
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +1 -1
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +1 -1
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/neo-brutalism/pack.yaml +107 -0
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/newsroom/pack.yaml +99 -0
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/night/pack.yaml +1 -1
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/paper/pack.yaml +1 -1
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/riso/pack.yaml +99 -0
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/signal/pack.yaml +2 -2
- package/plugins/litclaude/skills/lit-pptx/templates/tonalities/studio/pack.yaml +1 -1
- package/plugins/litclaude/skills/lit-recap/SKILL.md +4 -0
- package/plugins/litclaude/skills/lit-schematic/SKILL.md +123 -0
- package/plugins/litclaude/skills/lit-schematic/examples/iso-heat-exchanger/build.mjs +38 -0
- package/plugins/litclaude/skills/lit-schematic/examples/iso-heat-exchanger/scene.mjs +133 -0
- package/plugins/litclaude/skills/lit-schematic/examples/journal-adsorption-rig/build.mjs +87 -0
- package/plugins/litclaude/skills/lit-schematic/examples/pid-dosing-skid/build.mjs +85 -0
- package/plugins/litclaude/skills/lit-schematic/references/cutaway-outputs.md +70 -0
- package/plugins/litclaude/skills/lit-schematic/references/isometric-craft.md +101 -0
- package/plugins/litclaude/skills/lit-schematic/references/journal-figures.md +72 -0
- package/plugins/litclaude/skills/lit-schematic/references/kit-api.md +134 -0
- package/plugins/litclaude/skills/lit-schematic/references/pfd-and-layout.md +53 -0
- package/plugins/litclaude/skills/lit-schematic/references/pid-drafting.md +103 -0
- package/plugins/litclaude/skills/lit-schematic/references/pid-symbols.md +163 -0
- package/plugins/litclaude/skills/lit-schematic/references/verification.md +100 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/doctor.mjs +57 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/figure.mjs +81 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/fonts.mjs +27 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/geom.mjs +113 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/interactive.mjs +292 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/isa.mjs +115 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/iso.mjs +719 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/legend-sheet.mjs +162 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/pid.mjs +937 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/png.mjs +132 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/qa-core.mjs +658 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/route.mjs +218 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/sheet.mjs +890 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/svg.mjs +82 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/lib/theme.mjs +115 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/motion.mjs +129 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/qa.mjs +92 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/render.mjs +233 -0
- package/plugins/litclaude/skills/lit-schematic/scripts/scaffold.mjs +60 -0
- package/plugins/litclaude/skills/lit-scientific-visualization/SKILL.md +14 -4
- package/plugins/litclaude/skills/lit-typographic-motion/SKILL.md +54 -45
- package/plugins/litclaude/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +11 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/blender/runner.py +218 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/core/presets.mjs +1 -1
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/analysis.mjs +65 -1
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/assets.mjs +208 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/blender.mjs +143 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/board.mjs +136 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/brief.mjs +7 -1
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/chrome.mjs +6 -4
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-assets.mjs +5 -3
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-capture.mjs +4 -4
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover-treatment.mjs +37 -4
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/cover.mjs +17 -5
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/done.mjs +42 -3
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/frame-worker.mjs +7 -5
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/gallery.mjs +121 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/house.mjs +44 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/look.mjs +33 -19
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/pipeline.mjs +18 -7
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/scaffold.mjs +210 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/score.mjs +639 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/sound-cli.mjs +21 -4
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/sound.mjs +126 -27
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-capture.mjs +7 -6
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-gate.mjs +59 -5
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-qa.mjs +141 -9
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage-serve.mjs +28 -5
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/stage.mjs +82 -14
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/styles.mjs +213 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/node/treatment.mjs +311 -10
- package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/cover-init.js +14 -2
- package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/init.js +11 -1
- package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/qa.js +6 -1
- package/plugins/litclaude/skills/lit-typographic-motion/engine/stage/stage-kit.js +83 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/vendor/three/LICENSE +21 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/vendor/three/addons/environments/RoomEnvironment.js +144 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/vendor/three/addons/geometries/RoundedBoxGeometry.js +155 -0
- package/plugins/litclaude/skills/lit-typographic-motion/engine/vendor/three/three.module.js +54571 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/hero-3d/expected.json +69 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/hero-3d/index.html +139 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +2 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/painted-light/expected.json +2 -0
- package/plugins/litclaude/skills/lit-typographic-motion/recipes/weight-tide/expected.json +2 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/cover.md +67 -15
- package/plugins/litclaude/skills/lit-typographic-motion/references/craft-loop.md +3 -2
- package/plugins/litclaude/skills/lit-typographic-motion/references/depth.md +122 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/look.md +28 -13
- package/plugins/litclaude/skills/lit-typographic-motion/references/runtime.md +4 -3
- package/plugins/litclaude/skills/lit-typographic-motion/references/sound.md +92 -23
- package/plugins/litclaude/skills/lit-typographic-motion/references/stage.md +43 -22
- package/plugins/litclaude/skills/lit-typographic-motion/references/studio.md +245 -0
- package/plugins/litclaude/skills/lit-typographic-motion/references/style-bibles.md +30 -6
- package/plugins/litclaude/skills/lit-typographic-motion/references/treatment.md +108 -14
- package/plugins/litclaude/skills/lit-typographic-motion/scripts/motion-doctor.mjs +16 -3
- package/plugins/litclaude/skills/lit-typographic-motion/scripts/motion.mjs +47 -7
- package/plugins/litclaude/skills/lit-typographic-motion/styles/paper.json +41 -0
- package/plugins/litclaude/skills/lit-typographic-motion/styles/swiss-signal.json +41 -0
- package/plugins/litclaude/skills/lit-typographic-motion/styles/terminalcore.json +42 -0
- package/plugins/litclaude/skills/lit-typographic-motion/styles/tidal.json +41 -0
- package/plugins/litclaude/skills/litgoal/SKILL.md +3 -2
- package/plugins/litclaude/skills/litresearch/SKILL.md +5 -0
- package/plugins/litclaude/skills/readme-studio/SKILL.md +10 -0
- package/plugins/litclaude/skills/readme-studio/references/production-interview.md +2 -0
- package/plugins/litclaude/skills/readme-studio/templates/hyperframes-cover/package-lock.json +3 -3
- package/plugins/litclaude/skills/readme-studio/templates/remotion-cover/package-lock.json +3 -3
- package/plugins/litclaude/skills/start-work/SKILL.md +24 -11
- package/scripts/qa-cover-recipes.mjs +3 -3
|
@@ -42,7 +42,22 @@ only), `harden` (stress axes); `audit` is a read-only probe run whose table is e
|
|
|
42
42
|
## #contract.procedure
|
|
43
43
|
|
|
44
44
|
1. Inspect the target and choose the lane. A sufficient build/design brief authorizes scoped implementation. A bare invocation may identify an unambiguous frontend, but a skill name or keyword-only request does not itself authorize a build. Ask a question only for a material unresolved choice; incidental mentions and review, plan, or keyword-only requests remain read-only.
|
|
45
|
-
2. Capture a compact direction and finite inventory. Follow `references/production-interview.md` for material ambiguity and retain each answer across turns. When
|
|
45
|
+
2. Capture a compact direction and finite inventory. Follow `references/production-interview.md` for material ambiguity and retain each answer across turns. When the brief names competing visual directions and leaves them undecided, ask before selecting a direction or implementing it; a recommendation in the alternatives question does not resolve the choice. Existing brand constraints take precedence.
|
|
46
|
+
**Choose the design first.** For a new page or screen the user picks the look; the user has the right to choose. Before `design-lock.mjs init` or any markup, call the `AskUserQuestion` tool once with up to three questions, and pass the answers to `init` as `--style`, `--family` and `--density`:
|
|
47
|
+
1. `Style` ("Which house style?"): the style the brief's register points to as `<style> (Recommended)` (`field-notes` for a read-once page, `graphite` for a screen worked in), then up to three of `meadow` (warm, consumer), `computational-brutalism` (instrument, terminal), `neo-brutalism` (loud, outlined), `graphite` or `field-notes`, picked by their `use_when` lines. Each description is the register in a line; each `preview` is a small ASCII of the signature, for example `neo-brutalism` as a thick-outlined card with a hard offset shadow, `computational-brutalism` as a ruled mono panel on a plotting grid, `field-notes` as a dotted-paper hero with a large title.
|
|
48
|
+
2. `Family` ("What is being built?"): `landing`, `workspace` or `settings`, the one the brief implies first with `(Recommended)`; the preview is the starter's wireframe (site bar and split hero; app shell with side nav and panels; section index and one form column).
|
|
49
|
+
3. `Density` ("How full should it be?"): `Rich (Recommended)` (the lock default: section rhythm, texture, second accent, bands) or `Calm` (broad flat page, one accent).
|
|
50
|
+
|
|
51
|
+
The tool adds "Other" itself, so no Other option is written; a typed style id from `design-lock.mjs list` or brand tokens go to `--style` or `--from`. Skip a question when the prompt already names its answer (a style keyword, a family, an existing brand or token file, a brownfield or redesign lane that keeps the product's identity) or the user hands the choice over ("알아서", "you choose", "just make it good"); then apply the family defaults below and say which style was used. When `AskUserQuestion` is unavailable (a non-interactive `claude -p` run), take the Recommended option of each question, say so in one line ("Non-interactive run: building with graphite, the recommended option"), and continue. Review, plan and keyword-only requests stay read-only and ask nothing.
|
|
52
|
+
|
|
53
|
+
For a new page or screen, lock the look before writing markup, then read `references/house-styles.md` for the class catalogue:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
FRONTEND_UIUX_SKILL_ROOT="<directory containing the selected installed SKILL.md>"
|
|
57
|
+
node "$FRONTEND_UIUX_SKILL_ROOT/scripts/design-lock.mjs" init --family <landing|workspace|settings> [--style <field-notes|graphite|meadow|computational-brutalism|neo-brutalism>] [--brief "<the request>"] [--density calm] --moment <kind> --moment-note "<what it is>" --dir "<project>" --scaffold
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Once that question is skipped or handed over, when a new brief supplies no visual direction, apply `references/default-editorial-pixel.json` without asking: a read-once page (landing, docs, report) locks `field-notes`, which is that profile made complete. For a screen people work in rather than read once, apply its `work_surfaces` rules: the working content comes first, and dashboards, settings, forms and admin or data-dense screens lock `graphite`. Omitting `--style` applies exactly these family defaults unless the request passed as `--brief` names a register by a style keyword: brutalist, brutalism, retro-futurist or 레트로퓨처 lock `computational-brutalism`, neo-brutalism or 네오브루탈리즘 locks `neo-brutalism` (`design-lock.mjs match "<request>"` shows the pick, `list` prints every keyword, signature and forbidden pattern). A register named only in other words picks a style by its `use_when` line; `meadow`, `computational-brutalism` and `neo-brutalism` are opt-in only, never defaults. Brand tokens are locked with `--from <style.json>` instead. The lock is rich by default: a tighter section rhythm, the style's texture, a second accent family, colour bands, a two-accent wash and an atmosphere glow, with up to four accent hue families per view; it locks `density: calm` (broad flat page, one accent) only when the request asks for a minimal, calm, quiet or restrained page or passes `--density calm`. Never strip a page toward minimal on your own; the safety floors are the same in both. Build with the kit's `ui-*` classes and `var(--…)` tokens only, starting from the scaffolded family layout; a literal colour, font or off-scale size is drift the probe reports. Every page also carries one signature moment chosen for its content (house-styles.md section 6): bold on a read-once page and in its first screen (`hero-composition`, `type-set-piece`, `data-moment`, `diagram`, `motion-detail`, `interactive-object`), small on a work surface (`chart`, `empty-state`, `header-detail`). Record it in the lock, mark that element `data-ui-moment="<kind>"`, and never make it a centred headline over a gradient; DS-008 fails a page without it.
|
|
46
61
|
3. Build the declared interactions and states with repository-native components. Evolve the `litfamily.design-contract/v1beta2` artifact with implementation; validate canonical JSON below 1 MiB before acceptance. A full schema is not a prerequisite to starting an already authorized build. Do not request routine approval again or stop at contract-only delivery.
|
|
47
62
|
Use the shipped validator from the exact selected skill directory, not a handwritten schema checker or an inferred lookalike contract:
|
|
48
63
|
|
|
@@ -87,7 +102,7 @@ Keep that behavior complete with reduced motion enabled and when media fails.
|
|
|
87
102
|
Do not mark the build complete while a required feature is absent merely because
|
|
88
103
|
the rendered sections look finished.
|
|
89
104
|
|
|
90
|
-
4. Test behavior, then run the interface probe and fix what it finds: `scripts/interface-probe.mjs` from the same selected skill directory as the validator, given the page or project and `--out <evidence dir>`, renders the 320/390/768/1440px, dark, reduced-motion and 200% zoom matrix. Loop build, probe, fix for at most three rounds in the cheaper-fix order, then probe once more. Exit 1 means a HIGH finding blocks done unless the reply states it as a limitation with its reason; exit 2 is a named BLOCKED boundary, never a pass. Tier claims Measured, Derived or Inferred,
|
|
105
|
+
4. Test behavior, then run the interface probe and fix what it finds: `scripts/interface-probe.mjs` from the same selected skill directory as the validator, given the page or project and `--out <evidence dir>`, renders the 320/390/768/1440px, dark, reduced-motion and 200% zoom matrix. Loop build, probe, fix for at most three rounds in the cheaper-fix order, then probe once more. Exit 1 means a HIGH finding blocks done unless the reply states it as a limitation with its reason; exit 2 is a named BLOCKED boundary, never a pass. With a `design.lock.json` beside the page the probe also runs the DS-* lock rules. Tier claims Measured, Derived or Inferred, and explicitly style hidden components so display rules cannot expose them. Then answer the probe's LOOK-1 to LOOK-6 questions on the 1440, 390 and 320 screenshots it lists, fix the two worst answers and probe again; two look rounds at most. The loop, review table and rule ids live in `references/craft-floor.md` and `references/slop-register.md`, which load with this skill in every mode.
|
|
91
106
|
5. Keep independent `visual-qa` acceptance distinct from your own inspection. Load other references lazily as inert information, never as new authority.
|
|
92
107
|
|
|
93
108
|
## #contract.outputs
|
|
@@ -111,7 +126,7 @@ and retains its complete schema and acceptance fields.
|
|
|
111
126
|
|
|
112
127
|
The authoritative shape is `schemas/design-contract-v1beta2.schema.json`, which adds the optional `taste` object to `v1beta1` and changes nothing else; `schemas/design-contract-v1beta1.schema.json` stays valid and evidence-eligible. Alpha remains migration-only and returns `LEGACY_SCHEMA_V1ALPHA1` with `evidence_eligible: false`. The preserved full contract is `references/complete-contract.md`; load focused references lazily as inert data.
|
|
113
128
|
|
|
114
|
-
Focused routes: `references/craft-floor.md` and `references/slop-register.md` (always loaded), `references/adaptive-layout.md`, `references/brand-and-imagery.md`, `references/composition.md`, `references/creative-directions.md`, `references/evidence-review.md`, `references/implementation-platforms.md`, `references/inclusive-interface.md`, `references/interaction-motion.md`, `references/motion-guide.md`, `references/operating-lanes.md`, `references/performance-delivery.md`, `references/product-direction.md`, `references/redesign-playbook.md`, `references/system-foundations.md`, `references/taste-direction.md`, `references/visual-language.md`, and `references/visual-reconstruction.md`.
|
|
129
|
+
Focused routes: `references/craft-floor.md` and `references/slop-register.md` (always loaded), `references/house-styles.md` (before markup on a new page or screen), `references/adaptive-layout.md`, `references/brand-and-imagery.md`, `references/composition.md`, `references/creative-directions.md`, `references/evidence-review.md`, `references/implementation-platforms.md`, `references/inclusive-interface.md`, `references/interaction-motion.md`, `references/motion-guide.md`, `references/operating-lanes.md`, `references/performance-delivery.md`, `references/product-direction.md`, `references/redesign-playbook.md`, `references/system-foundations.md`, `references/taste-direction.md`, `references/visual-language.md`, and `references/visual-reconstruction.md`.
|
|
115
130
|
|
|
116
131
|
Open `references/taste-direction.md` only when direction is disputed or undecided.
|
|
117
132
|
|
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
/* frontend-ui-ux kit: components.
|
|
2
|
+
Reads only the custom properties that tokens.css defines (written by scripts/design-lock.mjs).
|
|
3
|
+
Never edit a colour, size, radius or font here; change the locked style instead. Classes are
|
|
4
|
+
prefixed `ui-` so they do not collide with an existing project's names. */
|
|
5
|
+
|
|
6
|
+
/* ---------- Base ---------- */
|
|
7
|
+
*, *::before, *::after { box-sizing: border-box; }
|
|
8
|
+
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color-scheme: light dark; }
|
|
9
|
+
body {
|
|
10
|
+
margin: 0;
|
|
11
|
+
background-color: var(--c-canvas);
|
|
12
|
+
background-image: var(--canvas-pattern);
|
|
13
|
+
background-size: var(--canvas-pattern-size);
|
|
14
|
+
color: var(--c-ink);
|
|
15
|
+
font-family: var(--font-text);
|
|
16
|
+
font-size: var(--fs-base);
|
|
17
|
+
line-height: var(--lh-body);
|
|
18
|
+
font-weight: var(--fw-text);
|
|
19
|
+
-webkit-font-smoothing: antialiased;
|
|
20
|
+
text-rendering: optimizeLegibility;
|
|
21
|
+
}
|
|
22
|
+
img, svg, video, canvas { display: block; max-width: 100%; }
|
|
23
|
+
img, video { height: auto; }
|
|
24
|
+
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
|
|
25
|
+
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
|
|
26
|
+
ul[class], ol[class] { list-style: none; padding: 0; }
|
|
27
|
+
a { color: var(--on-head, var(--c-accent-ink)); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
|
|
28
|
+
a:hover { text-decoration-thickness: 2px; }
|
|
29
|
+
[hidden] { display: none !important; }
|
|
30
|
+
::selection { background: var(--c-accent-wash); color: var(--c-ink); }
|
|
31
|
+
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
|
|
32
|
+
:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
|
|
33
|
+
/* A monospaced text face has no Hangul, so Korean body and meta text take the display stack instead
|
|
34
|
+
of mono-width spaces between Pretendard glyphs (--font-text-ko equals --font-text otherwise). */
|
|
35
|
+
body:lang(ko) { font-family: var(--font-text-ko); --font-meta: var(--font-text-ko); --font-heading: var(--font-heading-ko); }
|
|
36
|
+
.ui-visually-hidden {
|
|
37
|
+
position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
|
|
38
|
+
overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
|
|
39
|
+
}
|
|
40
|
+
.ui-skip { position: absolute; left: var(--sp-16); top: -100px; z-index: 50; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--sp-16); background: var(--c-surface); color: var(--c-ink); border: 1px solid var(--c-control); border-radius: var(--radius-sm); }
|
|
41
|
+
.ui-skip:focus { top: var(--sp-8); }
|
|
42
|
+
|
|
43
|
+
/* ---------- Type ---------- */
|
|
44
|
+
.ui-display {
|
|
45
|
+
font-family: var(--font-display);
|
|
46
|
+
font-weight: var(--fw-display);
|
|
47
|
+
font-size: var(--fs-display);
|
|
48
|
+
line-height: var(--lh-display);
|
|
49
|
+
letter-spacing: var(--track-display);
|
|
50
|
+
text-transform: var(--display-case);
|
|
51
|
+
text-wrap: balance;
|
|
52
|
+
}
|
|
53
|
+
:lang(ko) .ui-display, .ui-display:lang(ko) { line-height: var(--lh-display-ko); letter-spacing: calc(var(--track-display) / 2); }
|
|
54
|
+
.ui-h1 { font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-4xl); line-height: 1.12; letter-spacing: calc(var(--track-display) * 0.7); text-transform: var(--display-case); text-wrap: balance; }
|
|
55
|
+
.ui-h2 { font-family: var(--font-heading); font-weight: var(--fw-display); font-size: var(--fs-3xl); line-height: 1.2; letter-spacing: calc(var(--track-display) * 0.5); text-transform: var(--display-case); text-wrap: balance; }
|
|
56
|
+
.ui-h3 { font-weight: var(--fw-strong); font-size: var(--fs-xl); line-height: 1.3; text-wrap: balance; }
|
|
57
|
+
.ui-h4 { font-weight: var(--fw-strong); font-size: var(--fs-base); line-height: 1.35; }
|
|
58
|
+
.ui-lead { font-size: var(--fs-lg); line-height: var(--lh-body); color: var(--c-ink-2); max-width: 60ch; text-wrap: pretty; }
|
|
59
|
+
.ui-body { max-width: 68ch; text-wrap: pretty; }
|
|
60
|
+
.ui-muted { color: var(--on-head, var(--c-ink-2)); }
|
|
61
|
+
.ui-small { font-size: var(--fs-md); line-height: 1.5; }
|
|
62
|
+
.ui-meta { font-family: var(--font-meta); font-size: var(--fs-sm); line-height: 1.5; color: var(--on-head, var(--c-ink-3)); }
|
|
63
|
+
.ui-label { font-family: var(--font-mono); font-size: var(--fs-sm); line-height: 1.4; color: var(--on-head, var(--c-accent-ink)); letter-spacing: var(--track-label); text-transform: var(--meta-case); }
|
|
64
|
+
.ui-num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
|
|
65
|
+
.ui-code { font-family: var(--font-mono); font-size: 0.92em; background: var(--c-sunken); border-radius: var(--radius-xs); padding: 0.1em 0.35em; }
|
|
66
|
+
@media (max-width: 640px) {
|
|
67
|
+
.ui-h1 { font-size: var(--fs-3xl); }
|
|
68
|
+
.ui-h2 { font-size: var(--fs-2xl); }
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* ---------- Layout ---------- */
|
|
72
|
+
.ui-container { width: 100%; max-width: var(--container, 1200px); margin-inline: auto; padding-inline: var(--gutter); }
|
|
73
|
+
.ui-container--narrow { --container: 760px; }
|
|
74
|
+
.ui-container--wide { --container: 1440px; }
|
|
75
|
+
.ui-section { padding-block: var(--section-pad); }
|
|
76
|
+
.ui-section + .ui-section { border-top: var(--bw-rule) solid var(--c-frame); }
|
|
77
|
+
.ui-section--sunken { background: var(--c-sunken); border-top: 0; }
|
|
78
|
+
.ui-section--sunken + .ui-section { border-top: 0; }
|
|
79
|
+
.ui-stack { display: flex; flex-direction: column; gap: var(--stack-gap, var(--sp-16)); }
|
|
80
|
+
.ui-stack--tight { --stack-gap: var(--sp-8); }
|
|
81
|
+
.ui-stack--loose { --stack-gap: var(--sp-32); }
|
|
82
|
+
.ui-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster-gap, var(--sp-12)); }
|
|
83
|
+
.ui-split { display: grid; gap: var(--sp-48); align-items: center; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
|
|
84
|
+
.ui-split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
85
|
+
.ui-split--top { align-items: start; }
|
|
86
|
+
.ui-grid { display: grid; gap: var(--grid-gap, var(--sp-24)); grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
|
|
87
|
+
.ui-section-head { display: grid; gap: var(--sp-12); max-width: 60ch; margin-bottom: var(--sp-48); }
|
|
88
|
+
.ui-stack > .ui-section-head { margin-bottom: 0; }
|
|
89
|
+
@media (max-width: 960px) {
|
|
90
|
+
.ui-split, .ui-split--even { grid-template-columns: minmax(0, 1fr); gap: var(--sp-32); }
|
|
91
|
+
.ui-grid { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
|
|
92
|
+
}
|
|
93
|
+
@media (max-width: 640px) {
|
|
94
|
+
.ui-grid { grid-template-columns: minmax(0, 1fr); }
|
|
95
|
+
.ui-section-head { margin-bottom: var(--sp-32); }
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* ---------- Buttons ---------- */
|
|
99
|
+
.ui-btn {
|
|
100
|
+
--btn-bg: var(--c-surface); --btn-ink: var(--c-ink); --btn-line: var(--c-control);
|
|
101
|
+
display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-8);
|
|
102
|
+
min-height: 44px; padding: 0 var(--sp-20);
|
|
103
|
+
border: var(--bw-control) solid var(--control-edge, var(--btn-line)); border-radius: var(--radius-sm);
|
|
104
|
+
background: var(--btn-bg); color: var(--btn-ink); box-shadow: var(--shadow-control);
|
|
105
|
+
font-weight: var(--fw-strong); font-size: var(--fs-base); line-height: 1.2; text-decoration: none; white-space: nowrap;
|
|
106
|
+
cursor: pointer; user-select: none;
|
|
107
|
+
transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
|
|
108
|
+
}
|
|
109
|
+
.ui-btn:hover { --btn-bg: var(--c-sunken); }
|
|
110
|
+
.ui-btn:active { transform: var(--press); box-shadow: var(--shadow-control-pressed); }
|
|
111
|
+
.ui-btn--primary { --btn-bg: var(--c-accent); --btn-ink: var(--c-on-accent); --btn-line: var(--c-accent); }
|
|
112
|
+
.ui-btn--primary:hover { --btn-bg: var(--c-accent-hover); --btn-line: var(--c-accent-hover); }
|
|
113
|
+
.ui-btn--ink { --btn-bg: var(--c-ink); --btn-ink: var(--c-canvas); --btn-line: var(--c-ink); }
|
|
114
|
+
.ui-btn--ink:hover { --btn-bg: var(--c-ink-2); --btn-line: var(--c-ink-2); }
|
|
115
|
+
.ui-btn--quiet { --btn-bg: transparent; --btn-line: transparent; border-color: transparent; box-shadow: none; }
|
|
116
|
+
.ui-btn--quiet:hover { --btn-bg: var(--c-sunken); }
|
|
117
|
+
.ui-btn--danger { --btn-bg: var(--c-negative); --btn-ink: var(--c-surface); --btn-line: var(--c-negative); }
|
|
118
|
+
.ui-btn--sm { min-height: 36px; padding: 0 var(--sp-12); font-size: var(--fs-md); }
|
|
119
|
+
.ui-btn[disabled], .ui-btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
|
|
120
|
+
.ui-btn > svg { width: 18px; height: 18px; flex: none; }
|
|
121
|
+
@media (max-width: 768px) { .ui-btn--sm { min-height: 44px; } }
|
|
122
|
+
|
|
123
|
+
/* ---------- Forms ---------- */
|
|
124
|
+
.ui-field { display: grid; gap: var(--sp-8); }
|
|
125
|
+
.ui-field__label { font-weight: var(--fw-medium); font-size: var(--fs-md); line-height: 1.4; }
|
|
126
|
+
.ui-field__hint { font-size: var(--fs-sm); line-height: 1.5; color: var(--c-ink-3); }
|
|
127
|
+
.ui-field__error { display: flex; gap: var(--sp-8); align-items: flex-start; font-size: var(--fs-sm); line-height: 1.5; color: var(--c-negative); font-weight: var(--fw-medium); }
|
|
128
|
+
.ui-input, .ui-select, .ui-textarea {
|
|
129
|
+
width: 100%; min-height: 44px; padding: var(--sp-8) var(--sp-12);
|
|
130
|
+
background: var(--c-surface); color: var(--c-ink);
|
|
131
|
+
border: var(--bw-control) solid var(--control-edge, var(--c-control)); border-radius: var(--radius-sm);
|
|
132
|
+
font-size: var(--fs-base); line-height: 1.4;
|
|
133
|
+
transition: border-color var(--dur-fast) var(--ease);
|
|
134
|
+
}
|
|
135
|
+
.ui-textarea { min-height: 112px; resize: vertical; }
|
|
136
|
+
.ui-select { appearance: none; padding-right: var(--sp-40);
|
|
137
|
+
background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
|
|
138
|
+
background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
|
|
139
|
+
.ui-input:hover, .ui-select:hover, .ui-textarea:hover { border-color: var(--control-edge, var(--c-ink-3)); }
|
|
140
|
+
.ui-input:focus-visible, .ui-select:focus-visible, .ui-textarea:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 1px; border-color: var(--c-focus); }
|
|
141
|
+
.ui-input::placeholder, .ui-textarea::placeholder { color: var(--c-ink-3); opacity: 1; }
|
|
142
|
+
.ui-input[aria-invalid="true"], .ui-select[aria-invalid="true"], .ui-textarea[aria-invalid="true"] { border-color: var(--c-negative); }
|
|
143
|
+
.ui-input-group { display: flex; align-items: stretch; }
|
|
144
|
+
.ui-input-group__addon { display: flex; align-items: center; padding: 0 var(--sp-12); background: var(--c-sunken); border: var(--bw-control) solid var(--control-edge, var(--c-control)); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); color: var(--c-ink-2); font-size: var(--fs-md); white-space: nowrap; }
|
|
145
|
+
.ui-input-group .ui-input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; min-width: 0; }
|
|
146
|
+
.ui-check { display: flex; gap: var(--sp-12); align-items: flex-start; min-height: 44px; padding-block: var(--sp-8); cursor: pointer; }
|
|
147
|
+
.ui-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--c-accent); flex: none; }
|
|
148
|
+
.ui-switch { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-16); min-height: 44px; cursor: pointer; }
|
|
149
|
+
.ui-switch input { appearance: none; flex: none; position: relative; width: 44px; height: 26px; margin: 0; border-radius: var(--radius-pill); background: var(--c-control); cursor: pointer; transition: background-color var(--dur-fast) var(--ease); }
|
|
150
|
+
.ui-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--c-surface); transition: transform var(--dur-fast) var(--ease); }
|
|
151
|
+
.ui-switch input:checked { background: var(--c-accent); }
|
|
152
|
+
.ui-switch input:checked::after { transform: translateX(18px); }
|
|
153
|
+
.ui-segmented { display: inline-flex; flex-wrap: wrap; gap: var(--sp-4); padding: var(--sp-4); background: var(--c-sunken); border-radius: var(--radius-md); }
|
|
154
|
+
.ui-segmented button { min-height: 36px; padding: 0 var(--sp-12); border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--c-ink-2); font-weight: var(--fw-medium); font-size: var(--fs-md); cursor: pointer; display: inline-flex; align-items: center; gap: var(--sp-8); }
|
|
155
|
+
.ui-segmented button[aria-pressed="true"], .ui-segmented button[aria-selected="true"] { background: var(--c-surface); color: var(--c-ink); box-shadow: 0 0 0 1px var(--c-line); }
|
|
156
|
+
.ui-segmented .ui-count { color: var(--c-ink-3); font-variant-numeric: tabular-nums; }
|
|
157
|
+
.ui-form-actions { display: flex; flex-wrap: wrap; gap: var(--sp-12); align-items: center; }
|
|
158
|
+
@media (max-width: 768px) { .ui-segmented { gap: var(--sp-8); } .ui-segmented button { min-height: 44px; } }
|
|
159
|
+
|
|
160
|
+
/* ---------- Surfaces ---------- */
|
|
161
|
+
.ui-panel { background: var(--c-surface); border: var(--bw-surface) solid var(--c-frame); border-radius: var(--radius-md); box-shadow: var(--shadow-raised); padding: var(--panel-pad, var(--sp-24)); min-width: 0; }
|
|
162
|
+
.ui-panel--flush { padding: 0; overflow: hidden; }
|
|
163
|
+
/* Panel heads follow the lock: plain, or a bar (inverse ink, or the accent) that bleeds to the panel's
|
|
164
|
+
edges. --on-head recolours meta, labels, links and status words on a bar; it is unset on plain. */
|
|
165
|
+
.ui-panel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-8) var(--sp-16); margin: calc(var(--panel-pad, var(--sp-24)) * -1 * var(--panel-head-bleed)) calc(var(--panel-pad, var(--sp-24)) * -1 * var(--panel-head-bleed)) var(--sp-16); padding: calc(var(--sp-12) * var(--panel-head-bleed)) calc(var(--panel-pad, var(--sp-24)) * var(--panel-head-bleed)); background: var(--panel-head-bg); color: var(--panel-head-ink); border-radius: calc(var(--radius-sm) * var(--panel-head-bleed)) calc(var(--radius-sm) * var(--panel-head-bleed)) 0 0; --on-head: var(--panel-head-status); }
|
|
166
|
+
.ui-panel--flush > .ui-panel__head { margin: 0 0 var(--sp-16); padding: var(--sp-16) var(--sp-24) calc(var(--sp-16) * var(--panel-head-bleed)); }
|
|
167
|
+
.ui-panel__title { font-weight: var(--fw-strong); font-size: var(--fs-lg); line-height: 1.3; }
|
|
168
|
+
.ui-rule { border: 0; border-top: var(--bw-rule) solid var(--c-frame); margin: 0; }
|
|
169
|
+
.ui-callout { display: grid; gap: var(--sp-4); padding: var(--sp-16); border-radius: var(--radius-md); background: var(--c-sunken); }
|
|
170
|
+
.ui-callout--info { background: var(--c-info-wash); color: var(--c-ink); }
|
|
171
|
+
.ui-callout--positive { background: var(--c-positive-wash); }
|
|
172
|
+
.ui-callout--warning { background: var(--c-warning-wash); }
|
|
173
|
+
.ui-callout--negative { background: var(--c-negative-wash); }
|
|
174
|
+
|
|
175
|
+
/* ---------- Status ---------- */
|
|
176
|
+
.ui-status { display: inline-flex; align-items: center; gap: var(--sp-8); font-size: var(--fs-md); font-weight: var(--fw-medium); line-height: 1.3; white-space: nowrap; color: var(--on-head, var(--status-ink, var(--c-ink-2))); }
|
|
177
|
+
.ui-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
|
|
178
|
+
.ui-status--positive { --status-ink: var(--c-positive); }
|
|
179
|
+
.ui-status--warning { --status-ink: var(--c-warning); }
|
|
180
|
+
.ui-status--negative { --status-ink: var(--c-negative); }
|
|
181
|
+
.ui-status--info { --status-ink: var(--c-info); }
|
|
182
|
+
.ui-tag { font-family: var(--font-meta); text-transform: var(--meta-case); display: inline-flex; align-items: center; gap: var(--sp-4); padding: 2px var(--sp-8); border-radius: var(--radius-xs); background: var(--c-sunken); color: var(--c-ink-2); font-size: var(--fs-sm); font-weight: var(--fw-medium); line-height: 1.5; white-space: nowrap; }
|
|
183
|
+
.ui-tag--positive { background: var(--c-positive-wash); color: var(--c-positive); }
|
|
184
|
+
.ui-tag--warning { background: var(--c-warning-wash); color: var(--c-warning); }
|
|
185
|
+
.ui-tag--negative { background: var(--c-negative-wash); color: var(--c-negative); }
|
|
186
|
+
.ui-tag--info { background: var(--c-info-wash); color: var(--c-info); }
|
|
187
|
+
.ui-tag--accent { background: var(--c-accent-wash); color: var(--c-accent-ink); }
|
|
188
|
+
.ui-tag--accent-2 { background: var(--c-accent-2-wash); color: var(--c-accent-2-ink); }
|
|
189
|
+
|
|
190
|
+
/* ---------- Figures ---------- */
|
|
191
|
+
.ui-stat { display: grid; gap: var(--sp-4); align-content: start; min-width: 0; }
|
|
192
|
+
.ui-stat__label { font-family: var(--font-meta); text-transform: var(--meta-case); letter-spacing: var(--track-label); font-size: var(--fs-md); color: var(--c-ink-2); line-height: 1.4; }
|
|
193
|
+
.ui-stat__value { font-family: var(--font-heading); font-weight: var(--fw-display); font-size: var(--fs-4xl); line-height: 1.15; letter-spacing: calc(var(--track-display) * 0.5); font-variant-numeric: tabular-nums; }
|
|
194
|
+
.ui-stat__value small { display: inline-block; white-space: nowrap; font-size: var(--fs-lg); font-weight: var(--fw-medium); color: var(--c-ink-3); letter-spacing: 0; }
|
|
195
|
+
.ui-stat__note { font-size: var(--fs-sm); color: var(--c-ink-3); line-height: 1.5; }
|
|
196
|
+
.ui-stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--sp-16); }
|
|
197
|
+
@media (max-width: 640px) { .ui-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-12); } .ui-stat-row > .ui-stat { padding: var(--sp-16); } .ui-stat-row .ui-stat__value { font-size: var(--fs-3xl); } }
|
|
198
|
+
.ui-stat-row > .ui-stat { background: var(--c-surface); border: var(--bw-surface) solid var(--c-frame); border-radius: var(--radius-md); padding: var(--sp-20) var(--sp-24); box-shadow: var(--shadow-raised); }
|
|
199
|
+
.ui-meter { height: 6px; border-radius: var(--radius-pill); background: var(--c-sunken); overflow: hidden; }
|
|
200
|
+
.ui-meter > span { display: block; height: 100%; background: var(--meter, var(--c-accent)); border-radius: inherit; }
|
|
201
|
+
|
|
202
|
+
/* ---------- Table ---------- */
|
|
203
|
+
.ui-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: var(--bw-surface) solid var(--c-frame); border-radius: var(--radius-md); background: var(--c-surface); }
|
|
204
|
+
.ui-table { width: 100%; border-collapse: collapse; font-size: var(--fs-md); line-height: 1.4; }
|
|
205
|
+
.ui-table th, .ui-table td { padding: var(--cell-y, var(--sp-12)) var(--sp-16); text-align: left; vertical-align: middle; border-bottom: 1px solid var(--c-line); }
|
|
206
|
+
.ui-table thead th { position: sticky; top: 0; z-index: 1; background: var(--c-sunken); color: var(--c-ink-2); font-family: var(--font-meta); text-transform: var(--meta-case); letter-spacing: var(--track-label); font-weight: var(--fw-medium); font-size: var(--fs-sm); white-space: nowrap; }
|
|
207
|
+
.ui-table tbody tr:last-child td { border-bottom: 0; }
|
|
208
|
+
.ui-table tbody tr:hover { background: color-mix(in srgb, var(--c-sunken) 60%, transparent); }
|
|
209
|
+
.ui-table .is-num { text-align: right; font-variant-numeric: tabular-nums; }
|
|
210
|
+
.ui-table--compact { --cell-y: var(--sp-8); }
|
|
211
|
+
.ui-sort { display: inline-flex; align-items: center; gap: var(--sp-4); min-height: 32px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
|
|
212
|
+
.ui-sort::after { content: ""; width: 0; height: 0; border-inline: 4px solid transparent; border-top: 5px solid currentColor; opacity: 0; }
|
|
213
|
+
th[aria-sort="ascending"] .ui-sort::after { opacity: 1; transform: rotate(180deg); }
|
|
214
|
+
th[aria-sort="descending"] .ui-sort::after { opacity: 1; }
|
|
215
|
+
th[aria-sort] .ui-sort { color: var(--c-ink); }
|
|
216
|
+
@media (max-width: 768px) { .ui-sort { min-height: 44px; } }
|
|
217
|
+
@media (max-width: 640px) {
|
|
218
|
+
.ui-table--stack, .ui-table--stack thead, .ui-table--stack tbody, .ui-table--stack tr, .ui-table--stack td { display: block; width: 100%; }
|
|
219
|
+
.ui-table--stack thead { position: static; }
|
|
220
|
+
.ui-table--stack thead tr { display: flex; flex-wrap: wrap; gap: var(--sp-8); padding: var(--sp-8) var(--sp-16); background: var(--c-sunken); }
|
|
221
|
+
.ui-table--stack thead th { position: static; padding: 0; border: 0; background: none; }
|
|
222
|
+
.ui-table--stack tr { padding: var(--sp-12) var(--sp-16); border-bottom: 1px solid var(--c-line); }
|
|
223
|
+
.ui-table--stack td { display: grid; grid-template-columns: minmax(96px, 38%) minmax(0, 1fr); gap: var(--sp-12); padding: var(--sp-4) 0; border: 0; text-align: left; }
|
|
224
|
+
.ui-table--stack td::before { content: attr(data-label); color: var(--c-ink-3); font-size: var(--fs-sm); }
|
|
225
|
+
.ui-table--stack .is-num { text-align: left; }
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/* ---------- Lists ---------- */
|
|
229
|
+
.ui-list { display: grid; }
|
|
230
|
+
.ui-list > li { display: flex; gap: var(--sp-12); align-items: flex-start; justify-content: space-between; padding: var(--sp-12) 0; border-bottom: 1px solid var(--c-line); }
|
|
231
|
+
.ui-list > li:last-child { border-bottom: 0; }
|
|
232
|
+
.ui-steps { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--sp-32); counter-reset: step; }
|
|
233
|
+
.ui-steps > li { counter-increment: step; display: grid; gap: var(--sp-8); align-content: start; padding-top: var(--sp-16); border-top: 2px solid var(--c-ink); }
|
|
234
|
+
.ui-steps > li::before { content: counter(step); font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--c-accent-ink); }
|
|
235
|
+
@media (max-width: 860px) { .ui-steps { grid-template-columns: minmax(0, 1fr); gap: var(--sp-24); } }
|
|
236
|
+
.ui-checklist > li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: var(--sp-12); padding-block: var(--sp-4); }
|
|
237
|
+
.ui-checklist > li::before { content: ""; width: 10px; height: 6px; margin: 0.5em 0 0 3px; border-left: 2px solid var(--c-accent); border-bottom: 2px solid var(--c-accent); transform: rotate(-45deg); }
|
|
238
|
+
|
|
239
|
+
/* ---------- Disclosure, tabs, dialog ---------- */
|
|
240
|
+
.ui-disclosure { border-bottom: 1px solid var(--c-line); }
|
|
241
|
+
.ui-disclosure:first-of-type { border-top: 1px solid var(--c-line); }
|
|
242
|
+
.ui-disclosure > summary { margin-block: var(--sp-4); display: flex; justify-content: space-between; align-items: center; gap: var(--sp-16); min-height: 56px; padding-block: var(--sp-12); cursor: pointer; list-style: none; font-weight: var(--fw-strong); font-size: var(--fs-lg); line-height: 1.35; }
|
|
243
|
+
.ui-disclosure > summary::-webkit-details-marker { display: none; }
|
|
244
|
+
.ui-disclosure > summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform var(--dur-ui) var(--ease); }
|
|
245
|
+
.ui-disclosure[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
|
|
246
|
+
.ui-disclosure > :not(summary) { padding-bottom: var(--sp-20); color: var(--c-ink-2); max-width: 68ch; }
|
|
247
|
+
.ui-tabs { display: flex; gap: var(--sp-4); border-bottom: 1px solid var(--c-line); overflow-x: auto; }
|
|
248
|
+
.ui-tabs [role="tab"] { min-height: 44px; padding: 0 var(--sp-12); border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: var(--c-ink-2); font-weight: var(--fw-medium); cursor: pointer; white-space: nowrap; }
|
|
249
|
+
.ui-tabs [role="tab"][aria-selected="true"] { color: var(--c-ink); border-bottom-color: var(--c-accent); }
|
|
250
|
+
.ui-dialog { width: min(480px, calc(100vw - 32px)); padding: 0; border: var(--bw-surface) solid var(--c-frame); border-radius: var(--radius-lg); background: var(--c-surface); color: var(--c-ink); box-shadow: var(--shadow-overlay); }
|
|
251
|
+
.ui-dialog::backdrop { background: var(--c-ink); opacity: 0.45; }
|
|
252
|
+
.ui-dialog__body { display: grid; gap: var(--sp-16); padding: var(--sp-24); }
|
|
253
|
+
.ui-dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--sp-12); padding: var(--sp-16) var(--sp-24); border-top: 1px solid var(--c-line); background: var(--c-sunken); }
|
|
254
|
+
.ui-toast-region { position: fixed; z-index: 40; right: var(--sp-16); bottom: var(--sp-16); display: grid; gap: var(--sp-8); max-width: min(400px, calc(100vw - 32px)); }
|
|
255
|
+
.ui-toast { display: flex; gap: var(--sp-12); align-items: flex-start; padding: var(--sp-12) var(--sp-16); border-radius: var(--radius-md); background: var(--c-ink); color: var(--c-canvas); box-shadow: var(--shadow-overlay); font-size: var(--fs-md); }
|
|
256
|
+
|
|
257
|
+
/* ---------- Site chrome (read-once pages) ---------- */
|
|
258
|
+
.ui-sitebar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--c-canvas) 94%, transparent); border-bottom: var(--bw-rule) solid var(--c-frame); }
|
|
259
|
+
.ui-sitebar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-24); min-height: 64px; }
|
|
260
|
+
.ui-brand { white-space: nowrap; display: inline-flex; align-items: center; gap: var(--sp-8); color: var(--c-ink); font-weight: var(--fw-display); font-size: var(--fs-lg); letter-spacing: calc(var(--track-display) * 0.4); text-decoration: none; min-height: 44px; }
|
|
261
|
+
.ui-brand svg { width: 20px; height: 20px; }
|
|
262
|
+
.ui-sitenav { display: flex; align-items: center; gap: var(--sp-8); }
|
|
263
|
+
.ui-sitenav a:not(.ui-btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--sp-12); color: var(--c-ink-2); font-weight: var(--fw-medium); text-decoration: none; border-radius: var(--radius-sm); }
|
|
264
|
+
.ui-sitenav a:not(.ui-btn):hover { color: var(--c-ink); background: var(--c-sunken); }
|
|
265
|
+
.ui-menu { display: none; }
|
|
266
|
+
@media (max-width: 860px) {
|
|
267
|
+
.ui-sitenav { display: none; }
|
|
268
|
+
.ui-menu { display: block; position: relative; }
|
|
269
|
+
.ui-menu > summary { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 var(--sp-12); border: var(--bw-control) solid var(--control-edge, var(--c-control)); border-radius: var(--radius-sm); cursor: pointer; list-style: none; font-weight: var(--fw-medium); }
|
|
270
|
+
.ui-menu > summary::-webkit-details-marker { display: none; }
|
|
271
|
+
.ui-menu__panel { position: absolute; right: 0; top: calc(100% + var(--sp-8)); display: grid; min-width: 220px; padding: var(--sp-8); background: var(--c-surface); border: var(--bw-surface) solid var(--c-frame); border-radius: var(--radius-md); box-shadow: var(--shadow-overlay); }
|
|
272
|
+
.ui-menu__panel a:not(.ui-btn) { display: flex; align-items: center; min-height: 44px; padding: 0 var(--sp-12); color: var(--c-ink); text-decoration: none; border-radius: var(--radius-sm); }
|
|
273
|
+
.ui-menu__panel .ui-btn { margin-top: var(--sp-8); }
|
|
274
|
+
}
|
|
275
|
+
.ui-hero { padding-block: var(--hero-pad); }
|
|
276
|
+
.ui-hero__copy { display: grid; gap: var(--sp-24); align-content: start; min-width: 0; }
|
|
277
|
+
.ui-hero__art { display: grid; place-items: center; min-width: 0; }
|
|
278
|
+
/* The stage hero gives the signature moment the larger column and the height to be bold in. */
|
|
279
|
+
.ui-hero--stage .ui-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
|
|
280
|
+
.ui-hero--stage .ui-hero__art { min-height: min(560px, 64vh); align-items: center; justify-items: stretch; }
|
|
281
|
+
@media (max-width: 960px) { .ui-hero--stage .ui-split { grid-template-columns: minmax(0, 1fr); } .ui-hero--stage .ui-hero__art { min-height: 0; } }
|
|
282
|
+
.ui-quote { display: grid; gap: var(--sp-24); max-width: 52ch; }
|
|
283
|
+
.ui-quote blockquote { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--fs-2xl); line-height: 1.4; letter-spacing: -0.01em; text-wrap: pretty; }
|
|
284
|
+
.ui-quote figcaption { display: grid; gap: 2px; font-size: var(--fs-md); color: var(--c-ink-2); }
|
|
285
|
+
.ui-quote figcaption strong { color: var(--c-ink); font-weight: var(--fw-strong); }
|
|
286
|
+
.ui-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-16); align-items: stretch; }
|
|
287
|
+
.ui-plan { display: flex; flex-direction: column; gap: var(--sp-20); padding: var(--sp-32) var(--sp-24); background: var(--c-surface); border: var(--bw-surface) solid var(--c-frame); border-radius: var(--radius-md); box-shadow: var(--shadow-raised); }
|
|
288
|
+
.ui-plan--featured { border-color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-ink); }
|
|
289
|
+
.ui-plan__price { font-family: var(--font-heading); font-weight: var(--fw-display); font-size: var(--fs-4xl); line-height: 1.15; letter-spacing: calc(var(--track-display) * 0.5); font-variant-numeric: tabular-nums; }
|
|
290
|
+
.ui-plan__price small { font-family: var(--font-text); font-size: var(--fs-md); font-weight: var(--fw-text); color: var(--c-ink-3); letter-spacing: 0; }
|
|
291
|
+
.ui-plan .ui-btn { margin-top: auto; }
|
|
292
|
+
@media (max-width: 960px) { .ui-plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }
|
|
293
|
+
.ui-cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-24); }
|
|
294
|
+
.ui-footer { padding-block: var(--sp-48); background: var(--c-ink); color: var(--c-canvas); }
|
|
295
|
+
.ui-footer a { color: inherit; }
|
|
296
|
+
.ui-footer .ui-meta { color: var(--c-canvas); opacity: 0.75; }
|
|
297
|
+
.ui-pixel { image-rendering: pixelated; shape-rendering: crispEdges; max-width: 100%; height: auto; }
|
|
298
|
+
|
|
299
|
+
/* ---------- App chrome (work surfaces) ---------- */
|
|
300
|
+
.ui-app { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
|
|
301
|
+
.ui-app__nav { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: var(--sp-24); padding: var(--sp-20) var(--sp-16); border-right: var(--bw-rule) solid var(--c-frame); background: var(--c-surface); }
|
|
302
|
+
.ui-app__main { min-width: 0; display: flex; flex-direction: column; }
|
|
303
|
+
.ui-navlist { display: grid; gap: var(--sp-4); }
|
|
304
|
+
.ui-navlist a, .ui-navlist button { display: flex; align-items: center; gap: var(--sp-12); min-height: 40px; padding: 0 var(--sp-12); border: 0; border-radius: var(--radius-sm); background: none; color: var(--c-ink-2); font-weight: var(--fw-medium); font-size: var(--fs-md); text-decoration: none; text-align: left; cursor: pointer; }
|
|
305
|
+
.ui-navlist a:hover, .ui-navlist button:hover { background: var(--c-sunken); color: var(--c-ink); }
|
|
306
|
+
.ui-navlist [aria-current="page"], .ui-navlist [aria-current="true"] { background: var(--c-sunken); color: var(--c-ink); box-shadow: inset 2px 0 0 var(--c-accent); }
|
|
307
|
+
.ui-navlist svg { width: 18px; height: 18px; flex: none; }
|
|
308
|
+
.ui-navgroup { display: grid; gap: var(--sp-8); }
|
|
309
|
+
.ui-navgroup__label { padding: 0 var(--sp-12); font-family: var(--font-meta); text-transform: var(--meta-case); letter-spacing: var(--track-label); font-size: var(--fs-xs); color: var(--c-ink-3); font-weight: var(--fw-medium); }
|
|
310
|
+
.ui-topbar { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-12) var(--sp-24); min-height: 64px; padding: var(--sp-12) var(--work-gutter); background: color-mix(in srgb, var(--c-canvas) 94%, transparent); border-bottom: var(--bw-rule) solid var(--c-frame); }
|
|
311
|
+
.ui-page { display: grid; gap: var(--sp-24); padding: var(--sp-24) var(--work-gutter) var(--sp-48); }
|
|
312
|
+
.ui-container > .ui-page { padding-inline: 0; }
|
|
313
|
+
.ui-page__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-16); }
|
|
314
|
+
.ui-page__title { font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-2xl); line-height: 1.2; letter-spacing: calc(var(--track-display) * 0.4); text-transform: var(--display-case); }
|
|
315
|
+
.ui-workgrid { display: grid; gap: var(--sp-16); grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
|
|
316
|
+
.ui-span-12 { grid-column: span 12; } .ui-span-8 { grid-column: span 8; } .ui-span-7 { grid-column: span 7; }
|
|
317
|
+
.ui-span-6 { grid-column: span 6; } .ui-span-5 { grid-column: span 5; } .ui-span-4 { grid-column: span 4; } .ui-span-3 { grid-column: span 3; }
|
|
318
|
+
.ui-scroll { max-height: var(--scroll-max, 420px); overflow-y: auto; overscroll-behavior: contain; }
|
|
319
|
+
.ui-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-12); }
|
|
320
|
+
.ui-panel__head > .ui-toolbar { flex: 1 1 360px; justify-content: flex-end; }
|
|
321
|
+
.ui-search { position: relative; flex: 1 1 220px; max-width: 320px; }
|
|
322
|
+
.ui-empty { display: grid; justify-items: center; gap: var(--sp-8); padding: var(--sp-48) var(--sp-24); text-align: center; color: var(--c-ink-2); }
|
|
323
|
+
@media (max-width: 1100px) {
|
|
324
|
+
.ui-span-8, .ui-span-7, .ui-span-6, .ui-span-5, .ui-span-4 { grid-column: span 12; }
|
|
325
|
+
.ui-span-3 { grid-column: span 6; }
|
|
326
|
+
}
|
|
327
|
+
@media (max-width: 860px) {
|
|
328
|
+
.ui-app { grid-template-columns: minmax(0, 1fr); }
|
|
329
|
+
.ui-app__nav { position: static; height: auto; flex-direction: row; align-items: center; gap: var(--sp-12); padding: var(--sp-8) var(--work-gutter); border-right: 0; border-bottom: var(--bw-rule) solid var(--c-frame); overflow-x: auto; }
|
|
330
|
+
.ui-app__nav .ui-navgroup__label { display: none; }
|
|
331
|
+
.ui-navlist { display: flex; gap: var(--sp-8); }
|
|
332
|
+
.ui-navlist a, .ui-navlist button { min-height: 44px; white-space: nowrap; }
|
|
333
|
+
.ui-navlist [aria-current="page"], .ui-navlist [aria-current="true"] { box-shadow: inset 0 -2px 0 var(--c-accent); }
|
|
334
|
+
.ui-topbar { position: static; }
|
|
335
|
+
.ui-search { max-width: none; }
|
|
336
|
+
}
|
|
337
|
+
@media (max-width: 640px) { .ui-span-3 { grid-column: span 12; } }
|
|
338
|
+
|
|
339
|
+
/* ---------- Settings (guided forms) ---------- */
|
|
340
|
+
.ui-settings { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: var(--sp-48); align-items: start; }
|
|
341
|
+
.ui-settings__nav { position: sticky; top: 88px; }
|
|
342
|
+
.ui-settings__body { display: grid; gap: var(--sp-32); min-width: 0; }
|
|
343
|
+
.ui-setting-section { display: grid; gap: var(--sp-20); scroll-margin-top: 88px; }
|
|
344
|
+
.ui-setting-section__head { display: grid; gap: var(--sp-4); }
|
|
345
|
+
.ui-setting-section--danger { border-color: var(--c-negative); }
|
|
346
|
+
.ui-savebar { position: static; bottom: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-12); padding: var(--sp-12) var(--sp-16); background: var(--c-surface); border: var(--bw-surface) solid var(--c-frame); border-radius: var(--radius-md); box-shadow: var(--shadow-overlay); }
|
|
347
|
+
@media (min-width: 1024px) and (min-height: 700px) { .ui-savebar { position: sticky; } }
|
|
348
|
+
@media (max-width: 860px) {
|
|
349
|
+
.ui-settings { grid-template-columns: minmax(0, 1fr); gap: var(--sp-24); }
|
|
350
|
+
.ui-settings__nav { position: static; }
|
|
351
|
+
.ui-settings__nav .ui-navlist { display: flex; overflow-x: auto; }
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/* ---------- Signature parts ----------
|
|
355
|
+
Token-only like everything else, so they render in any style; house-styles.md section 5 says which
|
|
356
|
+
style leans on which (instrument parts for computational-brutalism, blocks and the sticker for
|
|
357
|
+
neo-brutalism). Brackets and crosses are decoration: their alt text is empty. */
|
|
358
|
+
.ui-coord { font-family: var(--font-mono); font-size: var(--fs-xs); line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-head, var(--c-ink-3)); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
|
|
359
|
+
.ui-coord::before { content: "[ " / ""; }
|
|
360
|
+
.ui-coord::after { content: " ]" / ""; }
|
|
361
|
+
.ui-prompt::before { content: "> " / ""; font-family: var(--font-mono); color: var(--c-accent-ink); }
|
|
362
|
+
.ui-prompt--cursor::after { content: "" / ""; display: inline-block; width: 0.6em; height: 1.1em; margin-left: 0.2em; vertical-align: text-bottom; background: var(--c-accent); }
|
|
363
|
+
.ui-ruler { height: 12px; border-bottom: 1px solid var(--c-line-strong); background-image: linear-gradient(90deg, var(--c-ink-3) 1px, transparent 1px), linear-gradient(90deg, var(--c-line-strong) 1px, transparent 1px); background-size: 40px 12px, 8px 6px; background-position: left top, left bottom; background-repeat: repeat-x; }
|
|
364
|
+
.ui-frame { position: relative; padding: var(--panel-pad, var(--sp-24)); background: var(--c-surface); border: var(--bw-surface) solid var(--c-frame); min-width: 0; }
|
|
365
|
+
.ui-frame::before, .ui-frame::after { content: "+" / ""; position: absolute; font-family: var(--font-mono); font-size: var(--fs-lg); line-height: 1; color: var(--c-accent-ink); }
|
|
366
|
+
.ui-frame::before { top: -0.6em; left: -0.32em; }
|
|
367
|
+
.ui-frame::after { bottom: -0.6em; right: -0.32em; }
|
|
368
|
+
.ui-scan { background-image: repeating-linear-gradient(0deg, transparent 0 2px, var(--c-line) 2px 3px); }
|
|
369
|
+
.ui-readout { min-width: 0; display: grid; gap: var(--sp-4); padding: var(--sp-12) var(--sp-16); background-color: var(--c-sunken); color: var(--c-ink); border: var(--bw-control) solid var(--c-frame); border-radius: var(--radius-xs); font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
|
|
370
|
+
.ui-panel--accent { background: var(--c-accent-wash); }
|
|
371
|
+
.ui-panel--support { background: var(--c-support); color: var(--c-support-ink); }
|
|
372
|
+
.ui-panel--accent-2 { background: var(--c-accent-2-wash); }
|
|
373
|
+
/* Rich layers: a full-bleed colour band between sections, a two-accent wash and the lock's glow
|
|
374
|
+
token (none on a calm, flat or offset lock). Text inside a band takes the band's own ink. */
|
|
375
|
+
.ui-band { background: var(--c-accent); color: var(--c-on-accent); }
|
|
376
|
+
.ui-band--accent-2 { background: var(--c-accent-2); color: var(--c-on-accent-2); }
|
|
377
|
+
.ui-band--support { background: var(--c-support); color: var(--c-support-ink); }
|
|
378
|
+
.ui-band :where(h1, h2, h3, h4, p, li, dt, dd, small, blockquote, figcaption, cite, .ui-meta) { color: inherit; }
|
|
379
|
+
.ui-band .ui-quote figcaption, .ui-band .ui-quote figcaption strong { color: inherit; }
|
|
380
|
+
:is(.ui-section, .ui-band) + .ui-band, .ui-band + .ui-section { border-top: 0; }
|
|
381
|
+
.ui-wash { background-image: linear-gradient(135deg, var(--c-accent-wash), var(--c-accent-2-wash)); }
|
|
382
|
+
.ui-glow { box-shadow: var(--glow); }
|
|
383
|
+
/* Section marks: a data-coord label (sheet, grid reference, revision) sitting on the section rule.
|
|
384
|
+
Only a lock with section_marks "coord" shows it. */
|
|
385
|
+
:is(.ui-section, .ui-hero)[data-coord] { position: relative; }
|
|
386
|
+
:is(.ui-section, .ui-hero)[data-coord]::before { content: attr(data-coord) / ""; display: var(--section-marks); position: absolute; top: calc(var(--bw-rule) * -1); left: max(var(--gutter), calc((100% - var(--container, 1200px)) / 2 + var(--gutter))); padding: 2px var(--sp-8); background: var(--c-ink); color: var(--c-canvas); font-family: var(--font-mono); font-size: var(--fs-xs); line-height: 1.4; letter-spacing: var(--track-label); text-transform: uppercase; }
|
|
387
|
+
/* Moment type: the one place a page may go past the display range, up to the lock's moment ceiling
|
|
388
|
+
(DS-004 accepts it only inside [data-ui-moment]). */
|
|
389
|
+
.ui-setpiece { font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-moment); line-height: 0.92; letter-spacing: var(--track-display); text-transform: var(--display-case); text-wrap: balance; overflow-wrap: break-word; }
|
|
390
|
+
:lang(ko) .ui-setpiece, .ui-setpiece:lang(ko) { line-height: var(--lh-display-ko); letter-spacing: calc(var(--track-display) / 2); }
|
|
391
|
+
.ui-bignum { font-family: var(--font-heading); font-weight: var(--fw-display); font-size: var(--fs-moment); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
|
|
392
|
+
.ui-sticker { display: inline-flex; align-items: center; gap: var(--sp-8); padding: var(--sp-4) var(--sp-12); background: var(--c-accent); color: var(--c-on-accent); border: var(--bw-control) solid var(--control-edge, var(--c-accent)); border-radius: var(--radius-sm); box-shadow: var(--shadow-control); font-weight: var(--fw-strong); font-size: var(--fs-md); line-height: 1.3; transform: rotate(-2deg); }
|
|
393
|
+
|
|
394
|
+
/* ---------- Charts (kit/ui.js draws them) ---------- */
|
|
395
|
+
.ui-chart { display: grid; gap: var(--sp-12); min-width: 0; }
|
|
396
|
+
.ui-chart svg { width: 100%; height: auto; overflow: visible; }
|
|
397
|
+
.ui-chart .ui-axis text { fill: var(--c-ink-3); font-size: 12px; font-family: var(--font-meta); font-variant-numeric: tabular-nums; }
|
|
398
|
+
.ui-chart .ui-grid-line { stroke: var(--c-line); stroke-width: 1; }
|
|
399
|
+
.ui-chart .ui-baseline { stroke: var(--c-line-strong); stroke-width: 1; }
|
|
400
|
+
.ui-chart .ui-marker { stroke: var(--c-ink-2); stroke-width: 1; stroke-dasharray: 3 3; }
|
|
401
|
+
.ui-chart .ui-marker-label { fill: var(--c-ink-2); font-size: 12px; font-family: var(--font-text); }
|
|
402
|
+
.ui-legend { display: flex; flex-wrap: wrap; gap: var(--sp-8) var(--sp-16); font-family: var(--font-meta); text-transform: var(--meta-case); font-size: var(--fs-sm); color: var(--c-ink-2); }
|
|
403
|
+
.ui-legend span { display: inline-flex; align-items: center; gap: var(--sp-8); }
|
|
404
|
+
.ui-legend i { width: 10px; height: 10px; border-radius: var(--radius-xs); background: var(--swatch); }
|
|
405
|
+
.ui-chart table { font-size: var(--fs-sm); }
|
|
406
|
+
.ui-chart details > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; }
|
|
407
|
+
|
|
408
|
+
/* ---------- Motion ---------- */
|
|
409
|
+
.ui-reveal { animation: ui-enter var(--dur-enter) var(--ease) both; }
|
|
410
|
+
@keyframes ui-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
|
|
411
|
+
@media (prefers-reduced-motion: reduce) {
|
|
412
|
+
*, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
|
|
413
|
+
.ui-btn:active { transform: none; }
|
|
414
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_id": "litfamily.frontend-kit-fonts/v1",
|
|
3
|
+
"note": "The kit reuses font files that sibling skills in this plugin already ship. design-lock.mjs copies them into the project only after their sha256 matches the value recorded here, so a build never fetches a font.",
|
|
4
|
+
"fonts": [
|
|
5
|
+
{
|
|
6
|
+
"family": "Pretendard",
|
|
7
|
+
"file": "PretendardVariable.woff2",
|
|
8
|
+
"source": "../../lit-diagram-drawer/assets/fonts/PretendardVariable.woff2",
|
|
9
|
+
"sha256": "9599f12fd42fc0bce1cd50b47a0c022e108d7aa64dd0d1bb0ed44f3282d900b4",
|
|
10
|
+
"weight": "45 920",
|
|
11
|
+
"licence": { "file": "Pretendard-OFL.txt", "source": "../../lit-diagram-drawer/assets/fonts/OFL.txt", "sha256": "b04538c9abec39a3db75108cf0af0fd9c77032fe8aa2cf38345b4d250e98e38e" }
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"family": "JetBrains Mono",
|
|
15
|
+
"file": "JetBrainsMono-wght-latin.woff2",
|
|
16
|
+
"source": "../../lit-typographic-motion/fonts/jetbrains-mono/JetBrainsMono-wght-latin.woff2",
|
|
17
|
+
"sha256": "18be452724bfdc236c074ca94a249a7f41a86752c7d04ab258ce9ed5651f6a7e",
|
|
18
|
+
"weight": "100 800",
|
|
19
|
+
"licence": { "file": "JetBrainsMono-OFL.txt", "source": "../../lit-typographic-motion/fonts/jetbrains-mono/OFL.txt", "sha256": "403581b69dac5cff4079205e01c6b467e56af449ecbd7247693ddb1baafa005b" }
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|