Repository navigation
Conversation
…ig#66) Re-vendor the HIG candidate from bloxwap/hig@d7ff478 (0.1.0-candidate.shad7ff4780). @bloxwap/hig-tokens/css now ships the radius, type, motion and density roles, so the docs read them directly: - delete apps/docs/styles/hig-roles.generated.css and its generator; rename --hig-type-<role>-line, --hig-duration-<speed> and --hig-control-<mode> to the HIG names (-line-height, --hig-motion-duration-<speed>, --hig-density-<mode>-control) - drop the .hig-button font-family bridge: HIG reads --hig-font-sans, which resolves the @bloxwap/font loader variable on <html> (hig#65) - read the OG card's static TTFs from @bloxwap/hig-native-fonts, where they moved in hig#64 (same bytes); the tokens tarball drops to 8 KB - lint now fails if the docs use a --hig-* role the installed HIG CSS does not define, or if a generated role copy or apps/docs/styles/ returns; docs:test checks computed radius/type/density/easing roles Co-Authored-By: Claude Opus 5.5 <[email protected]>
joeblau
added a commit
to bloxwap/hig
that referenced
this pull request
Oct 15, 2026
…ated.css (#66) bloxwap/chart#54 re-vendors the d7ff478 candidate, reads the radius, type, motion and density roles from @bloxwap/hig-tokens/css and deletes styles/hig-roles.generated.css. Record it as the open Chart PR in planning/adoption.json and in the new-repository drift notes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 15, 2026
Merged
joeblau
added a commit
to bloxwap/hig
that referenced
this pull request
Oct 15, 2026
…ated.css (#66) bloxwap/chart#54 re-vendors the d7ff478 candidate, reads the radius, type, motion and density roles from @bloxwap/hig-tokens/css and deletes styles/hig-roles.generated.css. Record it as the open Chart PR in planning/adoption.json and in the new-repository drift notes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
joeblau
added a commit
to bloxwap/hig
that referenced
this pull request
Oct 15, 2026
…ated.css (#66) bloxwap/chart#54 re-vendors the d7ff478 candidate, reads the radius, type, motion and density roles from @bloxwap/hig-tokens/css and deletes styles/hig-roles.generated.css. Record it as the open Chart PR in planning/adoption.json and in the new-repository drift notes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
joeblau
added a commit
to bloxwap/hig
that referenced
this pull request
Oct 15, 2026
…e fence (#66) (#81) * test(tokens): packed plain-CSS consumer check for radius/type/motion/density roles (#66) Add `npm run smoke:packed-css`: installs only the packed @bloxwap/hig-tokens tarball into an empty consumer, links @bloxwap/hig-tokens/css from a script-free HTML page whose stylesheet uses only the roles, and checks the computed radius, type (longhands and font shorthand), motion (including 0ms under prefers-reduced-motion and [data-hig-motion='reduced']) and density (including [data-hig-density='compact']) values in Chromium, Firefox and WebKit against packages/tokens/source.json. It fails if the page requests anything other than the HTML, its stylesheet and the token CSS, so the manifest is never read. CI runs it after the packed Next smoke. Fix the Tokens only / plain CSS section of docs/installation.md: the CSS example's closing fence shared a line with the next paragraph, so the rest of the page rendered as code in the docs site. Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(adoption): link the Chart follow-up that deletes hig-roles.generated.css (#66) bloxwap/chart#54 re-vendors the d7ff478 candidate, reads the radius, type, motion and density roles from @bloxwap/hig-tokens/css and deletes styles/hig-roles.generated.css. Record it as the open Chart PR in planning/adoption.json and in the new-repository drift notes. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Contributor
Author
|
Closing as superseded by #56 (merged as 2c952f6). That PR re-vendored HIG bloxwap/hig#66's Chart criterion is met by chart#56. 🤖 Generated with Claude Code |
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.
Part of bloxwap/hig#66 (the Chart follow-up its acceptance criteria ask for). Also picks up bloxwap/hig#65 and bloxwap/hig#64.
What changes
The HIG candidate is re-vendored from bloxwap/hig@d7ff478 (
0.1.0-candidate.shad7ff4780), built withnpm ci && npm run generate:fonts && npm run build && npm run release:dry-run -- --channel candidate. SHA-256 hashes are invendor/bloxwap-hig/provenance.jsonand checked bynpm run lint.@bloxwap/hig-tokens/css(#66).apps/docs/styles/hig-roles.generated.cssand its manifest generator are deleted.app/global.cssnow uses the HIG role names:--hig-type-<role>-line→--hig-type-<role>-line-height--hig-duration-<speed>→--hig-motion-duration-<speed>(0ms under reduced motion, as before)--hig-control-<mode>→--hig-density-<mode>-control.hig-button { font-family: var(--font-sans) }is removed. HIG reads--hig-font-sans, which resolves the@bloxwap/fontloader variable already on<html>.@bloxwap/hig-tokensand into@bloxwap/hig-native-fonts(same bytes).lib/og-card.tsxreads them from there, and only at build time. The tokens tarball drops from 4.2 MB to 7.9 KB, and the new native-fonts tarball is 4.2 MB.npm run lint(scripts/hig-tokens.mjs --check) now fails when the docs use a--hig-*role that the installed HIG CSS doesn't define. It also fails if a*.generated.csscopy orapps/docs/styles/comes back.docs:testchecks the computed radius, line-height, compact control and easing roles against the typed manifest.apps/docs/README.md,vendor/bloxwap-hig/README.mdanddocs/hig-adoption/README.md(new step 3 and matrix row) are updated.Verification (local, macOS arm64, Node 24.10.0,
NEXT_PUBLIC_BASE_PATH=/chartas in CI)npm run docs:build/chartnpm run docs:checknpm run lint--hig-*roles are all defined upstream, and the copy-drift checks passnpm run docs:test(automated browser: Chrome via Playwright)--hig-type-body-line--hig-* roles not defined by @bloxwap/hig-tokens/css or @bloxwap/hig-react/css: --hig-type-body-lineapps/docs/styles/hig-roles.generated.cssrestoredapps/docs/styles/ is gone; use the roles from @bloxwap/hig-tokens/css …No physical device checks were run. No publish, tag or release.
🤖 Generated with Claude Code