From 41eb1bb788c9bb31cb8cb622beba23f2fcb39b45 Mon Sep 17 00:00:00 2001 From: Davide Grilli Date: Tue, 16 Jun 2026 10:08:35 +0200 Subject: [PATCH] =?UTF-8?q?feat(ui):=20centralized=20design=20system=20?= =?UTF-8?q?=E2=80=94=20blue/green=20tokens,=20gradient=20hero,=20SVG=20tab?= =?UTF-8?q?=20icons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace raw Fluent defaults + inline hex with a semantic design system, themed for both light/dark (follows system variant). - Styles/Theme.axaml: semantic brushes (surface/text/border/status) per variant via ThemeDictionaries; override Fluent SystemAccentColor to brand blue (#2563EB) and ControlCornerRadius=8; blue->indigo balance gradient. - Styles/Controls.axaml: reusable classes (card, balance-hero, chip, ghost), type scale (amount with tabular figures, mono, h1, label), button/input polish, tab selected-in-blue, list hover/selected tints, card hover-lift. - MainView: balance shown as gradient hero card; dashboard tabs use Material SVG Path icons (Fill tracks TabItem selection) instead of Unicode glyphs; all hardcoded colors (LimeGreen/IndianRed/Orange/Gray/#99000000) and generic Fluent surface brushes mapped to semantic tokens; app background, stronger modal scrim, status bar top border. Palette derived from the logo (blue=trust, green=money). Build clean, app starts with no binding errors. --- src/App/App.axaml | 14 +- src/App/Styles/Controls.axaml | 160 +++++++++++++++++++++++ src/App/Styles/Theme.axaml | 96 ++++++++++++++ src/App/Views/MainView.axaml | 232 +++++++++++++++++++--------------- 4 files changed, 398 insertions(+), 104 deletions(-) create mode 100644 src/App/Styles/Controls.axaml create mode 100644 src/App/Styles/Theme.axaml diff --git a/src/App/App.axaml b/src/App/App.axaml index a86cd94..02c16c1 100644 --- a/src/App/App.axaml +++ b/src/App/App.axaml @@ -8,8 +8,20 @@ - + + + + + + + + + + + + \ No newline at end of file diff --git a/src/App/Styles/Controls.axaml b/src/App/Styles/Controls.axaml new file mode 100644 index 0000000..1f3534f --- /dev/null +++ b/src/App/Styles/Controls.axaml @@ -0,0 +1,160 @@ + + + + + + + + +