Repository navigation
[UI] Flat refresh 1/9: design tokens, typography and theme - #591
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33AUvKfBT3ECDpcLbiBP
|
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.



Pull Request
📖 Description
Replaces the glass look of the application with a flat token set for the light and the dark theme: opaque surfaces with hairline borders, no blur, gradients or elevation shadows, and no lifting or scaling on hover. Self-hosted Space Grotesk (with its OFL license, preloaded in
App.razor) is used for page titles, entity names and figures, and Inter for all other text, MudBlazor components included. TheMainLayouttheme carries the same palette, a 6 px radius, the 14 px / 1.45 body typography and no elevation shadows. The dark token block applies to the whole document while the layout carriesdug-dark, so menus, popovers and dialogs follow the dark theme too. Page markup, routes, texts and computed values are unchanged; this is a feature (enhancement).🎫 Issues
Closes #451
Decision records: docs/decisions/0077-the-dark-theme-tokens-apply-to-the-whole-document-while-the-layout-is-dark.md, docs/decisions/0078-mudblazor-elevation-shadows-are-switched-off-in-the-theme.md
💬 Reviewer Notes
Smoke test: open the Dashboard and Runtime Containers in both themes and below 960 px; surfaces are flat, titles are Space Grotesk, the active drawer link is semibold in the text color. Dialogs and snackbars keep MudBlazor's own shadow (documented in docs/areas/web-ui.md). The brand title and theme toggle sit close together at 400 px, as before.
📑 Test Plan
New
AppStylesheetTests,AppTests,StylesheetReaderTestsandContrastRatioTestsread the shippedapp.css,App.razorand the font files and check the tokens, banned constructs, the dark-block selector and WCAG contrast (74 token pairs). New theme tests inMainLayoutRenderTestsrender the layout in both modes and check typography, both palettes, contrast texts, radius and the 26 elevations. The existing layout tests are unchanged. The Coverage gate reports 100 % on new or changed lines and 94.9 % overall; the manual browser check covered Dashboard and Runtime Containers at 1360 and 400 px in both themes, and a keyboard-focused metric card was not rendered.✅ Checklist
.squad/stack.md, and the Analyzer gate reports no diagnostic in a changed file..squad/stack.mdpasses (new or changed production code with the branch conditions its report records, line coverage overall).README.md,ARCHITECTURE.md) and the area document of every changed behavior to reflect my changes..squad/stack.mdprescribes.breaking-changeand says so in the Description.csharp.instructions.mdare followed.UI-specific
⏭ Next Steps
None.