Adopt shared chrome from signage-kit 2026.7.2 - #8
Merged
Conversation
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>
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.
Pulls the footer badge, canonical
@font-faceset, font vendoring, and the.stageframe from@screenly-labs/signage-kit(2026.7.2) instead of restating them here — part of the fleet-wide CSS DRY-up.Changes
@importthe kit'sfonts.css/brand.css/stage.css; delete the local@font-face,.brand, and.stageblocks.@fontsourcedeps (the kit owns them, pinned via bun);sync-fonts.jsis now a one-line call to the kit'ssyncFonts(['fraunces','hanken-grotesk']).removeScreenlyBrandingfrom the kit instead of the local copy.--root-min/-gain/-maxoverrides (the clamp lives in the preset); font tokens come from the preset.#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 ascreenly-viewerUA. The "Reading room" design is visually unchanged.🤖 Generated with Claude Code