GRI-1946: apply the Grimoirix design system to the web front end #149
No reviewers
Labels
No labels
Area/Backend
Area/Database
Area/Docs
Area/Frontend
Area/Infra
Area/Security
Area/Tests
Area/Tooling
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Lang/Python
Lang/Rust
Lang/Shell
Lang/SQL
Lang/TypeScript
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Routing
Auto
Routing
Hold
Routing
Human
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Grimoirix/grimoire-of-digital-signage!149
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/GRI-1946-grimoirix-design-system"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
gx-components) intofrontend-web/src/index.css, replacing the Phase-1 placeholder styles.initTheme()inmain.tsxbefore the first paint and add aThemeToggle(useTheme()fromdesign/ts/react.ts) wired into the dashboard header and a top bar on the pre-auth screens (loading/error/setup/login); dark is the default and the choice is remembered inlocalStorage.gx-btn,gx-input,gx-card,gx-tag,gx-noteandgx-field/gx-actions/gx-listlayout helpers instead of unstyled elements.design/; only consumed it, per the product owner's note on the forge issue.Scope notes
classNames were added and<div>wrappers introduced around existing status/alert text for the note styling.grep -rE '#[0-9a-fA-F]{3,8}\b' frontend-web/srconly matches a code comment referencing issue "#123", not a colour literal.Test plan
npm run check(prettier, oxlint, tsc, vitest — 31 tests) passes.npm run buildsucceeds; fonts and CSS bundle correctly.scripts/local-gates.sh --frontend-onlypasses (git hooks + frontend-web check + build).dev:mock) with headless Chromium through setup wizard, account creation and the dashboard/devices screen in both dark and light mode — screenshots confirm Cinzel/Spline Sans fonts, token colours, no pure white, visible cyan focus ring on a text input.prefers-reduced-motion: reducecollapses transition durations to0.01ms(from the template's base styles).CI on PR #149 (commit
1298da52) is green:CI / CI (pull_request)— the aggregate required check — passed, andfj cireports exit 0 ("CI passed").Per-job detail:
cargo deny advisoriesfailed, but this is pre-existing and unrelated to this change: it flagsglib/paste/proc-macro-erroradvisories from the Tauri/GTK native-client dependency tree, nothing infrontend-web. Not introduced by this PR.Ready for review/merge. Handing to the CTO.