Repository navigation
feat: corner radius scale with a ratcheted gate (Feature #385) - #1162
Merged
Merged
Conversation
added 4 commits
November 20, 2026 16:36
Five radius steps by element size, defined once at the top of public/style.css: --wv-radius-chip 4 px, -control 6 px, -surface 8 px, -panel 12 px and -pill 999 px, with 50% for round things and 0 for flush edges. DESIGN.md gains a Corners section with the size classes and the concentric, flush and one-radius rules. - Every border-radius in style.css (230 raw values across 30 distinct radii) now names a step. Menu rows inside a 4 px padded popover take the chip step, concentric with the 8 px surface. - --tblr-border-radius, -sm, -lg and -pill alias the steps, so Tabler's own buttons, inputs and cards follow the table; --wv-pop-radius is gone in favour of the surface step. - chip.css writes var(--wv-radius-chip, 4px), since applets and exports read it without style.css. - test/radius-scale.test.mjs refuses a raw radius and holds test/radius-baseline.json: 0 in style.css and chip.css, 5 in the status page's status.css, which loads neither stylesheet. ponytail: - status.css keeps its five raw radii (8, 6, 2 and 1 px) under the baseline. Upgrade path: alias them to steps with fallbacks once the status page's own Shapes section moves to the scale. Change-Id: Ie67e5881c1702250eee8f49cc9726df0bd715602
- The applet's bug face draws the control step's 6 px, matching the desktop button it copies. - The two checked-in mockups regenerate from chip.css. No-changelog: changelog.d/radius-scale-385.md on this branch covers Feature #385 Change-Id: Ie97b3a1abdd1c18f10f08ca44ed8926002e743c5
No-changelog: changelog.d/radius-scale-385.md on this branch covers Feature #385 Change-Id: I7751b2897f9b7a11cc15d1d45351ff3477ac5534
…el step (Feature #385) At the control step the 46 px weave mark's corner reached the top-left pixel of the window, so an outside click at (4, 4) opened the docs workspace. Tiles are objects, not controls: the 36 px workspace tiles take 8 px and the 46 px mark 12 px, which keeps its hit area where it was. No-changelog: changelog.d/radius-scale-385.md on this branch covers Feature #385 Change-Id: I1b155425956607514c01a729f7c283895ba0b2fe
grunion-ai
enabled auto-merge (squash)
November 20, 2026 22:22
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.
Tracker: Feature #385 (https://weave.grunion.ai/w/weave/e/6e9b72c3-8ddc-4725-833e-9f4fb7a31d5a), part of Issue #1864.
What changed
public/style.css:--wv-radius-chip4 px,--wv-radius-control6 px,--wv-radius-surface8 px,--wv-radius-panel12 px,--wv-radius-pill999 px.50%for round things,0for flush edges.border-radiusinstyle.css(230 raw values, 30 distinct radii) now names a step;chip.cssusesvar(--wv-radius-chip, 4px)because applets and exports read it withoutstyle.css.--tblr-border-radius,-sm,-lgand-pillalias the steps, so Tabler's buttons, inputs and cards follow the scale.--wv-pop-radiusis gone; popovers use the surface step.Gate
test/radius-scale.test.mjs: the five steps exist once with their values; every other radius token is an alias of a step; a raw value that is not a step,0,inheritor50%counts againsttest/radius-baseline.json, which may only fall. Today: style.css 0, chip.css 0, status.css 5 (the status page loads neither stylesheet and keeps its Shapes section). Before: 230 raw declarations in style.css.Visual check (1440 x 900, light and dark, computed top-left radius)
#main,#dock,#view-panepanels.chip-pop).btn-sm, Tabler -sm)Identical in both themes. Screenshots were taken of the table, the table menu, the View panel and the docked record before and after.
Tests