This commit is contained in:
Dev
2026-04-24 10:54:47 +02:00
14 changed files with 681 additions and 0 deletions
@@ -176,7 +176,14 @@ public partial class StorageViewModel : FeatureViewModelBase
ExportCsvCommand = new AsyncRelayCommand(ExportCsvAsync, CanExport);
ExportHtmlCommand = new AsyncRelayCommand(ExportHtmlAsync, CanExport);
<<<<<<< HEAD
ApplyChartThemeColors();
=======
<<<<<<< HEAD
ApplyChartThemeColors();
=======
>>>>>>> f4cc81bb71b935c6f6f050288c9e283dcca5cfa8
>>>>>>> b8c09655ac1a3cf1e116d5b5178ec293659c1a72
if (_themeManager is not null)
_themeManager.ThemeChanged += (_, _) => UpdateChartSeries();
}
@@ -398,6 +405,10 @@ public partial class StorageViewModel : FeatureViewModelBase
private SKColor ChartFgColor => (_themeManager?.IsDarkActive ?? false) ? new SKColor(0xE7, 0xEA, 0xF1) : new SKColor(0x1F, 0x24, 0x30);
private SKColor ChartSeparatorColor => (_themeManager?.IsDarkActive ?? false) ? new SKColor(0x32, 0x38, 0x49) : new SKColor(0xE3, 0xE6, 0xEC);
<<<<<<< HEAD
=======
<<<<<<< HEAD
>>>>>>> b8c09655ac1a3cf1e116d5b5178ec293659c1a72
private SKColor ChartSurfaceColor => (_themeManager?.IsDarkActive ?? false) ? new SKColor(0x1E, 0x22, 0x30) : new SKColor(0xFF, 0xFF, 0xFF);
private void ApplyChartThemeColors()
@@ -407,6 +418,11 @@ public partial class StorageViewModel : FeatureViewModelBase
TooltipTextPaint.Color = ChartFgColor;
TooltipBackgroundPaint.Color = ChartSurfaceColor;
}
<<<<<<< HEAD
=======
=======
>>>>>>> f4cc81bb71b935c6f6f050288c9e283dcca5cfa8
>>>>>>> b8c09655ac1a3cf1e116d5b5178ec293659c1a72
private void UpdateChartSeries()
{