@@ -5,139 +5,139 @@ namespace Semi.Avalonia.Demo.Constant;
55
66public static class ColorTokens
77{
8- public static IReadOnlyList < Tuple < string , string > > PrimaryTokens { get ; } = new List < Tuple < string , string > >
9- {
8+ public static IReadOnlyList < Tuple < string , string > > PrimaryTokens { get ; } =
9+ [
1010 new ( "SemiColorPrimary" , "Primary" ) ,
1111 new ( "SemiColorPrimaryPointerover" , "Primary Pointerover" ) ,
1212 new ( "SemiColorPrimaryActive" , "Primary Active" ) ,
1313 new ( "SemiColorPrimaryDisabled" , "Primary Disabled" ) ,
1414 new ( "SemiColorPrimaryLight" , "Primary Light" ) ,
1515 new ( "SemiColorPrimaryLightPointerover" , "Primary Light Pointerover" ) ,
1616 new ( "SemiColorPrimaryLightActive" , "Primary Light Active" ) ,
17- } ;
17+ ] ;
1818
19- public static IReadOnlyList < Tuple < string , string > > SecondaryTokens { get ; } = new List < Tuple < string , string > >
20- {
19+ public static IReadOnlyList < Tuple < string , string > > SecondaryTokens { get ; } =
20+ [
2121 new ( "SemiColorSecondary" , "Secondary" ) ,
2222 new ( "SemiColorSecondaryPointerover" , "Secondary Pointerover" ) ,
2323 new ( "SemiColorSecondaryActive" , "Secondary Active" ) ,
2424 new ( "SemiColorSecondaryDisabled" , "Secondary Disabled" ) ,
2525 new ( "SemiColorSecondaryLight" , "Secondary Light" ) ,
2626 new ( "SemiColorSecondaryLightPointerover" , "Secondary Light Pointerover" ) ,
27- new ( "SemiColorSecondaryLightActive" , "Secondary Light Active" ) ,
28- } ;
27+ new ( "SemiColorSecondaryLightActive" , "Secondary Light Active" )
28+ ] ;
2929
30- public static IReadOnlyList < Tuple < string , string > > TertiaryTokens { get ; } = new List < Tuple < string , string > >
31- {
30+ public static IReadOnlyList < Tuple < string , string > > TertiaryTokens { get ; } =
31+ [
3232 new ( "SemiColorTertiary" , "Tertiary" ) ,
3333 new ( "SemiColorTertiaryPointerover" , "Tertiary Pointerover" ) ,
3434 new ( "SemiColorTertiaryActive" , "Tertiary Active" ) ,
3535 new ( "SemiColorTertiaryLight" , "Tertiary Light" ) ,
3636 new ( "SemiColorTertiaryLightPointerover" , "Tertiary Light Pointerover" ) ,
37- new ( "SemiColorTertiaryLightActive" , "Tertiary Light Active" ) ,
38- } ;
37+ new ( "SemiColorTertiaryLightActive" , "Tertiary Light Active" )
38+ ] ;
3939
40- public static IReadOnlyList < Tuple < string , string > > InformationTokens { get ; } = new List < Tuple < string , string > >
41- {
40+ public static IReadOnlyList < Tuple < string , string > > InformationTokens { get ; } =
41+ [
4242 new ( "SemiColorInformation" , "Information" ) ,
4343 new ( "SemiColorInformationPointerover" , "Information Pointerover" ) ,
4444 new ( "SemiColorInformationActive" , "Information Active" ) ,
4545 new ( "SemiColorInformationDisabled" , "Information Disabled" ) ,
4646 new ( "SemiColorInformationLight" , "Information Light" ) ,
4747 new ( "SemiColorInformationLightPointerover" , "Information Light Pointerover" ) ,
48- new ( "SemiColorInformationLightActive" , "Information Light Active" ) ,
49- } ;
48+ new ( "SemiColorInformationLightActive" , "Information Light Active" )
49+ ] ;
5050
51- public static IReadOnlyList < Tuple < string , string > > SuccessTokens { get ; } = new List < Tuple < string , string > >
52- {
51+ public static IReadOnlyList < Tuple < string , string > > SuccessTokens { get ; } =
52+ [
5353 new ( "SemiColorSuccess" , "Success" ) ,
5454 new ( "SemiColorSuccessPointerover" , "Success Pointerover" ) ,
5555 new ( "SemiColorSuccessActive" , "Success Active" ) ,
5656 new ( "SemiColorSuccessDisabled" , "Success Disabled" ) ,
5757 new ( "SemiColorSuccessLight" , "Success Light" ) ,
5858 new ( "SemiColorSuccessLightPointerover" , "Success Light Pointerover" ) ,
59- new ( "SemiColorSuccessLightActive" , "Success Light Active" ) ,
60- } ;
59+ new ( "SemiColorSuccessLightActive" , "Success Light Active" )
60+ ] ;
6161
62- public static IReadOnlyList < Tuple < string , string > > WarningTokens { get ; } = new List < Tuple < string , string > >
63- {
62+ public static IReadOnlyList < Tuple < string , string > > WarningTokens { get ; } =
63+ [
6464 new ( "SemiColorWarning" , "Warning" ) ,
6565 new ( "SemiColorWarningPointerover" , "Warning Pointerover" ) ,
6666 new ( "SemiColorWarningActive" , "Warning Active" ) ,
6767 new ( "SemiColorWarningLight" , "Warning Light" ) ,
6868 new ( "SemiColorWarningLightPointerover" , "Warning Light Pointerover" ) ,
69- new ( "SemiColorWarningLightActive" , "Warning Light Active" ) ,
70- } ;
69+ new ( "SemiColorWarningLightActive" , "Warning Light Active" )
70+ ] ;
7171
72- public static IReadOnlyList < Tuple < string , string > > DangerTokens { get ; } = new List < Tuple < string , string > >
73- {
72+ public static IReadOnlyList < Tuple < string , string > > DangerTokens { get ; } =
73+ [
7474 new ( "SemiColorDanger" , "Danger" ) ,
7575 new ( "SemiColorDangerPointerover" , "Danger Pointerover" ) ,
7676 new ( "SemiColorDangerActive" , "Danger Active" ) ,
7777 new ( "SemiColorDangerLight" , "Danger Light" ) ,
7878 new ( "SemiColorDangerLightPointerover" , "Danger Light Pointerover" ) ,
79- new ( "SemiColorDangerLightActive" , "Danger Light Active" ) ,
80- } ;
79+ new ( "SemiColorDangerLightActive" , "Danger Light Active" )
80+ ] ;
8181
82- public static IReadOnlyList < Tuple < string , string > > TextTokens { get ; } = new List < Tuple < string , string > >
83- {
82+ public static IReadOnlyList < Tuple < string , string > > TextTokens { get ; } =
83+ [
8484 new ( "SemiColorText0" , "Text 0" ) ,
8585 new ( "SemiColorText1" , "Text 1" ) ,
8686 new ( "SemiColorText2" , "Text 2" ) ,
87- new ( "SemiColorText3" , "Text 3" ) ,
88- } ;
87+ new ( "SemiColorText3" , "Text 3" )
88+ ] ;
8989
90- public static IReadOnlyList < Tuple < string , string > > LinkTokens { get ; } = new List < Tuple < string , string > >
91- {
90+ public static IReadOnlyList < Tuple < string , string > > LinkTokens { get ; } =
91+ [
9292 new ( "SemiColorLink" , "Link" ) ,
9393 new ( "SemiColorLinkPointerover" , "Link Pointerover" ) ,
9494 new ( "SemiColorLinkActive" , "Link Active" ) ,
95- new ( "SemiColorLinkVisited" , "Link Visited" ) ,
96- } ;
95+ new ( "SemiColorLinkVisited" , "Link Visited" )
96+ ] ;
9797
98- public static IReadOnlyList < Tuple < string , string > > BackgroundTokens { get ; } = new List < Tuple < string , string > >
99- {
98+ public static IReadOnlyList < Tuple < string , string > > BackgroundTokens { get ; } =
99+ [
100100 new ( "SemiColorBackground0" , "Background 0" ) ,
101101 new ( "SemiColorBackground1" , "Background 1" ) ,
102102 new ( "SemiColorBackground2" , "Background 2" ) ,
103103 new ( "SemiColorBackground3" , "Background 3" ) ,
104- new ( "SemiColorBackground4" , "Background 4" ) ,
105- } ;
104+ new ( "SemiColorBackground4" , "Background 4" )
105+ ] ;
106106
107- public static IReadOnlyList < Tuple < string , string > > FillTokens { get ; } = new List < Tuple < string , string > >
108- {
107+ public static IReadOnlyList < Tuple < string , string > > FillTokens { get ; } =
108+ [
109109 new ( "SemiColorFill0" , "Fill 0" ) ,
110110 new ( "SemiColorFill1" , "Fill 1" ) ,
111- new ( "SemiColorFill2" , "Fill 2" ) ,
112- } ;
111+ new ( "SemiColorFill2" , "Fill 2" )
112+ ] ;
113113
114- public static IReadOnlyList < Tuple < string , string > > BorderTokens { get ; } = new List < Tuple < string , string > >
115- {
114+ public static IReadOnlyList < Tuple < string , string > > BorderTokens { get ; } =
115+ [
116116 new ( "SemiColorBorder" , "Border" ) ,
117- new ( "SemiColorFocusBorder" , "Focus Border" ) ,
118- } ;
117+ new ( "SemiColorFocusBorder" , "Focus Border" )
118+ ] ;
119119
120- public static IReadOnlyList < Tuple < string , string > > DisabledTokens { get ; } = new List < Tuple < string , string > >
121- {
120+ public static IReadOnlyList < Tuple < string , string > > DisabledTokens { get ; } =
121+ [
122122 new ( "SemiColorDisabledText" , "Disabled Text" ) ,
123123 new ( "SemiColorDisabledBorder" , "Disabled Border" ) ,
124124 new ( "SemiColorDisabledBackground" , "Disabled Background" ) ,
125- new ( "SemiColorDisabledFill" , "Disabled Fill" ) ,
126- } ;
125+ new ( "SemiColorDisabledFill" , "Disabled Fill" )
126+ ] ;
127127
128- public static IReadOnlyList < Tuple < string , string > > OtherTokens { get ; } = new List < Tuple < string , string > >
129- {
128+ public static IReadOnlyList < Tuple < string , string > > OtherTokens { get ; } =
129+ [
130130 new ( "SemiColorWhite" , "White" ) ,
131131 new ( "SemiColorBlack" , "Black" ) ,
132132 new ( "SemiColorNavBackground" , "Navigation Background" ) ,
133133 new ( "SemiColorOverlayBackground" , "Overlay Background" ) ,
134134 new ( "SemiColorHighlightBackground" , "Highlight Background" ) ,
135- new ( "SemiColorHighlight" , "Highlight Text" ) ,
136- } ;
135+ new ( "SemiColorHighlight" , "Highlight Text" )
136+ ] ;
137137
138- public static IReadOnlyList < Tuple < string , string > > ShadowTokens { get ; } = new List < Tuple < string , string > >
139- {
138+ public static IReadOnlyList < Tuple < string , string > > ShadowTokens { get ; } =
139+ [
140140 new ( "SemiColorShadow" , "Shadow" ) ,
141- new ( "SemiShadowElevated" , "Shadow Elevated" ) ,
142- } ;
141+ new ( "SemiShadowElevated" , "Shadow Elevated" )
142+ ] ;
143143}
0 commit comments