feat: windows条件编译

This commit is contained in:
liushuai07 2024-10-20 00:57:22 +08:00
parent cb6ab3c8b3
commit dad221f0a5
7 changed files with 1129 additions and 1115 deletions

View File

@ -1,4 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">
<DefineConstants>PLATFORM_WINDOWS</DefineConstants>
</PropertyGroup>
<Import Project="$(MSBuildThisFileDirectory)..\..\build\Common.props"/>
<Import Project="$(MSBuildThisFileDirectory)..\..\build\Nuget.props"/>

View File

@ -5,7 +5,10 @@ using Avalonia.Controls.Primitives.PopupPositioning;
using Avalonia.Media;
using Avalonia.Platform;
using Avalonia.VisualTree;
#if PLATFORM_WINDOWS
using AtomUI.Platform.Windows;
#endif
namespace AtomUI.MotionScene;
@ -39,10 +42,12 @@ internal class SceneLayer : WindowBase, IHostedVisualTreeRoot, IDisposable
{
ParentTopLevel = parent;
impl.SetWindowManagerAddShadowHint(false);
#if PLATFORM_WINDOWS
if (this is WindowBase window)
{
window.SetTransparentForMouseEvents(true);
}
#endif
if (PlatformImpl?.PopupPositioner is ManagedPopupPositioner managedPopupPositioner)
{

View File

@ -1,119 +1,119 @@
namespace AtomUI.Theme
{
internal class ControlThemeRegister
{
internal static void Register()
{
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.AddOnDecoratedBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.AddOnDecoratedInnerBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.AlertTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ArrowDecoratedBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.Badge.CountBadgeAdornerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.Badge.DotBadgeAdornerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ButtonSpinnerInnerBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ButtonSpinnerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.DefaultButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.DropdownButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.IconButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.LinkButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.PrimaryButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.SplitButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TextButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ToggleIconButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.BaseCalendarButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.BaseCalendarDayButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.HeadTextButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CheckBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CollapseItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CollapseTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ComboBoxItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ComboBoxSpinnerInnerBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ComboBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarView.CalendarButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarView.CalendarDayButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarView.CalendarItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarView.CalendarTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarView.DualMonthCalendarItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarView.DualMonthRangeCalendarTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarView.RangeCalendarTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.DatePickerFlyoutPresenterTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.DatePickerPresenterTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.DatePickerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.DualMonthRangeDatePickerPresenterTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.RangeDatePickerFlyoutPresenterTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.RangeDatePickerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TimedRangeDatePickerPresenterTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.EmptyIndicatorTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ExpanderTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.MenuFlyoutPresenterTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.GroupBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.LineEditTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.SearchEditDecoratedBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.SearchEditTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TextBoxInnerBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TextBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.PickerClearUpButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.Internal.RangeInfoPickerInputTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ListBoxItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ListBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.LoadingIndicatorAdornerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.LoadingIndicatorTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ContextMenuTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.MenuItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.MenuScrollViewerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.MenuSeparatorTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.MenuTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TopLevelMenuItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.MessageCardTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.WindowMessageManagerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.HorizontalNavMenuTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.InlineNavMenuItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.NavMenuItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.NavMenuTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TopLevelHorizontalNavMenuItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.VerticalNavMenuItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.VerticalNavMenuTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.NotificationCardTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.WindowNotificationManagerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.NumericUpDownTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.OptionButtonGroupTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.OptionButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.PopupConfirmContainerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CircleProgressTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.DashboardProgressTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ProgressBarTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.StepsProgressBarTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.RadioButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.SegmentedItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.SegmentedTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.SeparatorTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.SliderTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.SliderThumbTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ToggleSwitchTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.BaseOverflowMenuItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.BaseTabScrollViewerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CardTabControlTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CardTabItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TabControlTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TabItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CardTabStripItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CardTabStripTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TabStripItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TabStripTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TagTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TimelineItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TimelineTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.RangeTimePickerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TimePickerFlyoutPresenterTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TimePickerPresenterTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TimePickerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TimeViewTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ToolTipTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.NodeSwitcherButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TreeViewItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TreeViewTheme());
}
}
namespace AtomUI.Theme
{
internal class ControlThemeRegister
{
internal static void Register()
{
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.AddOnDecoratedBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.AddOnDecoratedInnerBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.AlertTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ArrowDecoratedBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.Badge.CountBadgeAdornerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.Badge.DotBadgeAdornerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.DefaultButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.DropdownButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.IconButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.LinkButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.PrimaryButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.SplitButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TextButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ToggleIconButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ButtonSpinnerInnerBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ButtonSpinnerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.BaseCalendarButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.BaseCalendarDayButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.HeadTextButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CheckBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CollapseItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CollapseTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ComboBoxItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ComboBoxSpinnerInnerBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ComboBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarView.CalendarButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarView.CalendarDayButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarView.CalendarItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarView.CalendarTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarView.DualMonthCalendarItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarView.DualMonthRangeCalendarTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CalendarView.RangeCalendarTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.DatePickerFlyoutPresenterTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.DatePickerPresenterTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.DatePickerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.DualMonthRangeDatePickerPresenterTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.RangeDatePickerFlyoutPresenterTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.RangeDatePickerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TimedRangeDatePickerPresenterTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.EmptyIndicatorTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ExpanderTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.MenuFlyoutPresenterTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.GroupBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.LineEditTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.SearchEditDecoratedBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.SearchEditTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TextBoxInnerBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TextBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.PickerClearUpButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.Internal.RangeInfoPickerInputTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ListBoxItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ListBoxTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.LoadingIndicatorAdornerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.LoadingIndicatorTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ContextMenuTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.MenuItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.MenuScrollViewerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.MenuSeparatorTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.MenuTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TopLevelMenuItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.MessageCardTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.WindowMessageManagerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.HorizontalNavMenuTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.InlineNavMenuItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.NavMenuItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.NavMenuTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TopLevelHorizontalNavMenuItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.VerticalNavMenuItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.VerticalNavMenuTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.NotificationCardTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.WindowNotificationManagerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.NumericUpDownTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.OptionButtonGroupTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.OptionButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.PopupConfirmContainerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CircleProgressTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.DashboardProgressTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ProgressBarTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.StepsProgressBarTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.RadioButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.SegmentedItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.SegmentedTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.SeparatorTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.SliderTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.SliderThumbTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ToggleSwitchTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.BaseOverflowMenuItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.BaseTabScrollViewerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CardTabControlTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CardTabItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TabControlTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TabItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CardTabStripItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.CardTabStripTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TabStripItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TabStripTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TagTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TimelineItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TimelineTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.RangeTimePickerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TimePickerFlyoutPresenterTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TimePickerPresenterTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TimePickerTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TimeViewTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.ToolTipTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.NodeSwitcherButtonTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TreeViewItemTheme());
ThemeManager.Current.RegisterControlTheme(new AtomUI.Controls.TreeViewTheme());
}
}
}

View File

@ -1,50 +1,50 @@
namespace AtomUI.Theme
{
internal class ControlTokenTypeRegister
{
internal static void Register()
{
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.AddOnDecoratedBoxToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.AlertToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ArrowDecoratedBoxToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.BadgeToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ButtonSpinnerToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ButtonToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.CalendarToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.CheckBoxToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.CollapseToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ComboBoxToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.DatePickerToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.EmptyIndicatorToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ExpanderToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.FlyoutPresenterToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.GroupBoxToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.LineEditToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.Internal.InfoPickerInputToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ListBoxToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.LoadingIndicatorToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.MarqueeLabelToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.MenuToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.MessageToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.NavMenuToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.NotificationToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.NumericUpDownToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.OptionButtonToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.PopupConfirmToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ProgressBarToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.RadioButtonToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.SegmentedToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.SeparatorToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.SliderToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ToggleSwitchToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.TabControlToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.TagToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.TimelineToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.TimePickerToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ToolTipToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.TreeViewToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.CaptionButtonToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.WindowToken));
}
}
namespace AtomUI.Theme
{
internal class ControlTokenTypeRegister
{
internal static void Register()
{
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.AddOnDecoratedBoxToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.AlertToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ArrowDecoratedBoxToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.BadgeToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ButtonToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ButtonSpinnerToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.CalendarToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.CheckBoxToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.CollapseToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ComboBoxToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.DatePickerToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.EmptyIndicatorToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ExpanderToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.FlyoutPresenterToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.GroupBoxToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.LineEditToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.Internal.InfoPickerInputToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ListBoxToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.LoadingIndicatorToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.MarqueeLabelToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.MenuToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.MessageToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.NavMenuToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.NotificationToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.NumericUpDownToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.OptionButtonToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.PopupConfirmToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ProgressBarToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.RadioButtonToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.SegmentedToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.SeparatorToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.SliderToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ToggleSwitchToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.TabControlToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.TagToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.TimelineToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.TimePickerToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.ToolTipToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.TreeViewToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.CaptionButtonToken));
ThemeManager.Current.RegisterControlTokenType(typeof(AtomUI.Controls.WindowToken));
}
}
}

View File

@ -2,7 +2,10 @@
using System.Reflection;
using AtomUI.Controls.Primitives;
using AtomUI.Media;
#if PLATFORM_WINDOWS
using AtomUI.Platform.Windows;
#endif
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
@ -41,10 +44,12 @@ internal class PopupShadowLayer : LiteWindow, IShadowDecorator
: base(topLevel, topLevel.PlatformImpl?.CreatePopup()!)
{
Background = new SolidColorBrush(Colors.Transparent);
#if PLATFORM_WINDOWS
if (this is WindowBase window)
{
window.SetTransparentForMouseEvents(true);
}
}
#endif
if (PlatformImpl?.PopupPositioner is ManagedPopupPositioner managedPopupPositioner)
{

View File

@ -1,226 +1,226 @@
using AtomUI.Theme.TokenSystem;
namespace AtomUI.Theme.Styling
{
public static class GlobalTokenResourceKey
{
public static readonly TokenResourceKey ColorFillContentHover = new TokenResourceKey("ColorFillContentHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorFillAlter = new TokenResourceKey("ColorFillAlter", "AtomUI.Token");
public static readonly TokenResourceKey ColorFillContent = new TokenResourceKey("ColorFillContent", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgContainerDisabled = new TokenResourceKey("ColorBgContainerDisabled", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgTextHover = new TokenResourceKey("ColorBgTextHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgTextActive = new TokenResourceKey("ColorBgTextActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorBorderBg = new TokenResourceKey("ColorBorderBg", "AtomUI.Token");
public static readonly TokenResourceKey ColorSplit = new TokenResourceKey("ColorSplit", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextPlaceholder = new TokenResourceKey("ColorTextPlaceholder", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextDisabled = new TokenResourceKey("ColorTextDisabled", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextHeading = new TokenResourceKey("ColorTextHeading", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextLabel = new TokenResourceKey("ColorTextLabel", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextDescription = new TokenResourceKey("ColorTextDescription", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextLightSolid = new TokenResourceKey("ColorTextLightSolid", "AtomUI.Token");
public static readonly TokenResourceKey ColorIcon = new TokenResourceKey("ColorIcon", "AtomUI.Token");
public static readonly TokenResourceKey ColorIconHover = new TokenResourceKey("ColorIconHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorHighlight = new TokenResourceKey("ColorHighlight", "AtomUI.Token");
public static readonly TokenResourceKey ColorControlOutline = new TokenResourceKey("ColorControlOutline", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningOutline = new TokenResourceKey("ColorWarningOutline", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorOutline = new TokenResourceKey("ColorErrorOutline", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeIcon = new TokenResourceKey("FontSizeIcon", "AtomUI.Token");
public static readonly TokenResourceKey IconSizeXS = new TokenResourceKey("IconSizeXS", "AtomUI.Token");
public static readonly TokenResourceKey IconSizeSM = new TokenResourceKey("IconSizeSM", "AtomUI.Token");
public static readonly TokenResourceKey IconSize = new TokenResourceKey("IconSize", "AtomUI.Token");
public static readonly TokenResourceKey IconSizeLG = new TokenResourceKey("IconSizeLG", "AtomUI.Token");
public static readonly TokenResourceKey FontWeightStrong = new TokenResourceKey("FontWeightStrong", "AtomUI.Token");
public static readonly TokenResourceKey ControlOutlineWidth = new TokenResourceKey("ControlOutlineWidth", "AtomUI.Token");
public static readonly TokenResourceKey ControlItemBgHover = new TokenResourceKey("ControlItemBgHover", "AtomUI.Token");
public static readonly TokenResourceKey ControlItemBgActive = new TokenResourceKey("ControlItemBgActive", "AtomUI.Token");
public static readonly TokenResourceKey ControlItemBgActiveHover = new TokenResourceKey("ControlItemBgActiveHover", "AtomUI.Token");
public static readonly TokenResourceKey ControlInteractiveSize = new TokenResourceKey("ControlInteractiveSize", "AtomUI.Token");
public static readonly TokenResourceKey ControlItemBgActiveDisabled = new TokenResourceKey("ControlItemBgActiveDisabled", "AtomUI.Token");
public static readonly TokenResourceKey LineWidthFocus = new TokenResourceKey("LineWidthFocus", "AtomUI.Token");
public static readonly TokenResourceKey WaveAnimationRange = new TokenResourceKey("WaveAnimationRange", "AtomUI.Token");
public static readonly TokenResourceKey WaveStartOpacity = new TokenResourceKey("WaveStartOpacity", "AtomUI.Token");
public static readonly TokenResourceKey PaddingXXS = new TokenResourceKey("PaddingXXS", "AtomUI.Token");
public static readonly TokenResourceKey PaddingXS = new TokenResourceKey("PaddingXS", "AtomUI.Token");
public static readonly TokenResourceKey PaddingSM = new TokenResourceKey("PaddingSM", "AtomUI.Token");
public static readonly TokenResourceKey Padding = new TokenResourceKey("Padding", "AtomUI.Token");
public static readonly TokenResourceKey PaddingMD = new TokenResourceKey("PaddingMD", "AtomUI.Token");
public static readonly TokenResourceKey PaddingLG = new TokenResourceKey("PaddingLG", "AtomUI.Token");
public static readonly TokenResourceKey PaddingXL = new TokenResourceKey("PaddingXL", "AtomUI.Token");
public static readonly TokenResourceKey PaddingContentHorizontalLG = new TokenResourceKey("PaddingContentHorizontalLG", "AtomUI.Token");
public static readonly TokenResourceKey PaddingContentHorizontal = new TokenResourceKey("PaddingContentHorizontal", "AtomUI.Token");
public static readonly TokenResourceKey PaddingContentHorizontalSM = new TokenResourceKey("PaddingContentHorizontalSM", "AtomUI.Token");
public static readonly TokenResourceKey PaddingContentHorizontalXS = new TokenResourceKey("PaddingContentHorizontalXS", "AtomUI.Token");
public static readonly TokenResourceKey PaddingContentVerticalLG = new TokenResourceKey("PaddingContentVerticalLG", "AtomUI.Token");
public static readonly TokenResourceKey PaddingContentVertical = new TokenResourceKey("PaddingContentVertical", "AtomUI.Token");
public static readonly TokenResourceKey PaddingContentVerticalSM = new TokenResourceKey("PaddingContentVerticalSM", "AtomUI.Token");
public static readonly TokenResourceKey MarginXXS = new TokenResourceKey("MarginXXS", "AtomUI.Token");
public static readonly TokenResourceKey MarginXS = new TokenResourceKey("MarginXS", "AtomUI.Token");
public static readonly TokenResourceKey MarginSM = new TokenResourceKey("MarginSM", "AtomUI.Token");
public static readonly TokenResourceKey Margin = new TokenResourceKey("Margin", "AtomUI.Token");
public static readonly TokenResourceKey MarginMD = new TokenResourceKey("MarginMD", "AtomUI.Token");
public static readonly TokenResourceKey MarginLG = new TokenResourceKey("MarginLG", "AtomUI.Token");
public static readonly TokenResourceKey MarginXL = new TokenResourceKey("MarginXL", "AtomUI.Token");
public static readonly TokenResourceKey MarginXXL = new TokenResourceKey("MarginXXL", "AtomUI.Token");
public static readonly TokenResourceKey OpacityLoading = new TokenResourceKey("OpacityLoading", "AtomUI.Token");
public static readonly TokenResourceKey BoxShadows = new TokenResourceKey("BoxShadows", "AtomUI.Token");
public static readonly TokenResourceKey BoxShadowsSecondary = new TokenResourceKey("BoxShadowsSecondary", "AtomUI.Token");
public static readonly TokenResourceKey BoxShadowsTertiary = new TokenResourceKey("BoxShadowsTertiary", "AtomUI.Token");
public static readonly TokenResourceKey LinkDecoration = new TokenResourceKey("LinkDecoration", "AtomUI.Token");
public static readonly TokenResourceKey LinkHoverDecoration = new TokenResourceKey("LinkHoverDecoration", "AtomUI.Token");
public static readonly TokenResourceKey LinkFocusDecoration = new TokenResourceKey("LinkFocusDecoration", "AtomUI.Token");
public static readonly TokenResourceKey ControlPadding = new TokenResourceKey("ControlPadding", "AtomUI.Token");
public static readonly TokenResourceKey ControlPaddingSM = new TokenResourceKey("ControlPaddingSM", "AtomUI.Token");
public static readonly TokenResourceKey ScreenXS = new TokenResourceKey("ScreenXS", "AtomUI.Token");
public static readonly TokenResourceKey ScreenXSMin = new TokenResourceKey("ScreenXSMin", "AtomUI.Token");
public static readonly TokenResourceKey ScreenXSMax = new TokenResourceKey("ScreenXSMax", "AtomUI.Token");
public static readonly TokenResourceKey ScreenSM = new TokenResourceKey("ScreenSM", "AtomUI.Token");
public static readonly TokenResourceKey ScreenSMMin = new TokenResourceKey("ScreenSMMin", "AtomUI.Token");
public static readonly TokenResourceKey ScreenSMMax = new TokenResourceKey("ScreenSMMax", "AtomUI.Token");
public static readonly TokenResourceKey ScreenMD = new TokenResourceKey("ScreenMD", "AtomUI.Token");
public static readonly TokenResourceKey ScreenMDMin = new TokenResourceKey("ScreenMDMin", "AtomUI.Token");
public static readonly TokenResourceKey ScreenMDMax = new TokenResourceKey("ScreenMDMax", "AtomUI.Token");
public static readonly TokenResourceKey ScreenLG = new TokenResourceKey("ScreenLG", "AtomUI.Token");
public static readonly TokenResourceKey ScreenLGMin = new TokenResourceKey("ScreenLGMin", "AtomUI.Token");
public static readonly TokenResourceKey ScreenLGMax = new TokenResourceKey("ScreenLGMax", "AtomUI.Token");
public static readonly TokenResourceKey ScreenXL = new TokenResourceKey("ScreenXL", "AtomUI.Token");
public static readonly TokenResourceKey ScreenXLMin = new TokenResourceKey("ScreenXLMin", "AtomUI.Token");
public static readonly TokenResourceKey ScreenXLMax = new TokenResourceKey("ScreenXLMax", "AtomUI.Token");
public static readonly TokenResourceKey ScreenXXL = new TokenResourceKey("ScreenXXL", "AtomUI.Token");
public static readonly TokenResourceKey ScreenXXLMin = new TokenResourceKey("ScreenXXLMin", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorBg = new TokenResourceKey("ColorErrorBg", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorBgHover = new TokenResourceKey("ColorErrorBgHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorBgActive = new TokenResourceKey("ColorErrorBgActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorBorder = new TokenResourceKey("ColorErrorBorder", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorBorderHover = new TokenResourceKey("ColorErrorBorderHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorHover = new TokenResourceKey("ColorErrorHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorActive = new TokenResourceKey("ColorErrorActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorTextHover = new TokenResourceKey("ColorErrorTextHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorText = new TokenResourceKey("ColorErrorText", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorTextActive = new TokenResourceKey("ColorErrorTextActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoBg = new TokenResourceKey("ColorInfoBg", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoBgHover = new TokenResourceKey("ColorInfoBgHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoBorder = new TokenResourceKey("ColorInfoBorder", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoBorderHover = new TokenResourceKey("ColorInfoBorderHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoHover = new TokenResourceKey("ColorInfoHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoActive = new TokenResourceKey("ColorInfoActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoTextHover = new TokenResourceKey("ColorInfoTextHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoText = new TokenResourceKey("ColorInfoText", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoTextActive = new TokenResourceKey("ColorInfoTextActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorLinkHover = new TokenResourceKey("ColorLinkHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorLinkActive = new TokenResourceKey("ColorLinkActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorWhite = new TokenResourceKey("ColorWhite", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgMask = new TokenResourceKey("ColorBgMask", "AtomUI.Token");
public static readonly TokenResourceKey ColorBlack = new TokenResourceKey("ColorBlack", "AtomUI.Token");
public static readonly TokenResourceKey SelectionBackground = new TokenResourceKey("SelectionBackground", "AtomUI.Token");
public static readonly TokenResourceKey SelectionForeground = new TokenResourceKey("SelectionForeground", "AtomUI.Token");
public static readonly TokenResourceKey ColorText = new TokenResourceKey("ColorText", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextSecondary = new TokenResourceKey("ColorTextSecondary", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextTertiary = new TokenResourceKey("ColorTextTertiary", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextQuaternary = new TokenResourceKey("ColorTextQuaternary", "AtomUI.Token");
public static readonly TokenResourceKey ColorBorder = new TokenResourceKey("ColorBorder", "AtomUI.Token");
public static readonly TokenResourceKey ColorBorderSecondary = new TokenResourceKey("ColorBorderSecondary", "AtomUI.Token");
public static readonly TokenResourceKey ColorFill = new TokenResourceKey("ColorFill", "AtomUI.Token");
public static readonly TokenResourceKey ColorFillSecondary = new TokenResourceKey("ColorFillSecondary", "AtomUI.Token");
public static readonly TokenResourceKey ColorFillTertiary = new TokenResourceKey("ColorFillTertiary", "AtomUI.Token");
public static readonly TokenResourceKey ColorFillQuaternary = new TokenResourceKey("ColorFillQuaternary", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgLayout = new TokenResourceKey("ColorBgLayout", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgContainer = new TokenResourceKey("ColorBgContainer", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgElevated = new TokenResourceKey("ColorBgElevated", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgSpotlight = new TokenResourceKey("ColorBgSpotlight", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgBlur = new TokenResourceKey("ColorBgBlur", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryBg = new TokenResourceKey("ColorPrimaryBg", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryBgHover = new TokenResourceKey("ColorPrimaryBgHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryBorder = new TokenResourceKey("ColorPrimaryBorder", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryBorderHover = new TokenResourceKey("ColorPrimaryBorderHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryHover = new TokenResourceKey("ColorPrimaryHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryActive = new TokenResourceKey("ColorPrimaryActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryTextHover = new TokenResourceKey("ColorPrimaryTextHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryText = new TokenResourceKey("ColorPrimaryText", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryTextActive = new TokenResourceKey("ColorPrimaryTextActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessBg = new TokenResourceKey("ColorSuccessBg", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessBgHover = new TokenResourceKey("ColorSuccessBgHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessBorder = new TokenResourceKey("ColorSuccessBorder", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessBorderHover = new TokenResourceKey("ColorSuccessBorderHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessHover = new TokenResourceKey("ColorSuccessHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessActive = new TokenResourceKey("ColorSuccessActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessTextHover = new TokenResourceKey("ColorSuccessTextHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessText = new TokenResourceKey("ColorSuccessText", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessTextActive = new TokenResourceKey("ColorSuccessTextActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningBg = new TokenResourceKey("ColorWarningBg", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningBgHover = new TokenResourceKey("ColorWarningBgHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningBorder = new TokenResourceKey("ColorWarningBorder", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningBorderHover = new TokenResourceKey("ColorWarningBorderHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningHover = new TokenResourceKey("ColorWarningHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningActive = new TokenResourceKey("ColorWarningActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningTextHover = new TokenResourceKey("ColorWarningTextHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningText = new TokenResourceKey("ColorWarningText", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningTextActive = new TokenResourceKey("ColorWarningTextActive", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeSM = new TokenResourceKey("FontSizeSM", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeLG = new TokenResourceKey("FontSizeLG", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeXL = new TokenResourceKey("FontSizeXL", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeHeading1 = new TokenResourceKey("FontSizeHeading1", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeHeading2 = new TokenResourceKey("FontSizeHeading2", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeHeading3 = new TokenResourceKey("FontSizeHeading3", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeHeading4 = new TokenResourceKey("FontSizeHeading4", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeHeading5 = new TokenResourceKey("FontSizeHeading5", "AtomUI.Token");
public static readonly TokenResourceKey LineHeight = new TokenResourceKey("LineHeight", "AtomUI.Token");
public static readonly TokenResourceKey LineHeightLG = new TokenResourceKey("LineHeightLG", "AtomUI.Token");
public static readonly TokenResourceKey LineHeightSM = new TokenResourceKey("LineHeightSM", "AtomUI.Token");
public static readonly TokenResourceKey FontHeight = new TokenResourceKey("FontHeight", "AtomUI.Token");
public static readonly TokenResourceKey FontHeightSM = new TokenResourceKey("FontHeightSM", "AtomUI.Token");
public static readonly TokenResourceKey FontHeightLG = new TokenResourceKey("FontHeightLG", "AtomUI.Token");
public static readonly TokenResourceKey LineHeightHeading1 = new TokenResourceKey("LineHeightHeading1", "AtomUI.Token");
public static readonly TokenResourceKey LineHeightHeading2 = new TokenResourceKey("LineHeightHeading2", "AtomUI.Token");
public static readonly TokenResourceKey LineHeightHeading3 = new TokenResourceKey("LineHeightHeading3", "AtomUI.Token");
public static readonly TokenResourceKey LineHeightHeading4 = new TokenResourceKey("LineHeightHeading4", "AtomUI.Token");
public static readonly TokenResourceKey LineHeightHeading5 = new TokenResourceKey("LineHeightHeading5", "AtomUI.Token");
public static readonly TokenResourceKey ControlHeightXS = new TokenResourceKey("ControlHeightXS", "AtomUI.Token");
public static readonly TokenResourceKey ControlHeightSM = new TokenResourceKey("ControlHeightSM", "AtomUI.Token");
public static readonly TokenResourceKey ControlHeightLG = new TokenResourceKey("ControlHeightLG", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimary = new TokenResourceKey("ColorPrimary", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccess = new TokenResourceKey("ColorSuccess", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarning = new TokenResourceKey("ColorWarning", "AtomUI.Token");
public static readonly TokenResourceKey ColorError = new TokenResourceKey("ColorError", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfo = new TokenResourceKey("ColorInfo", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextBase = new TokenResourceKey("ColorTextBase", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgBase = new TokenResourceKey("ColorBgBase", "AtomUI.Token");
public static readonly TokenResourceKey ColorLink = new TokenResourceKey("ColorLink", "AtomUI.Token");
public static readonly TokenResourceKey ColorTransparent = new TokenResourceKey("ColorTransparent", "AtomUI.Token");
public static readonly TokenResourceKey FontFamily = new TokenResourceKey("FontFamily", "AtomUI.Token");
public static readonly TokenResourceKey FontFamilyCode = new TokenResourceKey("FontFamilyCode", "AtomUI.Token");
public static readonly TokenResourceKey FontSize = new TokenResourceKey("FontSize", "AtomUI.Token");
public static readonly TokenResourceKey LineWidth = new TokenResourceKey("LineWidth", "AtomUI.Token");
public static readonly TokenResourceKey LineType = new TokenResourceKey("LineType", "AtomUI.Token");
public static readonly TokenResourceKey BorderRadius = new TokenResourceKey("BorderRadius", "AtomUI.Token");
public static readonly TokenResourceKey SizeUnit = new TokenResourceKey("SizeUnit", "AtomUI.Token");
public static readonly TokenResourceKey SizeStep = new TokenResourceKey("SizeStep", "AtomUI.Token");
public static readonly TokenResourceKey SizePopupArrow = new TokenResourceKey("SizePopupArrow", "AtomUI.Token");
public static readonly TokenResourceKey ControlHeight = new TokenResourceKey("ControlHeight", "AtomUI.Token");
public static readonly TokenResourceKey ZIndexBase = new TokenResourceKey("ZIndexBase", "AtomUI.Token");
public static readonly TokenResourceKey ZIndexPopupBase = new TokenResourceKey("ZIndexPopupBase", "AtomUI.Token");
public static readonly TokenResourceKey OpacityImage = new TokenResourceKey("OpacityImage", "AtomUI.Token");
public static readonly TokenResourceKey MotionUnit = new TokenResourceKey("MotionUnit", "AtomUI.Token");
public static readonly TokenResourceKey MotionBase = new TokenResourceKey("MotionBase", "AtomUI.Token");
public static readonly TokenResourceKey Wireframe = new TokenResourceKey("Wireframe", "AtomUI.Token");
public static readonly TokenResourceKey Motion = new TokenResourceKey("Motion", "AtomUI.Token");
public static readonly TokenResourceKey SizeXXL = new TokenResourceKey("SizeXXL", "AtomUI.Token");
public static readonly TokenResourceKey SizeXL = new TokenResourceKey("SizeXL", "AtomUI.Token");
public static readonly TokenResourceKey SizeLG = new TokenResourceKey("SizeLG", "AtomUI.Token");
public static readonly TokenResourceKey SizeMD = new TokenResourceKey("SizeMD", "AtomUI.Token");
public static readonly TokenResourceKey SizeMS = new TokenResourceKey("SizeMS", "AtomUI.Token");
public static readonly TokenResourceKey Size = new TokenResourceKey("Size", "AtomUI.Token");
public static readonly TokenResourceKey SizeSM = new TokenResourceKey("SizeSM", "AtomUI.Token");
public static readonly TokenResourceKey SizeXS = new TokenResourceKey("SizeXS", "AtomUI.Token");
public static readonly TokenResourceKey SizeXXS = new TokenResourceKey("SizeXXS", "AtomUI.Token");
public static readonly TokenResourceKey LineWidthBold = new TokenResourceKey("LineWidthBold", "AtomUI.Token");
public static readonly TokenResourceKey BorderThickness = new TokenResourceKey("BorderThickness", "AtomUI.Token");
public static readonly TokenResourceKey BorderRadiusXS = new TokenResourceKey("BorderRadiusXS", "AtomUI.Token");
public static readonly TokenResourceKey BorderRadiusSM = new TokenResourceKey("BorderRadiusSM", "AtomUI.Token");
public static readonly TokenResourceKey BorderRadiusLG = new TokenResourceKey("BorderRadiusLG", "AtomUI.Token");
public static readonly TokenResourceKey BorderRadiusOuter = new TokenResourceKey("BorderRadiusOuter", "AtomUI.Token");
public static readonly TokenResourceKey MotionDurationFast = new TokenResourceKey("MotionDurationFast", "AtomUI.Token");
public static readonly TokenResourceKey MotionDurationMid = new TokenResourceKey("MotionDurationMid", "AtomUI.Token");
public static readonly TokenResourceKey MotionDurationSlow = new TokenResourceKey("MotionDurationSlow", "AtomUI.Token");
public static readonly TokenResourceKey MotionDurationVerySlow = new TokenResourceKey("MotionDurationVerySlow", "AtomUI.Token");
}
using AtomUI.Theme.TokenSystem;
namespace AtomUI.Theme.Styling
{
public static class GlobalTokenResourceKey
{
public static readonly TokenResourceKey ColorFillContentHover = new TokenResourceKey("ColorFillContentHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorFillAlter = new TokenResourceKey("ColorFillAlter", "AtomUI.Token");
public static readonly TokenResourceKey ColorFillContent = new TokenResourceKey("ColorFillContent", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgContainerDisabled = new TokenResourceKey("ColorBgContainerDisabled", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgTextHover = new TokenResourceKey("ColorBgTextHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgTextActive = new TokenResourceKey("ColorBgTextActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorBorderBg = new TokenResourceKey("ColorBorderBg", "AtomUI.Token");
public static readonly TokenResourceKey ColorSplit = new TokenResourceKey("ColorSplit", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextPlaceholder = new TokenResourceKey("ColorTextPlaceholder", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextDisabled = new TokenResourceKey("ColorTextDisabled", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextHeading = new TokenResourceKey("ColorTextHeading", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextLabel = new TokenResourceKey("ColorTextLabel", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextDescription = new TokenResourceKey("ColorTextDescription", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextLightSolid = new TokenResourceKey("ColorTextLightSolid", "AtomUI.Token");
public static readonly TokenResourceKey ColorIcon = new TokenResourceKey("ColorIcon", "AtomUI.Token");
public static readonly TokenResourceKey ColorIconHover = new TokenResourceKey("ColorIconHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorHighlight = new TokenResourceKey("ColorHighlight", "AtomUI.Token");
public static readonly TokenResourceKey ColorControlOutline = new TokenResourceKey("ColorControlOutline", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningOutline = new TokenResourceKey("ColorWarningOutline", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorOutline = new TokenResourceKey("ColorErrorOutline", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeIcon = new TokenResourceKey("FontSizeIcon", "AtomUI.Token");
public static readonly TokenResourceKey IconSizeXS = new TokenResourceKey("IconSizeXS", "AtomUI.Token");
public static readonly TokenResourceKey IconSizeSM = new TokenResourceKey("IconSizeSM", "AtomUI.Token");
public static readonly TokenResourceKey IconSize = new TokenResourceKey("IconSize", "AtomUI.Token");
public static readonly TokenResourceKey IconSizeLG = new TokenResourceKey("IconSizeLG", "AtomUI.Token");
public static readonly TokenResourceKey FontWeightStrong = new TokenResourceKey("FontWeightStrong", "AtomUI.Token");
public static readonly TokenResourceKey ControlOutlineWidth = new TokenResourceKey("ControlOutlineWidth", "AtomUI.Token");
public static readonly TokenResourceKey ControlItemBgHover = new TokenResourceKey("ControlItemBgHover", "AtomUI.Token");
public static readonly TokenResourceKey ControlItemBgActive = new TokenResourceKey("ControlItemBgActive", "AtomUI.Token");
public static readonly TokenResourceKey ControlItemBgActiveHover = new TokenResourceKey("ControlItemBgActiveHover", "AtomUI.Token");
public static readonly TokenResourceKey ControlInteractiveSize = new TokenResourceKey("ControlInteractiveSize", "AtomUI.Token");
public static readonly TokenResourceKey ControlItemBgActiveDisabled = new TokenResourceKey("ControlItemBgActiveDisabled", "AtomUI.Token");
public static readonly TokenResourceKey LineWidthFocus = new TokenResourceKey("LineWidthFocus", "AtomUI.Token");
public static readonly TokenResourceKey WaveAnimationRange = new TokenResourceKey("WaveAnimationRange", "AtomUI.Token");
public static readonly TokenResourceKey WaveStartOpacity = new TokenResourceKey("WaveStartOpacity", "AtomUI.Token");
public static readonly TokenResourceKey PaddingXXS = new TokenResourceKey("PaddingXXS", "AtomUI.Token");
public static readonly TokenResourceKey PaddingXS = new TokenResourceKey("PaddingXS", "AtomUI.Token");
public static readonly TokenResourceKey PaddingSM = new TokenResourceKey("PaddingSM", "AtomUI.Token");
public static readonly TokenResourceKey Padding = new TokenResourceKey("Padding", "AtomUI.Token");
public static readonly TokenResourceKey PaddingMD = new TokenResourceKey("PaddingMD", "AtomUI.Token");
public static readonly TokenResourceKey PaddingLG = new TokenResourceKey("PaddingLG", "AtomUI.Token");
public static readonly TokenResourceKey PaddingXL = new TokenResourceKey("PaddingXL", "AtomUI.Token");
public static readonly TokenResourceKey PaddingContentHorizontalLG = new TokenResourceKey("PaddingContentHorizontalLG", "AtomUI.Token");
public static readonly TokenResourceKey PaddingContentHorizontal = new TokenResourceKey("PaddingContentHorizontal", "AtomUI.Token");
public static readonly TokenResourceKey PaddingContentHorizontalSM = new TokenResourceKey("PaddingContentHorizontalSM", "AtomUI.Token");
public static readonly TokenResourceKey PaddingContentHorizontalXS = new TokenResourceKey("PaddingContentHorizontalXS", "AtomUI.Token");
public static readonly TokenResourceKey PaddingContentVerticalLG = new TokenResourceKey("PaddingContentVerticalLG", "AtomUI.Token");
public static readonly TokenResourceKey PaddingContentVertical = new TokenResourceKey("PaddingContentVertical", "AtomUI.Token");
public static readonly TokenResourceKey PaddingContentVerticalSM = new TokenResourceKey("PaddingContentVerticalSM", "AtomUI.Token");
public static readonly TokenResourceKey MarginXXS = new TokenResourceKey("MarginXXS", "AtomUI.Token");
public static readonly TokenResourceKey MarginXS = new TokenResourceKey("MarginXS", "AtomUI.Token");
public static readonly TokenResourceKey MarginSM = new TokenResourceKey("MarginSM", "AtomUI.Token");
public static readonly TokenResourceKey Margin = new TokenResourceKey("Margin", "AtomUI.Token");
public static readonly TokenResourceKey MarginMD = new TokenResourceKey("MarginMD", "AtomUI.Token");
public static readonly TokenResourceKey MarginLG = new TokenResourceKey("MarginLG", "AtomUI.Token");
public static readonly TokenResourceKey MarginXL = new TokenResourceKey("MarginXL", "AtomUI.Token");
public static readonly TokenResourceKey MarginXXL = new TokenResourceKey("MarginXXL", "AtomUI.Token");
public static readonly TokenResourceKey OpacityLoading = new TokenResourceKey("OpacityLoading", "AtomUI.Token");
public static readonly TokenResourceKey BoxShadows = new TokenResourceKey("BoxShadows", "AtomUI.Token");
public static readonly TokenResourceKey BoxShadowsSecondary = new TokenResourceKey("BoxShadowsSecondary", "AtomUI.Token");
public static readonly TokenResourceKey BoxShadowsTertiary = new TokenResourceKey("BoxShadowsTertiary", "AtomUI.Token");
public static readonly TokenResourceKey LinkDecoration = new TokenResourceKey("LinkDecoration", "AtomUI.Token");
public static readonly TokenResourceKey LinkHoverDecoration = new TokenResourceKey("LinkHoverDecoration", "AtomUI.Token");
public static readonly TokenResourceKey LinkFocusDecoration = new TokenResourceKey("LinkFocusDecoration", "AtomUI.Token");
public static readonly TokenResourceKey ControlPadding = new TokenResourceKey("ControlPadding", "AtomUI.Token");
public static readonly TokenResourceKey ControlPaddingSM = new TokenResourceKey("ControlPaddingSM", "AtomUI.Token");
public static readonly TokenResourceKey ScreenXS = new TokenResourceKey("ScreenXS", "AtomUI.Token");
public static readonly TokenResourceKey ScreenXSMin = new TokenResourceKey("ScreenXSMin", "AtomUI.Token");
public static readonly TokenResourceKey ScreenXSMax = new TokenResourceKey("ScreenXSMax", "AtomUI.Token");
public static readonly TokenResourceKey ScreenSM = new TokenResourceKey("ScreenSM", "AtomUI.Token");
public static readonly TokenResourceKey ScreenSMMin = new TokenResourceKey("ScreenSMMin", "AtomUI.Token");
public static readonly TokenResourceKey ScreenSMMax = new TokenResourceKey("ScreenSMMax", "AtomUI.Token");
public static readonly TokenResourceKey ScreenMD = new TokenResourceKey("ScreenMD", "AtomUI.Token");
public static readonly TokenResourceKey ScreenMDMin = new TokenResourceKey("ScreenMDMin", "AtomUI.Token");
public static readonly TokenResourceKey ScreenMDMax = new TokenResourceKey("ScreenMDMax", "AtomUI.Token");
public static readonly TokenResourceKey ScreenLG = new TokenResourceKey("ScreenLG", "AtomUI.Token");
public static readonly TokenResourceKey ScreenLGMin = new TokenResourceKey("ScreenLGMin", "AtomUI.Token");
public static readonly TokenResourceKey ScreenLGMax = new TokenResourceKey("ScreenLGMax", "AtomUI.Token");
public static readonly TokenResourceKey ScreenXL = new TokenResourceKey("ScreenXL", "AtomUI.Token");
public static readonly TokenResourceKey ScreenXLMin = new TokenResourceKey("ScreenXLMin", "AtomUI.Token");
public static readonly TokenResourceKey ScreenXLMax = new TokenResourceKey("ScreenXLMax", "AtomUI.Token");
public static readonly TokenResourceKey ScreenXXL = new TokenResourceKey("ScreenXXL", "AtomUI.Token");
public static readonly TokenResourceKey ScreenXXLMin = new TokenResourceKey("ScreenXXLMin", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorBg = new TokenResourceKey("ColorErrorBg", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorBgHover = new TokenResourceKey("ColorErrorBgHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorBgActive = new TokenResourceKey("ColorErrorBgActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorBorder = new TokenResourceKey("ColorErrorBorder", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorBorderHover = new TokenResourceKey("ColorErrorBorderHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorHover = new TokenResourceKey("ColorErrorHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorActive = new TokenResourceKey("ColorErrorActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorTextHover = new TokenResourceKey("ColorErrorTextHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorText = new TokenResourceKey("ColorErrorText", "AtomUI.Token");
public static readonly TokenResourceKey ColorErrorTextActive = new TokenResourceKey("ColorErrorTextActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoBg = new TokenResourceKey("ColorInfoBg", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoBgHover = new TokenResourceKey("ColorInfoBgHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoBorder = new TokenResourceKey("ColorInfoBorder", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoBorderHover = new TokenResourceKey("ColorInfoBorderHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoHover = new TokenResourceKey("ColorInfoHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoActive = new TokenResourceKey("ColorInfoActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoTextHover = new TokenResourceKey("ColorInfoTextHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoText = new TokenResourceKey("ColorInfoText", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfoTextActive = new TokenResourceKey("ColorInfoTextActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorLinkHover = new TokenResourceKey("ColorLinkHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorLinkActive = new TokenResourceKey("ColorLinkActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorWhite = new TokenResourceKey("ColorWhite", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgMask = new TokenResourceKey("ColorBgMask", "AtomUI.Token");
public static readonly TokenResourceKey ColorBlack = new TokenResourceKey("ColorBlack", "AtomUI.Token");
public static readonly TokenResourceKey SelectionBackground = new TokenResourceKey("SelectionBackground", "AtomUI.Token");
public static readonly TokenResourceKey SelectionForeground = new TokenResourceKey("SelectionForeground", "AtomUI.Token");
public static readonly TokenResourceKey ColorText = new TokenResourceKey("ColorText", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextSecondary = new TokenResourceKey("ColorTextSecondary", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextTertiary = new TokenResourceKey("ColorTextTertiary", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextQuaternary = new TokenResourceKey("ColorTextQuaternary", "AtomUI.Token");
public static readonly TokenResourceKey ColorBorder = new TokenResourceKey("ColorBorder", "AtomUI.Token");
public static readonly TokenResourceKey ColorBorderSecondary = new TokenResourceKey("ColorBorderSecondary", "AtomUI.Token");
public static readonly TokenResourceKey ColorFill = new TokenResourceKey("ColorFill", "AtomUI.Token");
public static readonly TokenResourceKey ColorFillSecondary = new TokenResourceKey("ColorFillSecondary", "AtomUI.Token");
public static readonly TokenResourceKey ColorFillTertiary = new TokenResourceKey("ColorFillTertiary", "AtomUI.Token");
public static readonly TokenResourceKey ColorFillQuaternary = new TokenResourceKey("ColorFillQuaternary", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgLayout = new TokenResourceKey("ColorBgLayout", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgContainer = new TokenResourceKey("ColorBgContainer", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgElevated = new TokenResourceKey("ColorBgElevated", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgSpotlight = new TokenResourceKey("ColorBgSpotlight", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgBlur = new TokenResourceKey("ColorBgBlur", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryBg = new TokenResourceKey("ColorPrimaryBg", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryBgHover = new TokenResourceKey("ColorPrimaryBgHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryBorder = new TokenResourceKey("ColorPrimaryBorder", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryBorderHover = new TokenResourceKey("ColorPrimaryBorderHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryHover = new TokenResourceKey("ColorPrimaryHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryActive = new TokenResourceKey("ColorPrimaryActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryTextHover = new TokenResourceKey("ColorPrimaryTextHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryText = new TokenResourceKey("ColorPrimaryText", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimaryTextActive = new TokenResourceKey("ColorPrimaryTextActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessBg = new TokenResourceKey("ColorSuccessBg", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessBgHover = new TokenResourceKey("ColorSuccessBgHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessBorder = new TokenResourceKey("ColorSuccessBorder", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessBorderHover = new TokenResourceKey("ColorSuccessBorderHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessHover = new TokenResourceKey("ColorSuccessHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessActive = new TokenResourceKey("ColorSuccessActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessTextHover = new TokenResourceKey("ColorSuccessTextHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessText = new TokenResourceKey("ColorSuccessText", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccessTextActive = new TokenResourceKey("ColorSuccessTextActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningBg = new TokenResourceKey("ColorWarningBg", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningBgHover = new TokenResourceKey("ColorWarningBgHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningBorder = new TokenResourceKey("ColorWarningBorder", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningBorderHover = new TokenResourceKey("ColorWarningBorderHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningHover = new TokenResourceKey("ColorWarningHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningActive = new TokenResourceKey("ColorWarningActive", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningTextHover = new TokenResourceKey("ColorWarningTextHover", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningText = new TokenResourceKey("ColorWarningText", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarningTextActive = new TokenResourceKey("ColorWarningTextActive", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeSM = new TokenResourceKey("FontSizeSM", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeLG = new TokenResourceKey("FontSizeLG", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeXL = new TokenResourceKey("FontSizeXL", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeHeading1 = new TokenResourceKey("FontSizeHeading1", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeHeading2 = new TokenResourceKey("FontSizeHeading2", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeHeading3 = new TokenResourceKey("FontSizeHeading3", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeHeading4 = new TokenResourceKey("FontSizeHeading4", "AtomUI.Token");
public static readonly TokenResourceKey FontSizeHeading5 = new TokenResourceKey("FontSizeHeading5", "AtomUI.Token");
public static readonly TokenResourceKey LineHeight = new TokenResourceKey("LineHeight", "AtomUI.Token");
public static readonly TokenResourceKey LineHeightLG = new TokenResourceKey("LineHeightLG", "AtomUI.Token");
public static readonly TokenResourceKey LineHeightSM = new TokenResourceKey("LineHeightSM", "AtomUI.Token");
public static readonly TokenResourceKey FontHeight = new TokenResourceKey("FontHeight", "AtomUI.Token");
public static readonly TokenResourceKey FontHeightSM = new TokenResourceKey("FontHeightSM", "AtomUI.Token");
public static readonly TokenResourceKey FontHeightLG = new TokenResourceKey("FontHeightLG", "AtomUI.Token");
public static readonly TokenResourceKey LineHeightHeading1 = new TokenResourceKey("LineHeightHeading1", "AtomUI.Token");
public static readonly TokenResourceKey LineHeightHeading2 = new TokenResourceKey("LineHeightHeading2", "AtomUI.Token");
public static readonly TokenResourceKey LineHeightHeading3 = new TokenResourceKey("LineHeightHeading3", "AtomUI.Token");
public static readonly TokenResourceKey LineHeightHeading4 = new TokenResourceKey("LineHeightHeading4", "AtomUI.Token");
public static readonly TokenResourceKey LineHeightHeading5 = new TokenResourceKey("LineHeightHeading5", "AtomUI.Token");
public static readonly TokenResourceKey ControlHeightXS = new TokenResourceKey("ControlHeightXS", "AtomUI.Token");
public static readonly TokenResourceKey ControlHeightSM = new TokenResourceKey("ControlHeightSM", "AtomUI.Token");
public static readonly TokenResourceKey ControlHeightLG = new TokenResourceKey("ControlHeightLG", "AtomUI.Token");
public static readonly TokenResourceKey ColorPrimary = new TokenResourceKey("ColorPrimary", "AtomUI.Token");
public static readonly TokenResourceKey ColorSuccess = new TokenResourceKey("ColorSuccess", "AtomUI.Token");
public static readonly TokenResourceKey ColorWarning = new TokenResourceKey("ColorWarning", "AtomUI.Token");
public static readonly TokenResourceKey ColorError = new TokenResourceKey("ColorError", "AtomUI.Token");
public static readonly TokenResourceKey ColorInfo = new TokenResourceKey("ColorInfo", "AtomUI.Token");
public static readonly TokenResourceKey ColorTextBase = new TokenResourceKey("ColorTextBase", "AtomUI.Token");
public static readonly TokenResourceKey ColorBgBase = new TokenResourceKey("ColorBgBase", "AtomUI.Token");
public static readonly TokenResourceKey ColorLink = new TokenResourceKey("ColorLink", "AtomUI.Token");
public static readonly TokenResourceKey ColorTransparent = new TokenResourceKey("ColorTransparent", "AtomUI.Token");
public static readonly TokenResourceKey FontFamily = new TokenResourceKey("FontFamily", "AtomUI.Token");
public static readonly TokenResourceKey FontFamilyCode = new TokenResourceKey("FontFamilyCode", "AtomUI.Token");
public static readonly TokenResourceKey FontSize = new TokenResourceKey("FontSize", "AtomUI.Token");
public static readonly TokenResourceKey LineWidth = new TokenResourceKey("LineWidth", "AtomUI.Token");
public static readonly TokenResourceKey LineType = new TokenResourceKey("LineType", "AtomUI.Token");
public static readonly TokenResourceKey BorderRadius = new TokenResourceKey("BorderRadius", "AtomUI.Token");
public static readonly TokenResourceKey SizeUnit = new TokenResourceKey("SizeUnit", "AtomUI.Token");
public static readonly TokenResourceKey SizeStep = new TokenResourceKey("SizeStep", "AtomUI.Token");
public static readonly TokenResourceKey SizePopupArrow = new TokenResourceKey("SizePopupArrow", "AtomUI.Token");
public static readonly TokenResourceKey ControlHeight = new TokenResourceKey("ControlHeight", "AtomUI.Token");
public static readonly TokenResourceKey ZIndexBase = new TokenResourceKey("ZIndexBase", "AtomUI.Token");
public static readonly TokenResourceKey ZIndexPopupBase = new TokenResourceKey("ZIndexPopupBase", "AtomUI.Token");
public static readonly TokenResourceKey OpacityImage = new TokenResourceKey("OpacityImage", "AtomUI.Token");
public static readonly TokenResourceKey MotionUnit = new TokenResourceKey("MotionUnit", "AtomUI.Token");
public static readonly TokenResourceKey MotionBase = new TokenResourceKey("MotionBase", "AtomUI.Token");
public static readonly TokenResourceKey Wireframe = new TokenResourceKey("Wireframe", "AtomUI.Token");
public static readonly TokenResourceKey Motion = new TokenResourceKey("Motion", "AtomUI.Token");
public static readonly TokenResourceKey SizeXXL = new TokenResourceKey("SizeXXL", "AtomUI.Token");
public static readonly TokenResourceKey SizeXL = new TokenResourceKey("SizeXL", "AtomUI.Token");
public static readonly TokenResourceKey SizeLG = new TokenResourceKey("SizeLG", "AtomUI.Token");
public static readonly TokenResourceKey SizeMD = new TokenResourceKey("SizeMD", "AtomUI.Token");
public static readonly TokenResourceKey SizeMS = new TokenResourceKey("SizeMS", "AtomUI.Token");
public static readonly TokenResourceKey Size = new TokenResourceKey("Size", "AtomUI.Token");
public static readonly TokenResourceKey SizeSM = new TokenResourceKey("SizeSM", "AtomUI.Token");
public static readonly TokenResourceKey SizeXS = new TokenResourceKey("SizeXS", "AtomUI.Token");
public static readonly TokenResourceKey SizeXXS = new TokenResourceKey("SizeXXS", "AtomUI.Token");
public static readonly TokenResourceKey LineWidthBold = new TokenResourceKey("LineWidthBold", "AtomUI.Token");
public static readonly TokenResourceKey BorderThickness = new TokenResourceKey("BorderThickness", "AtomUI.Token");
public static readonly TokenResourceKey BorderRadiusXS = new TokenResourceKey("BorderRadiusXS", "AtomUI.Token");
public static readonly TokenResourceKey BorderRadiusSM = new TokenResourceKey("BorderRadiusSM", "AtomUI.Token");
public static readonly TokenResourceKey BorderRadiusLG = new TokenResourceKey("BorderRadiusLG", "AtomUI.Token");
public static readonly TokenResourceKey BorderRadiusOuter = new TokenResourceKey("BorderRadiusOuter", "AtomUI.Token");
public static readonly TokenResourceKey MotionDurationFast = new TokenResourceKey("MotionDurationFast", "AtomUI.Token");
public static readonly TokenResourceKey MotionDurationMid = new TokenResourceKey("MotionDurationMid", "AtomUI.Token");
public static readonly TokenResourceKey MotionDurationSlow = new TokenResourceKey("MotionDurationSlow", "AtomUI.Token");
public static readonly TokenResourceKey MotionDurationVerySlow = new TokenResourceKey("MotionDurationVerySlow", "AtomUI.Token");
}
}