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