fix(ratewise): 收斂 Nitro 設計 token 覆蓋#398
Open
s123104 wants to merge 1 commit into
Open
Conversation
- 補齊 Nitro legacy token、語義色彩 alias 與 focus ring offset,避免設定頁深色主題露出淺底 - 將 html/body 與 critical bootstrap 收斂到語義背景,並讓 applyTheme 同步 critical color-scheme - 新增 changeset、002 獎懲記錄與 token/critical path 漂移防線 測試:focused Vitest、typecheck、Prettier check、build、Chromium/WebKit smoke。
Contributor
Dependency ReviewThe following issues were found:
License Issues.github/workflows/ratewise-production-governance.yml
OpenSSF Scorecard
Scanned Files
|
Contributor
|
✅ SEO 審計通過!所有 2026 標準驗證項目都符合要求。
|
Contributor
Lighthouse Production Baseline ✅
檢查細節
|
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.
摘要
html/body/ critical bootstrap /applyTheme收斂到STYLE_DEFINITIONS與 design token SSOT。驗證
pnpm --filter @app/ratewise test -- src/config/design-tokens.test.ts src/config/__tests__/theme-consistency.test.tspnpm --filter @app/ratewise typecheckpnpm exec prettier --check apps/ratewise/index.html apps/ratewise/tailwind.config.ts apps/ratewise/src/index.css apps/ratewise/src/config/design-tokens.ts apps/ratewise/src/config/design-tokens.test.ts apps/ratewise/src/config/themes.ts .changeset/ratewise-nitro-token-ssot.md docs/dev/002_development_reward_penalty_log.mdpnpm --filter @app/ratewise buildhtml/bodybackground、color-scheme: dark、surface、primary active/ring 與 ring offset。pnpm test、pnpm build:ratewise通過。已知殘留