Repository navigation
feat(ui): align global theme, typography, and chip color tokens - #952
Merged
Merged
Conversation
Align global typography (Roboto), white canvas (#ffffff), mat-card borders (1px solid #dadce0), and XID/tag chip color tokens with the prototype design system. TAG=agy CONV=10ea5f21-5600-4e9d-91a0-f605c676b5bd
There was a problem hiding this comment.
Code Review
This pull request updates the UI styling across several components, including tags, badges, cards, and description lists, while also adjusting the header height and introducing the 'Roboto' font. The review feedback highlights that several of these styling updates introduce hardcoded hex colors, which breaks the application's themeability. It is recommended to use Material Design system CSS variables with the new colors as fallbacks to ensure dark mode and custom themes remain supported.
…nsts Comment link: #952 (comment) TAG=agy CONV=10ea5f21-5600-4e9d-91a0-f605c676b5bd
…cal row shift in screenshot tests
liutj-tech
marked this pull request as ready for review
September 22, 2026 21:56
liutj-tech
requested review from
AntonTyb
and removed request for
andrzejfudro
September 22, 2026 21:56
AntonTyb
approved these changes
Sep 23, 2026
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
Aligns the global UI surface (
#ffffff), primary typography (Roboto),mat-cardborder styling (1px solid #dadce0,8pxradius), and shared chip color tokens (--xmc-xid-badge-*and--xmc-tag-*) with the prototype design system.(Part 1 of 8 in the scoped UI Style Alignment series corresponding to Area #1 of the Style Inconsistency Table.)
Visual Comparison (Before vs. After)
Component-Level Diff (Area #1)
📸 Full-Page Context Screenshot (Production vs. Prototype)
Motivation & Context
Brings Area #1 of
cmd/ui/into visual alignment with the Google Cloud / Material 3 prototype specification while keeping this Pull Request focused on a single cohesive component area (< 45lines of diff).Key Changes
cmd/ui/index.html&cmd/ui/styles.scss: Load GoogleRoboto(400,500,600,700) font and sethtml/bodybackground to#ffffff(#202124text) andmat-cardborder to1px solid #dadce0(8pxradius,box-shadow: none).cmd/ui/consts.scss: Set$xmc-header-height: 48px, add1px solid #f1f3f4bottom borders to@mixin key-value-pair, left-align@mixin summary-secondary-title, and setcontainer-shape-radius: 4pxon@mixin small-chip.cmd/ui/custom_colors.scss,xid_badge.scss,tag.scss: Set XID badge tokens (#e8f0febg,#1a73e8text) and Tag tokens (#385155bg,#fffffftext) withcontainer-shape-radius: 4px.Assumptions
"XManager"brand title/logo and fixed200pxnon-expandable left sidenav was explicitly requested by the user — expandable drawer behavior and brand header text changes are deferred to a future change — zero impact on current routes or functionality.Verification & Testing
./tools/analyze_diff_size.py --base-ref origin/main...(well below400-line threshold)npm run format:check && npm run lint(Prettier & ESLint passed cleanly)npm run build(Angular production bundle compiled cleanly)npm test -- --watch=false --browsers=ChromeHeadlessNoSandbox(616 of 616 SUCCESS)Related Issues / Bugs
N/A
TAG=agy
CONV=10ea5f21-5600-4e9d-91a0-f605c676b5bd