Repository navigation
Fix contrast, Counter SSR and painting imports found on bot.space - #8
Open
onemoremayur wants to merge 1 commit into
Open
onemoremayur wants to merge 1 commit into
onemoremayur wants to merge 1 commit into
Conversation
- Skin links and subtitles darkened (or lightened on dark) just enough
to pass AA; check.ts now tests every skin's link and subtitle.
- InboxComposer placeholder: slate-600.
- Counter: server render and on-screen-at-load show the final value.
- Tile/scenes: paintingSrc accepts { src } import objects; a bare
painting name no longer becomes url("flower-shop").
- Timeline: note to use play="still" above the fold for audits.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017btD1i1CfTmbQUsbYPMh8z
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.
Building the real bot.space pages surfaced four kit issues. The site works around them for now; this PR fixes them in the kit.
Contrast. Each channel skin link and subtitle keeps its native hue. The ones that failed are darkened, or lightened on dark, just enough to pass WCAG AA on the surface they sit on:
scripts/check.tsnow tests every skin's link and subtitle, so a failing pair breaks the build.Timeline audits. Beats fade in by design, so an audit taken mid-play reads low contrast. I documented
play="still"for anything above the fold, which the site already does, rather than changing the motion.Painting imports.
Tileand the scenes now takepaintingSrcas a URL or as an image import object ({ src }, Next's StaticImageData), so a Turbopack import works as is.url("flower-shop"); the ghibli ground shows its flat colour instead.Counter SSR. The server render shows
to, and so does any counter already on screen at load. Only a counter below the fold drops tofromand counts up when it scrolls in. A server render returns48,210forto={48210}.These are patch bumps for @botspace/tokens and @botspace/marketing. Typecheck, build and
npm testpass.Generated by Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.