feat(desktop): Raft theme + zh/en i18n - #3285
Open
tianheil3 wants to merge 2 commits into
Open
Conversation
Apply BC home_portal raft tokens (cream paper, charcoal sidebar, amber primary, hard radius, Space Grotesk) across desktop shell styles and shared controls. Add a lightweight Desktop i18n layer with default Chinese, top-chrome and settings language toggles, and main-path coverage for sidebar, settings nav, search, and appearance. Also aligns admin-web/web font/token previews non-blockingly.
Review needs_rework: ThemeProvider no longer lets createThemeVars / neutral accent wipe raft chrome on buzz/buzz-dark. Overlay raft shell vars after adaptive theme load, pin amber primary, and bump FOUC cache. Translate search empty/recent/actions/context and settings back/permissions/retry strings. Add raft-shell + i18n persistence unit tests.
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.
Summary
--radius: 0), Space GroteskVerify
cd desktop && pnpm typecheck✅node --import ./test-loader.mjs --experimental-strip-types --test src/shared/i18n/i18n.test.mjs✅ (5 pass)pnpm exec vite build✅Exact
b54abcdaa6d1be2ee77bf4fd0f78438a8f2ec79fontianheil3/buzzbranchagent/buzz-ui-ram-homeNotes