2026-06-16 10:08:35 +02:00
|
|
|
<ResourceDictionary xmlns="https://github.com/avaloniaui"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
|
|
<!-- ============================================================
|
2026-06-16 14:40:06 +02:00
|
|
|
Palladium wallet design tokens.
|
|
|
|
|
Identity: cobalt blue (trust) + green (money/positive),
|
|
|
|
|
derived from the logo. "Clean fintech" style.
|
2026-06-16 10:08:35 +02:00
|
|
|
|
2026-06-16 14:40:06 +02:00
|
|
|
All colors are SEMANTIC (role, not name): components
|
|
|
|
|
must never use inline hex but these brushes. Defined for
|
|
|
|
|
both variants (light/dark) via ThemeDictionaries, so
|
|
|
|
|
the app follows the system theme with no further configuration.
|
2026-06-16 10:08:35 +02:00
|
|
|
============================================================ -->
|
|
|
|
|
|
|
|
|
|
<ResourceDictionary.ThemeDictionaries>
|
|
|
|
|
|
2026-06-16 14:40:06 +02:00
|
|
|
<!-- ============ LIGHT THEME ============ -->
|
2026-06-16 10:08:35 +02:00
|
|
|
<ResourceDictionary x:Key="Light">
|
2026-06-16 14:40:06 +02:00
|
|
|
<!-- Surfaces -->
|
2026-06-16 10:08:35 +02:00
|
|
|
<SolidColorBrush x:Key="AppBackgroundBrush" Color="#F1F5F9"/> <!-- slate-100 -->
|
|
|
|
|
<SolidColorBrush x:Key="SurfaceBrush" Color="#FFFFFF"/>
|
|
|
|
|
<SolidColorBrush x:Key="SurfaceAltBrush" Color="#F8FAFC"/> <!-- slate-50 -->
|
|
|
|
|
<SolidColorBrush x:Key="OverlayCardBrush" Color="#FFFFFF"/>
|
|
|
|
|
<SolidColorBrush x:Key="ScrimBrush" Color="#66000000"/> <!-- 40% -->
|
2026-06-16 14:40:06 +02:00
|
|
|
<!-- Borders and separators -->
|
2026-06-16 10:08:35 +02:00
|
|
|
<SolidColorBrush x:Key="BorderSubtleBrush" Color="#E2E8F0"/> <!-- slate-200 -->
|
|
|
|
|
<SolidColorBrush x:Key="BorderStrongBrush" Color="#CBD5E1"/> <!-- slate-300 -->
|
2026-06-16 14:40:06 +02:00
|
|
|
<!-- Text -->
|
2026-06-16 10:08:35 +02:00
|
|
|
<SolidColorBrush x:Key="TextPrimaryBrush" Color="#0F172A"/> <!-- slate-900 -->
|
|
|
|
|
<SolidColorBrush x:Key="TextSecondaryBrush" Color="#475569"/> <!-- slate-600 -->
|
|
|
|
|
<SolidColorBrush x:Key="TextMutedBrush" Color="#94A3B8"/> <!-- slate-400 -->
|
2026-06-16 14:40:06 +02:00
|
|
|
<!-- Brand / state -->
|
2026-06-16 10:08:35 +02:00
|
|
|
<SolidColorBrush x:Key="PrimaryBrush" Color="#2563EB"/> <!-- blue-600 -->
|
|
|
|
|
<SolidColorBrush x:Key="PrimaryHoverBrush" Color="#1D4ED8"/> <!-- blue-700 -->
|
|
|
|
|
<SolidColorBrush x:Key="OnPrimaryBrush" Color="#FFFFFF"/>
|
|
|
|
|
<SolidColorBrush x:Key="PrimarySoftBrush" Color="#EFF6FF"/> <!-- blue-50 -->
|
|
|
|
|
<SolidColorBrush x:Key="SuccessBrush" Color="#16A34A"/> <!-- green-600 -->
|
|
|
|
|
<SolidColorBrush x:Key="WarningBrush" Color="#D97706"/> <!-- amber-600 -->
|
|
|
|
|
<SolidColorBrush x:Key="DangerBrush" Color="#DC2626"/> <!-- red-600 -->
|
2026-06-16 14:40:06 +02:00
|
|
|
<!-- Hero gradient of the balance card: blue → indigo -->
|
2026-06-16 10:08:35 +02:00
|
|
|
<LinearGradientBrush x:Key="BalanceGradientBrush" StartPoint="0%,0%" EndPoint="100%,100%">
|
|
|
|
|
<GradientStop Offset="0" Color="#2563EB"/>
|
|
|
|
|
<GradientStop Offset="1" Color="#4F46E5"/>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</ResourceDictionary>
|
|
|
|
|
|
2026-06-16 14:40:06 +02:00
|
|
|
<!-- ============ DARK THEME ============ -->
|
2026-06-16 10:08:35 +02:00
|
|
|
<ResourceDictionary x:Key="Dark">
|
2026-06-16 14:40:06 +02:00
|
|
|
<!-- Surfaces -->
|
2026-06-16 10:08:35 +02:00
|
|
|
<SolidColorBrush x:Key="AppBackgroundBrush" Color="#0F172A"/> <!-- slate-900 -->
|
|
|
|
|
<SolidColorBrush x:Key="SurfaceBrush" Color="#1E293B"/> <!-- slate-800 -->
|
|
|
|
|
<SolidColorBrush x:Key="SurfaceAltBrush" Color="#273449"/>
|
|
|
|
|
<SolidColorBrush x:Key="OverlayCardBrush" Color="#1E293B"/>
|
|
|
|
|
<SolidColorBrush x:Key="ScrimBrush" Color="#99000000"/> <!-- 60% -->
|
2026-06-16 14:40:06 +02:00
|
|
|
<!-- Borders and separators -->
|
2026-06-16 10:08:35 +02:00
|
|
|
<SolidColorBrush x:Key="BorderSubtleBrush" Color="#334155"/> <!-- slate-700 -->
|
|
|
|
|
<SolidColorBrush x:Key="BorderStrongBrush" Color="#475569"/> <!-- slate-600 -->
|
2026-06-16 14:40:06 +02:00
|
|
|
<!-- Text -->
|
2026-06-16 10:08:35 +02:00
|
|
|
<SolidColorBrush x:Key="TextPrimaryBrush" Color="#F8FAFC"/> <!-- slate-50 -->
|
|
|
|
|
<SolidColorBrush x:Key="TextSecondaryBrush" Color="#94A3B8"/> <!-- slate-400 -->
|
|
|
|
|
<SolidColorBrush x:Key="TextMutedBrush" Color="#64748B"/> <!-- slate-500 -->
|
2026-06-16 14:40:06 +02:00
|
|
|
<!-- Brand / state (brighter tones on dark background) -->
|
2026-06-16 10:08:35 +02:00
|
|
|
<SolidColorBrush x:Key="PrimaryBrush" Color="#3B82F6"/> <!-- blue-500 -->
|
|
|
|
|
<SolidColorBrush x:Key="PrimaryHoverBrush" Color="#60A5FA"/> <!-- blue-400 -->
|
|
|
|
|
<SolidColorBrush x:Key="OnPrimaryBrush" Color="#0B1120"/>
|
|
|
|
|
<SolidColorBrush x:Key="PrimarySoftBrush" Color="#1E3A8A"/> <!-- blue-900 -->
|
|
|
|
|
<SolidColorBrush x:Key="SuccessBrush" Color="#22C55E"/> <!-- green-500 -->
|
|
|
|
|
<SolidColorBrush x:Key="WarningBrush" Color="#F59E0B"/> <!-- amber-500 -->
|
|
|
|
|
<SolidColorBrush x:Key="DangerBrush" Color="#EF4444"/> <!-- red-500 -->
|
2026-06-16 14:40:06 +02:00
|
|
|
<!-- Hero gradient of the balance card: blue → indigo (deeper tones) -->
|
2026-06-16 10:08:35 +02:00
|
|
|
<LinearGradientBrush x:Key="BalanceGradientBrush" StartPoint="0%,0%" EndPoint="100%,100%">
|
|
|
|
|
<GradientStop Offset="0" Color="#1D4ED8"/>
|
|
|
|
|
<GradientStop Offset="1" Color="#4338CA"/>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</ResourceDictionary>
|
|
|
|
|
|
|
|
|
|
</ResourceDictionary.ThemeDictionaries>
|
|
|
|
|
|
|
|
|
|
<!-- ============================================================
|
2026-06-16 14:40:06 +02:00
|
|
|
Override of the Fluent accent → brand blue. Recolors
|
|
|
|
|
consistently the controls that read SystemAccentColor (accent
|
|
|
|
|
buttons, selections, tab indicator, focus) without retemplating anything.
|
|
|
|
|
Variant-independent: #2563EB works on light and dark.
|
2026-06-16 10:08:35 +02:00
|
|
|
============================================================ -->
|
|
|
|
|
<Color x:Key="SystemAccentColor">#2563EB</Color>
|
|
|
|
|
<Color x:Key="SystemAccentColorDark1">#1D4ED8</Color>
|
|
|
|
|
<Color x:Key="SystemAccentColorDark2">#1E40AF</Color>
|
|
|
|
|
<Color x:Key="SystemAccentColorDark3">#1E3A8A</Color>
|
|
|
|
|
<Color x:Key="SystemAccentColorLight1">#3B82F6</Color>
|
|
|
|
|
<Color x:Key="SystemAccentColorLight2">#60A5FA</Color>
|
|
|
|
|
<Color x:Key="SystemAccentColorLight3">#93C5FD</Color>
|
|
|
|
|
|
2026-06-16 14:40:06 +02:00
|
|
|
<!-- Global Fluent control corner radii: rounds buttons, inputs, combos,
|
|
|
|
|
and lists uniformly without retemplating each control. -->
|
2026-06-16 10:08:35 +02:00
|
|
|
<CornerRadius x:Key="ControlCornerRadius">8</CornerRadius>
|
|
|
|
|
<CornerRadius x:Key="OverlayCornerRadius">12</CornerRadius>
|
|
|
|
|
</ResourceDictionary>
|