File: System\Windows\FluentThemeState.cs
Web Access
Project: src\src\Microsoft.DotNet.Wpf\src\PresentationFramework\PresentationFramework.csproj (PresentationFramework)
using System;
using System.Windows;
using System.Windows.Media;
 
namespace System.Windows
{
    internal readonly record struct FluentThemeState
    {
        public FluentThemeState(string themeName, bool useLightColors)
        {
            ThemeName = themeName;
            UseLightColors = useLightColors;
            AccentColor = SystemColors.AccentColor;
        }
 
        public string ThemeName {get; init;}
        public bool UseLightColors {get; init;}
        public Color AccentColor {get; init;}
    }
}