Skip to content

Adopt shared chrome from signage-kit 2026.7.2 - #8

Merged
vpetersson merged 1 commit into
masterfrom
feat/adopt-signage-kit-chrome
Jul 13, 2026
Merged

Adopt shared chrome from signage-kit 2026.7.2#8
vpetersson merged 1 commit into
masterfrom
feat/adopt-signage-kit-chrome

Conversation

@vpetersson

Copy link
Copy Markdown
Contributor

Pulls the footer badge, canonical @font-face set, font vendoring, and the .stage frame from @screenly-labs/signage-kit (2026.7.2) instead of restating them here — part of the fleet-wide CSS DRY-up.

Changes

  • @import the kit's fonts.css / brand.css / stage.css; delete the local @font-face, .brand, and .stage blocks.
  • Drop the @fontsource deps (the kit owns them, pinned via bun); sync-fonts.js is now a one-line call to the kit's syncFonts(['fraunces','hanken-grotesk']).
  • Import removeScreenlyBranding from the kit instead of the local copy.
  • Express the fluid root as --root-min/-gain/-max overrides (the clamp lives in the preset); font tokens come from the preset.
  • Repoint the kit dep to #2026.7.2.

Net −83 lines.

Verification

Build clean (typecheck + lint + 17 tests). Headless screenshots confirm the badge renders in full and degraded (html.legacy) mode across 1920×1080 / 1080×1920 / 800×480 / 3840×2160, and is removed under a screenly-viewer UA. The "Reading room" design is visually unchanged.

🤖 Generated with Claude Code

Pull the footer badge, canonical @font-face set, fonts vendoring, and the
.stage frame from @screenly-labs/signage-kit instead of restating them here:

- @import the kit's fonts.css / brand.css / stage.css; drop the local
  @font-face blocks, the .brand rules, and the .stage rule.
- Drop the @fontsource deps (the kit owns them) and reduce sync-fonts.js to a
  one-line call to the kit's syncFonts(['fraunces','hanken-grotesk']).
- Import removeScreenlyBranding from the kit instead of the local copy.
- Express the fluid root as --root-min/-gain/-max overrides (clamp lives in
  the preset); font tokens now come from the preset.

Repoint the kit to #2026.7.2. Verified: build clean, badge renders in full +
degraded mode across 1080p/portrait/800x480/4K, and is removed under a
screenly-viewer UA. "Reading room" design unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vpetersson
vpetersson merged commit 23f67a4 into master Jul 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant