4 writes to EffectiveTheme
Aspire.Dashboard (2)
Components\Layout\MainLayout.razor.cs (1)
312ThemeManager.EffectiveTheme = await module.InvokeAsync<string>("updateTheme", theme);
Components\Legacy\Layout\LegacyMainLayout.razor.cs (1)
284ThemeManager.EffectiveTheme = await _jsModule!.InvokeAsync<string>("updateTheme", theme);
Aspire.Dashboard.Components.Tests (2)
Controls\TextVisualizerDialogTests.cs (2)
336themeManager.EffectiveTheme = "Light"; 343themeManager.EffectiveTheme = "Dark";
4 references to EffectiveTheme
Aspire.Dashboard (2)
Components\Controls\Chart\ChartContainer.razor.cs (1)
120_instrumentViewModel.Theme = ThemeManager.EffectiveTheme;
Components\Controls\TextVisualizer.razor.cs (1)
110return $"log-content highlight-line language-{ViewModel.FormatKind} theme-a11y-{ThemeManager.EffectiveTheme.ToLowerInvariant()}-min";
Aspire.Dashboard.Components.Tests (2)
Layout\MainLayoutTests.cs (2)
1221Assert.Equal(ThemeManager.ThemeSettingDark, themeManager.EffectiveTheme); 1230Assert.Equal(ThemeManager.ThemeSettingLight, themeManager.EffectiveTheme);