Repository navigation
SBO-18: screen-tone, seal and annotated-figure primitives, live /techniques gallery, v0.1.17 - #31
Merged
Merged
Conversation
… techniques gallery, v0.1.17 Three optional, static, zero-JS design primitives (category primitive, 0.1.0): - screen-tone: a two-token ramp through a dot, line, hatch or grain screen. Mask mode keeps the ramp fixed to the field while the screen turns, and --screen-fade gives the textured-gradient fade. Threshold mode is a halftone whose marks grow with tone, on light or dark grounds. - seal: a circular textPath ink stamp for one real owner fact, sized by textLength, with an optional worn-ink mask. Over-long text fails the build. - annotated-figure: numbered markers on a photo or SVG, with optional leader lines and an <ol> key beside it, or below at phone widths. All three drop their decoration under forced-colors and prefers-contrast: more. tokens 0.1.6: --action-shadow wording is neutral (none, subtle elevation or a crisp offset). Values are unchanged. Gallery: /techniques renders all nine SBO-18 techniques in two fixture brands, with the six merged recipe cards' CSS verbatim, knob values and Brand grammar lines. It is linked from the index and nav and added to the gallery-sync manifest. Release prep: version 0.1.17, and every #v0.1.16 pin moved to #v0.1.17. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedThe included review limit has been reached and this organization has disabled usage-based review continuation. Wait for reviews to reset or ask a billing admin to change After included review limits.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 2 minutes. View limit details
|
… AnnotatedFigure 44px/focus/reduced-motion/edge clamp, Seal wide-text sizing, ScreenTone line/hatch 100% closure)
…WW + WWWWWWWWWW stays well inside the inner ring
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.
Workstream C2 of SBO-22 (
con_277753cd), from the approved SBO-18 design-primitives proposal (con_056f3e54). Don't merge or tag yet. It's waiting on an independent review of the exact head.What changes
Three optional, static, zero-JS primitives (
primitive,0.1.0,src/components/ui/). All three drop their decoration underforced-colorsandprefers-contrast: more.screen-tone: a two-token ramp through adot | line | hatch | grainscreen.hypot(100cqw, 100cqh)), so--screen-anglecan turn it while the ramp's stops stay fixed to the visible field.--screen-fadegives the textured-gradient fade. Hatch intersects two masks (-webkit-mask-composite: source-in, thenmask-composite: intersect, after the shorthand).contrast(20), on anaria-hiddenlayer, so marks grow with tone. It is colored withlightenand printed withmultiply, or withdarkenandscreenwhenground="dark".background-colorunder the gradient, within oklabbehind@supports.--tone-from/to/ground/angleand--screen-cell/angle/dot/fade, defaulting to tokens with exact fallbacks.seal: a circular<textPath>stamp.textLengthspaces the glyphs to the exact circumference, so the join is seamless, and short facts repeat to fill the ring.role="img"with anaria-label, ordecorativesetsaria-hidden.wornadds a static noise mask.avoidWhenforbids invented awards and certifications and any official-looking seal.annotated-figure: a<figure>holding a photo (image) or a slotted SVG.x/ypercentages in physicalleft/top, so they don't mirror in RTL.point.<ol role="list">that sits beside the figure from a 44rem container and below it at phone widths.tokens0.1.6: the--action-shadowcomment no longer offers "a hard 2px 2px 0 offset" as its only example. Every value is unchanged./techniquesgallery page (linked from the index beside/typographyand from the nav, and added to thegallery-sync.mjsmanifest).09cd3b2docs/design-library/techniques/, including the:dir(rtl)ticket mirroring, theprefers-contrast: moreramp fallback, the forced-colors rules and the full-contrast S9.ink-in/.draw-inrules.public/gallery/motif-{chainring,lantern}.svgare the fixture brands' marks, simplified for the motif field.Release prep: version
0.1.17, and all 20 registry pins plus 4 README refs moved from#v0.1.16to#v0.1.17.docs/blocks-audit.mdand the README are updated.Verification (head
f3951be)Release command chain: exit 0.
node scripts/build-fonts.mjs && npm run registry && node scripts/build-fonts.mjs --check && node scripts/build-registry.mjs --check && npm run check && npm run validate && npm run buildastro check: 0 errors, 0 warnings, 0 hints.Chromium renders: 38 of 38 clean.
/techniquesand the three/blocks/*pages at 1440, 390, forced colors, more contrast and reduced motion, plus the three canvases in paper, ink and grove at both widths./favicon.ico), 0 console errors, 0 horizontal overflow.Contrast: 64 distinct text styles. The lowest on a solid ground is 6.56:1. Text over ramps measures at least 8.09:1 at the stops it crosses, and the set list over its rule lines is 7.61:1.
Scroll accent (S9): with motion allowed, the draw-in progresses 0.37 → 0.50 → 0.77 as the route enters, and the text stays at opacity 1.
gallery-sync dry run (draft
f6d2f9c3…):.woff2.Site Boulder snapshot (
sync-astro-blocks.mjs --local, run in a scratch copy):astro-blocks.json637,480 B plusfont-pack.json137,376 B, for 57 items.Known gaps
public/gallery/cedar-street-workshop.webpisn't an authorable sync path, so on the Site Boulder draft both photo demos would show a missing image. The workbench is fine.view()scroll accent inside anoverflow: hiddenancestor never moves, because that ancestor becomes its scroll container. The gallery panel andscreen-toneuseoverflow: clip.narrative-scroll-accent.mdshould say so.🤖 Generated with Claude Code