Light theme and invite by link#19
Merged
timofeykafanov merged 10 commits intodevelopfrom Mar 13, 2026
Merged
Conversation
…les and adding tests for RoomControls and ThemeToggle components
…t and update tests accordingly
…hydration, and add Chrome Devtools route
…cross configurations
…and error handling
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.
Light Theme, Invite-by-Link & Test Coverage
Light Theme Support
app.csswith CSS custom properties for surfaces, text, borders, overlays, and status colors.darkclass on<html>useThemehook for persisting theme preference tolocalStoragewith system-preference fallbackThemeTogglecomponent (sun/moon icon button, fixed top-right)gray-*/whiteTailwind classes across components to semantic tokens (bg-surface,text-on-surface,border-outline, etc.)Invite by Link
/:room/:playerNamedynamic route (join.tsx) so players can join a room directly via a shared URLRoomControlswith clipboard API + fallback, giving instant invite-by-link functionalityplayerNamethrough toRoomControlsfor link generationTests
ThemeToggle(8 tests),useThemehook (10 tests),RoomControls(20+ tests), andgamesServiceGameModeSelector,OpponentCard,routes) to work with the new semantic-token styling and the new join route