feat(frontend): W13 — Google AI Studio 라이트 테마 전역 채택 (TRUSCA)#397
Merged
Conversation
… (TRUSCA) Promotes the PR #394 dev prototype to the default theme after user review (full adoption including pill buttons; risk-low colour separated): - index.css: :root tokens move to the AIS light palette — white canvas, #0b57d0 Google-blue primary, #d3e3fd tonal secondary, #dadce0 borders, #f8f9fa muted, radius 8px (derived scale 6/8/10/14), shadow-sm now a zero-alpha no-op (flat cards), md/lg follow Google elevation-1/-2. Motion, layout density, and typography tokens unchanged. - risk-low: #2563eb (blue-600) -> #0f766e (teal-700) so Low badges no longer share a hue with the new blue primary. 5.47:1 on white and 4.76:1 on its own tint (both AA, better than the old blue). Badge low text follows the hue family: text-blue-700 -> text-teal-800 (6.59:1). - button.tsx: rounded-full pills on every variant/size (AIS silhouette); per-size rounded-md remnants removed so twMerge doesn't undo the pill. - AppShell: sidebar nav items become pills to match. - Prototype apparatus deleted (theme-ais.css, devTheme.ts, AisThemeToggle, its unit test, main.tsx DEV branch) - the tokens now live in :root. - /dev/design-preview re-titled to the W13 skin; side-by-side prototype section removed; radius labels updated; gallery test follows. - design-system.md (EN/KO): W13 section + token/contrast/radius/shadow tables updated; W11 kept as collapsed history. ko-style lint clean. Visual-regression baselines intentionally NOT updated here - they must be regenerated on a linux runner (visual-regression.yml --update-snapshots path) after merge; the nightly gate will flag until then.
Conflict resolution: - DesignSystemPreview: keep W1's BrandCandidates section, drop the deleted AisThemeToggle import (prototype apparatus removed by W13). - design-system.md EN/KO frontmatter: W13 description wins over the W3 rename of the W11 text; W3's particle spacing fix (TRUSCA는) kept.
haksungjang
added a commit
that referenced
this pull request
Jun 12, 2026
…brand + logo (#400) Reverts the W13 Google AI Studio re-skin (#397, 4c1bd1b) at the user's request — the W11 Vercel + Linear look (warm near-black primary, off-white canvas, square corners, blue Low badge) is restored. The TRUSCA rebrand (W1/W2/W3 display names, logo, favicon) and W4 identifier renames are untouched: #397 only ever changed design tokens / components / the design- system doc, so the two concerns separate cleanly. - index.css / button.tsx / badge.tsx / tailwind.config.ts: restored byte- for-byte to their pre-W13 (4c1bd1b^) state; index.css keeps only the TRUSCA brand name in its header comment. - AppShell sidebar nav: pill -> rounded-md. - DesignSystemPreview + its test: title / radius labels / section copy back to W11; the W1 BrandCandidates section is kept. - design-system.md EN/KO: W11 content restored, with W4's repo-URL rename (trustedoss-portal -> trusca) re-applied so the brand link stays correct. - Prototype apparatus stays deleted (not resurrected); main.tsx untouched. Reversible both ways: the W13 design is preserved in history as 4c1bd1b, and this rollback does not touch the (already-deleted) prototype files, so re- adopting it later is a clean `git revert <this-commit>` (or cherry-pick the 4c1bd1b design diff). Side effect: the pending 'W13 visual-regression baseline regen' follow-up is moot — the committed baselines are W11-era.
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.
What
PR #394 프로토타입을 사용자 검토 후 기본 테마로 승격한다 (전면 채택 + 필 버튼 포함, risk-low 색 분리 — 사용자 확정).
index.css:root): 흰 캔버스, Google 블루 primary#0b57d0, tonal secondary#d3e3fd, 보더#dadce0, muted#f8f9fa, radius 8px(파생 6/8/10/14), shadow-sm은 zero-alpha no-op(평면 카드), md/lg는 Google elevation-1/-2. 모션·레이아웃 밀도·타이포 토큰 불변.#2563eb(blue-600) →#0f766e(teal-700) — Low 배지가 새 블루 primary와 같은 계열로 읽히던 충돌 해소. 흰 배경 5.47:1, 자기 틴트 위 4.76:1(모두 AA, 기존보다 개선). Badge low 텍스트는 hue family 패턴대로text-teal-800(6.59:1).button.tsxbaserounded-full(임시 CSS 규칙 대체), size variant의rounded-md잔재 제거(twMerge가 필을 덮는 문제), 사이드바 nav 항목도 필.:root로 들어갔으므로 폐기.Gates
Follow-up (머지 후)
visual-regression.ymldispatch 경로(--update-snapshots)로 linux 베이스라인 갱신 후 커밋. 그 전까지 nightly visual-regression은 의도된 red.