Add Cloudflare Workers configuration - #1
Open
cloudflare-workers-and-pages[bot] wants to merge 1 commit into
Open
Add Cloudflare Workers configuration#1cloudflare-workers-and-pages[bot] wants to merge 1 commit into
cloudflare-workers-and-pages[bot] wants to merge 1 commit into
Conversation
Author
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
claude-building-blocks | a57092f | Commit Preview URL Branch Preview URL |
Jun 17 2026, 03:44 AM |
cloudflare-workers-and-pages
Bot
force-pushed
the
cloudflare/workers-autoconfig
branch
13 times, most recently
from
June 15, 2026 08:46
9d1709d to
c0d3653
Compare
cloudflare-workers-and-pages
Bot
force-pushed
the
cloudflare/workers-autoconfig
branch
from
June 15, 2026 09:37
c0d3653 to
a8fe0cc
Compare
vinsanitycoder
force-pushed
the
cloudflare/workers-autoconfig
branch
from
June 15, 2026 09:37
a8fe0cc to
042aec4
Compare
cloudflare-workers-and-pages
Bot
force-pushed
the
cloudflare/workers-autoconfig
branch
from
June 15, 2026 09:52
042aec4 to
6c8717c
Compare
vinsanitycoder
added a commit
that referenced
this pull request
Jun 15, 2026
…oximity + sizing)
Research-backed answer to "fields/boxes look randomly placed". Root cause: we had
the spacing SCALE but no GRAMMAR — no semantic roles and no proximity rule — so
every value was on-grid yet nothing read as intentional.
DESIGN_STANDARD.md
- New §21 "Spacing & sizing system — the prescriptive playbook":
· §21.2 spacing ROLES (Inset / Inset-squish / Stack-tight/default/group/section /
Inline) — a semantic tier over the scale so a value carries meaning.
· §21.3 the PROXIMITY rule (the #1 designed-vs-random lever): spacing strictly
increases as relationship weakens — label↔input < field↔field < group↔group <
section↔section, ~1.5–2× per level, inner < outer always.
· §21.4 control heights (sm32/md40/lg44) + the FIELD-WIDTH-matches-input rule
(GOV.UK char widths: postcode ~5ch, year 4ch — never full-width for short fields).
· §21.5 card sizing/padding + auto-fit grid; §21.6 table row heights;
§21.7 containers/breakpoints/gutters; §21.8 section rhythm (responsive);
§21.9 modal/drawer/popover sizing; §21.10 density; §21.11 fluid clamp/Utopia;
§21.12 a pre-ship checklist.
- §3 now forward-points to §21; Appendix A token file gains the semantic + sizing tokens.
globals.css
- New semantic spacing-role tier (--inset-*, --stack-*, --inline-*) + sizing tokens
(--control-*, --container-*, --dialog-*, --drawer-*, --popover-*).
- Functional density: [data-density="compact"|"spacious"] remap ONLY the semantic
tier, so one attribute reflows the whole subtree (verified: card 24→16, btn 40→36).
components.css
- Wired .ds-btn / .ds-input / .ds-card to the role + sizing tokens (same computed
values, zero visual change) so they're density-aware and self-documenting.
Added .ds-card--compact.
SKILL.md
- Spacing rule expanded with the roles + proximity inequality + field-width rule so
the audit applies it on every adoption.
Verified in the playground: identical render (light), tokens resolve correctly,
density toggle works end-to-end. tsc clean.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
cloudflare-workers-and-pages
Bot
force-pushed
the
cloudflare/workers-autoconfig
branch
2 times, most recently
from
June 15, 2026 10:44
ea17a2a to
73cd6b5
Compare
vinsanitycoder
added a commit
that referenced
this pull request
Jun 15, 2026
…pacious" preset Research-backed answer to "our design feels cluttered". §21 was the spacing MECHANICS; §22 is the GENEROSITY DIAL — how much air + what to remove. A layout can be perfectly on-grid and still feel busy; "clean" is mostly active whitespace + ruthless removal. DESIGN_STANDARD.md — new §22 "Whitespace & clean design": - macro vs micro, active vs passive whitespace; whitespace = emphasis. - WHY it works, honestly: lowers cognitive load, matches scan-reading (~20-28% of words read), decluttering raised recall 33%→65% (NN/g). Flags the "+20%/Lin 2004" claim as REFUTED folklore (Lin disavowed it) — do not cite. - §22.1 SPACE BEFORE LINES (the #1 declutter move): separate with space → bg tint → shadow → border-last; delete dividers/card-borders/stripes, re-add only true boundaries. - §22.2 clean moves by impact (top-of-scale, macro≫within ~3-4×, cap content width, line-height 1.5-1.6, one primary action, remove noise, progressive disclosure). - §22.3 the squint test. §22.4 density-by-app-type (when spacious is WRONG; dense≠ cluttered — Tufte data-ink for dashboards). §22.5 the saveable spacious preset table. globals.css — upgraded [data-density="spacious"] to research-backed generosity: card 24→32, field gap 24→32, group 32→48, SECTION 48→96, control padding 8/16→12/20, control height 40→44. Macro ×~1.3-1.5; legibility roles unchanged. playground — added a live Density switcher (default / spacious / compact) to the Design standard demo so the preset is something you can FEEL; both demo panels wear data-density. Verified: spacious bumps card padding 24→32 live, tsc clean. SKILL.md — §22 rule added so the audit applies clean/whitespace + offers the presets. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
cloudflare-workers-and-pages
Bot
force-pushed
the
cloudflare/workers-autoconfig
branch
8 times, most recently
from
June 16, 2026 02:22
6e7c9c2 to
9ec3f25
Compare
cloudflare-workers-and-pages
Bot
force-pushed
the
cloudflare/workers-autoconfig
branch
8 times, most recently
from
June 16, 2026 09:31
70f4aae to
ff9ba88
Compare
cloudflare-workers-and-pages
Bot
force-pushed
the
cloudflare/workers-autoconfig
branch
from
June 17, 2026 03:44
ff9ba88 to
a57092f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR configures your project for Cloudflare Workers deployment using Wrangler autoconfig.
Merging this PR commits the configuration to your repository, enabling faster deployments and version controlled settings.
Detected settings:
vitenpm run buildnpx wrangler deploynpx wrangler versions uploadNext steps after merging:
Your Worker configuration lives in
wrangler.jsonc. You can now:View build details · Join the discussion for questions or feedback