Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: dd0721f The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
📦 NPM canary releaseDeployed canary version 0.0.0-canary-dbfa06f. |
🧪 Storybook is successfully deployed!
|
🏋️ Size limit report
Compared against main at d29a8bf — run 42668868916, 2026-11-09T17:52:42Z. Third-party packages✅ No third-party package entered or left the bundle, and none grew more than 10 KB past its approved size. To see which modules changed, download the size-limit-statoscope-report artifact from this run and open report.html. |
Pin 0.0.0-snapshot.f404191 (tenphi/glaze#107) to see how Glaze 3 moves the palette. palette.ts works unchanged; only the palette snapshot moves, mostly the shadows (deeper in light, lighter in dark, transparent in dark high contrast). Point the Glaze doc links at the reorganized docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Glaze 3 solves shadows as exact tone steps with a pure black pigment, so the old intensities nearly doubled the light shadows. Each shadow now has its own intensity pair and tuning (reach 0.86, objectInfluence 0 / 0.165 / 0.33), fitted to the light, light high-contrast and dark steps of 2.0.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Glaze 3 is released. 3.0.1 resolves every palette token exactly as the canary did, in all four schemes, so the shadow tuning and the palette snapshot stand. It also stops warning about the dark high-contrast shadows it cannot draw. The changeset now names the release and notes that the re-exported Glaze API moves to 3.0 too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gr8S7CBr9shZaiq3CeGhD6
2ede26a to
a54d38c
Compare
|
In run 42674020710, 6 jobs never got a runner and have no result: I re-ran the whole workflow once, since a failed-jobs-only re-run could skip the jobs that never started. If the re-run fails again, I'll treat it as a real failure. Generated by Claude Code |
Glaze 3 solves `accent-text-soft` exactly onto its AA floor (4.55:1 for the primary hue, where 2.x overshot to 4.60:1). Its anchor, `accent-selected-fill`, mixes in linear light and so reads lighter in light mode than the gamma-blended fills Buttons paint. That overshoot was the only headroom the focused clear-selected label had, and it fell to 4.47:1, failing the accessibility baseline. Floor the soft text at 4.6:1 instead. Only the seven `*-accent-text-soft` tokens move, by about half a tone, with high contrast unchanged. Correct the two comments that claimed the anchor matched the painted fill and covered outline / outline-2: those stay below AA, as on Glaze 2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gr8S7CBr9shZaiq3CeGhD6
Moves the palette to Glaze 3:
@tenphi/glazeis pinned to3.0.1, the current stable release. This PR started on the canary0.0.0-snapshot.f404191(tenphi/glaze#107) to see how Glaze 3 moves UI Kit colors before 3.0 shipped; it is now rebased onmainand on the stable release.From the canary to 3.0.1
src/index.tsre-exports@tenphi/glaze, so consumers that import Glaze functions or types from@cube-dev/ui-kitget Glaze 3 as well. The changeset now points them to Glaze's migration guide (input that now throws, removed output options).What changes
palette.tsworks on Glaze 3 with two changes. The shadows are retuned so the light and dark schemes keep their Glaze 2 colors, and the soft accent text keeps the contrast headroom Glaze 2 gave it. I measured every token in all four schemes against 2.0.0, under five configs: default, tinted surfaces, pastel, a sky accent, and contrast level 60.Shadows
Glaze 3 solves a shadow as an exact tone step over its surface, with a pure black pigment by default. Unchanged, UI Kit's intensities (5 / 10 / 15) nearly doubled the light shadows:
shadow-lgdarkened the white surface by 22.1 tones instead of 12.3.Each shadow now carries its own
intensityandtuning, fitted to what Glaze 2 drew:intensity(normal, HC)objectInfluenceshadow-smshadow-mdshadow-lgreach: 0.86parks the pigment at tone 14, Glaze 2's dark gray, instead of pure black. With the same pigment and step, the light opacities match too: 0.0662 / 0.1321 / 0.1971 → 0.0660 / 0.1315 / 0.1963.objectInfluencesets how much each shadow weakens in dark mode, wheresurface-textis lighter than the surface. Glaze 2 keptsmat the same depth in both schemes and flattened the larger two, sosmgets none andlgthe most. It also keeps darkshadow-lgwithin reach of the pigment, so Glaze no longer warns about it.Soft accent text
accent-text-soft(selected outline / clear labels and the rest link color) is now floored at 4.6:1 instead of'AA'against its anchor,accent-selected-fill.Accessibility (axe) (1/3)failed onactions-button--default-states(7 → 8).*-accent-text-softtokens move, by about half a tone (L ±0.006), darker in light and lighter in dark. High contrast is unchanged. The focused clear-selected label is back at 4.55–4.57:1 in every status theme.outline/outline-2labels sit onsurface-2/surface-3+ 9% and were already below AA onmain(4.36–4.46 and 4.12–4.21). They stay in the baseline, a few hundredths better. Lifting them to AA is a design call, so it's left out of this PR. The two comments that claimed the anchor covered them are corrected.Everything else
danger-accent-text(+1.0 tone, WCAG 6.71 → 6.51 againstdanger-surface) andnote-accent-text(+0.7). Glaze 3's contrast solver lands closer to each floor than 2.x did, which overshot by a theme-dependent amount.code-keyword/code-function+2.9,code-string+2.0) thensuccess-accent-text,code-numberandcode-attributein dark (-1.0 to -1.4).success-accent-textin dark is 7.46 → 7.16 againstsuccess-surface.tinted,pastelandaccent-skymove the same way as the default. At contrast level 60 the light variants blend toward high contrast and move too, up to 3.1 tones (code-keyword).Docs links
Glaze 3 reorganized its docs:
methodology.mdbecamemethodology.mdx, andapi.mdwas split intoreference/.AGENTS.mdanddocs/rules/review.mdnow point at the new paths, andAGENTS.mdadds the shadows page. All of them exist in 3.0.1.Checks
pnpm test:typespasses.pnpm testpasses. Against the canary, the palette snapshot only moves the seven*-accent-text-softtokens.pnpm diagnostics:a11y --checkpasses on all 1086 stories: no story fails more than the baseline allows. The baseline file is unchanged, because local Chromium and fonts differ from CI's and would record layout noise.🤖 Generated with Claude Code
https://claude.ai/code/session_01Gr8S7CBr9shZaiq3CeGhD6