@fluentui-react-native/apple-theme 0.28.16 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/CHANGELOG.md +43 -1
  2. package/lib/__tests__/apple-theme.test.d.ts +1 -1
  3. package/lib/__tests__/apple-theme.test.js +42 -41
  4. package/lib/__tests__/apple-theme.test.js.map +1 -1
  5. package/lib/appleColors.ios.d.ts +1 -1
  6. package/lib/appleColors.ios.js +174 -174
  7. package/lib/appleColors.ios.js.map +1 -1
  8. package/lib/appleColors.macos.d.ts +1 -1
  9. package/lib/appleColors.macos.js +367 -367
  10. package/lib/appleColors.macos.js.map +1 -1
  11. package/lib/appleColors.types.ios.d.ts +15 -15
  12. package/lib/appleColors.types.ios.js +1 -1
  13. package/lib/appleColors.types.macos.d.ts +146 -146
  14. package/lib/appleColors.types.macos.d.ts.map +1 -1
  15. package/lib/appleColors.types.macos.js +1 -1
  16. package/lib/appleHighContrast.macos.d.ts +1 -1
  17. package/lib/appleHighContrast.macos.js +3 -3
  18. package/lib/appleHighContrast.macos.js.map +1 -1
  19. package/lib/appleShadows.ios.d.ts +1 -1
  20. package/lib/appleShadows.ios.js +4 -4
  21. package/lib/appleShadows.ios.js.map +1 -1
  22. package/lib/appleShadows.macos.d.ts +1 -1
  23. package/lib/appleShadows.macos.js +2 -2
  24. package/lib/appleShadows.macos.js.map +1 -1
  25. package/lib/appleTheme.ios.d.ts +1 -1
  26. package/lib/appleTheme.ios.js +122 -122
  27. package/lib/appleTheme.ios.js.map +1 -1
  28. package/lib/appleTheme.macos.d.ts +53 -53
  29. package/lib/appleTheme.macos.js +68 -68
  30. package/lib/appleTheme.macos.js.map +1 -1
  31. package/lib/appleTypography.ios.d.ts +1 -1
  32. package/lib/appleTypography.ios.js +50 -50
  33. package/lib/appleTypography.ios.js.map +1 -1
  34. package/lib/appleTypography.macos.d.ts +1 -1
  35. package/lib/appleTypography.macos.js +62 -62
  36. package/lib/appleTypography.macos.js.map +1 -1
  37. package/lib/createAppleTheme.d.ts +1 -1
  38. package/lib/createAppleTheme.ios.d.ts +1 -1
  39. package/lib/createAppleTheme.ios.js +14 -14
  40. package/lib/createAppleTheme.ios.js.map +1 -1
  41. package/lib/createAppleTheme.js +3 -3
  42. package/lib/createAppleTheme.js.map +1 -1
  43. package/lib/createAppleTheme.macos.d.ts +1 -1
  44. package/lib/createAppleTheme.macos.js +23 -23
  45. package/lib/createAppleTheme.macos.js.map +1 -1
  46. package/lib/createFontAliasTokens.ios.d.ts +1 -1
  47. package/lib/createFontAliasTokens.ios.js +2 -2
  48. package/lib/createFontAliasTokens.ios.js.map +1 -1
  49. package/lib/createMacOSAliasTokens.d.ts +1 -1
  50. package/lib/createMacOSAliasTokens.js +5 -5
  51. package/lib/createMacOSAliasTokens.js.map +1 -1
  52. package/lib/createiOSAliasTokens.d.ts +1 -1
  53. package/lib/createiOSAliasTokens.js +5 -5
  54. package/lib/createiOSAliasTokens.js.map +1 -1
  55. package/lib/getMacOSTokens.d.ts +443 -435
  56. package/lib/getMacOSTokens.js +35 -45
  57. package/lib/getMacOSTokens.js.map +1 -1
  58. package/lib/index.d.ts +1 -1
  59. package/lib/index.js +1 -1
  60. package/lib-commonjs/__tests__/apple-theme.test.d.ts +1 -1
  61. package/lib-commonjs/__tests__/apple-theme.test.js +47 -46
  62. package/lib-commonjs/__tests__/apple-theme.test.js.map +1 -1
  63. package/lib-commonjs/appleColors.ios.d.ts +1 -1
  64. package/lib-commonjs/appleColors.ios.js +181 -182
  65. package/lib-commonjs/appleColors.ios.js.map +1 -1
  66. package/lib-commonjs/appleColors.macos.d.ts +1 -1
  67. package/lib-commonjs/appleColors.macos.js +379 -374
  68. package/lib-commonjs/appleColors.macos.js.map +1 -1
  69. package/lib-commonjs/appleColors.types.ios.d.ts +15 -15
  70. package/lib-commonjs/appleColors.types.ios.js +3 -3
  71. package/lib-commonjs/appleColors.types.macos.d.ts +146 -146
  72. package/lib-commonjs/appleColors.types.macos.d.ts.map +1 -1
  73. package/lib-commonjs/appleColors.types.macos.js +3 -3
  74. package/lib-commonjs/appleHighContrast.macos.d.ts +1 -1
  75. package/lib-commonjs/appleHighContrast.macos.js +8 -9
  76. package/lib-commonjs/appleHighContrast.macos.js.map +1 -1
  77. package/lib-commonjs/appleShadows.ios.d.ts +1 -1
  78. package/lib-commonjs/appleShadows.ios.js +10 -11
  79. package/lib-commonjs/appleShadows.ios.js.map +1 -1
  80. package/lib-commonjs/appleShadows.macos.d.ts +1 -1
  81. package/lib-commonjs/appleShadows.macos.js +7 -8
  82. package/lib-commonjs/appleShadows.macos.js.map +1 -1
  83. package/lib-commonjs/appleTheme.ios.d.ts +1 -1
  84. package/lib-commonjs/appleTheme.ios.js +128 -128
  85. package/lib-commonjs/appleTheme.ios.js.map +1 -1
  86. package/lib-commonjs/appleTheme.macos.d.ts +53 -53
  87. package/lib-commonjs/appleTheme.macos.js +76 -76
  88. package/lib-commonjs/appleTheme.macos.js.map +1 -1
  89. package/lib-commonjs/appleTypography.ios.d.ts +1 -1
  90. package/lib-commonjs/appleTypography.ios.js +54 -55
  91. package/lib-commonjs/appleTypography.ios.js.map +1 -1
  92. package/lib-commonjs/appleTypography.macos.d.ts +1 -1
  93. package/lib-commonjs/appleTypography.macos.js +65 -66
  94. package/lib-commonjs/appleTypography.macos.js.map +1 -1
  95. package/lib-commonjs/createAppleTheme.d.ts +1 -1
  96. package/lib-commonjs/createAppleTheme.ios.d.ts +1 -1
  97. package/lib-commonjs/createAppleTheme.ios.js +21 -22
  98. package/lib-commonjs/createAppleTheme.ios.js.map +1 -1
  99. package/lib-commonjs/createAppleTheme.js +8 -9
  100. package/lib-commonjs/createAppleTheme.js.map +1 -1
  101. package/lib-commonjs/createAppleTheme.macos.d.ts +1 -1
  102. package/lib-commonjs/createAppleTheme.macos.js +32 -33
  103. package/lib-commonjs/createAppleTheme.macos.js.map +1 -1
  104. package/lib-commonjs/createFontAliasTokens.ios.d.ts +1 -1
  105. package/lib-commonjs/createFontAliasTokens.ios.js +12 -10
  106. package/lib-commonjs/createFontAliasTokens.ios.js.map +1 -1
  107. package/lib-commonjs/createMacOSAliasTokens.d.ts +1 -1
  108. package/lib-commonjs/createMacOSAliasTokens.js +10 -10
  109. package/lib-commonjs/createMacOSAliasTokens.js.map +1 -1
  110. package/lib-commonjs/createiOSAliasTokens.d.ts +1 -1
  111. package/lib-commonjs/createiOSAliasTokens.js +10 -10
  112. package/lib-commonjs/createiOSAliasTokens.js.map +1 -1
  113. package/lib-commonjs/getMacOSTokens.d.ts +443 -435
  114. package/lib-commonjs/getMacOSTokens.js +53 -62
  115. package/lib-commonjs/getMacOSTokens.js.map +1 -1
  116. package/lib-commonjs/index.d.ts +1 -1
  117. package/lib-commonjs/index.js +30 -10
  118. package/lib-commonjs/index.js.map +1 -1
  119. package/package.json +60 -60
@@ -1,386 +1,391 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.fallbackApplePalette = void 0;
1
+ 'use strict';
2
+ Object.defineProperty(exports, '__esModule', { value: true });
3
+ exports.fallbackApplePalette = fallbackApplePalette;
4
4
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5
5
  // @ts-ignore
6
- const react_native_macos_1 = require("react-native-macos");
7
- const appleHighContrast_macos_1 = require("./appleHighContrast.macos");
8
- const createMacOSAliasTokens_1 = require("./createMacOSAliasTokens");
6
+ const react_native_macos_1 = require('react-native-macos');
7
+ const appleHighContrast_macos_1 = require('./appleHighContrast.macos');
8
+ const createMacOSAliasTokens_1 = require('./createMacOSAliasTokens');
9
9
  /** Creates a Palette of PlatformColors defined for macOS */
10
10
  function getAppleSemanticPalette() {
11
- return {
12
- labelColor: (0, react_native_macos_1.PlatformColor)('labelColor'),
13
- secondaryLabelColor: (0, react_native_macos_1.PlatformColor)('secondaryLabelColor'),
14
- tertiaryLabelColor: (0, react_native_macos_1.PlatformColor)('tertiaryLabelColor'),
15
- quaternaryLabelColor: (0, react_native_macos_1.PlatformColor)('quaternaryLabelColor'),
16
- textColor: (0, react_native_macos_1.PlatformColor)('textColor'),
17
- placeholderTextColor: (0, react_native_macos_1.PlatformColor)('placeholderTextColor'),
18
- textBackgroundColor: (0, react_native_macos_1.PlatformColor)('textBackgroundColor'),
19
- selectedTextColor: (0, react_native_macos_1.PlatformColor)('selectedTexColor'),
20
- selectedTextBackgroundColor: (0, react_native_macos_1.PlatformColor)('selectedTextBackgroundColor'),
21
- keyboardFocusIndicatorColor: (0, react_native_macos_1.PlatformColor)('keyboardFocusIndicatorColor'),
22
- unemphasizedSelectedTextColor: (0, react_native_macos_1.PlatformColor)('unemphasizedSelectedTextColor'),
23
- unemphasizedSelectedTextBackgroundColor: (0, react_native_macos_1.PlatformColor)('unemphasizedSelectedTextBackgroundColor'),
24
- linkColor: (0, react_native_macos_1.PlatformColor)('linkColor'),
25
- separatorColor: (0, react_native_macos_1.PlatformColor)('separatorColor'),
26
- selectedContentBackgroundColor: (0, react_native_macos_1.PlatformColor)('selectedContentBackgroundColor'),
27
- unemphasizedSelectedContentBackgroundColor: (0, react_native_macos_1.PlatformColor)('unemphasizedSelectedContentBackgroundColor'),
28
- selectedMenuItemTextColor: (0, react_native_macos_1.PlatformColor)('selectedMenuItemTextColor'),
29
- gridColor: (0, react_native_macos_1.PlatformColor)('gridColor'),
30
- headerTextColor: (0, react_native_macos_1.PlatformColor)('headerTextColor'),
31
- alternatingOddContentBackgroundColor: (0, react_native_macos_1.PlatformColor)('alternatingOddContentBackgroundColor'),
32
- alternatingEvenContentBackgroundColor: (0, react_native_macos_1.PlatformColor)('alternatingOddContentBackgroundColor'),
33
- controlAccentColor: (0, react_native_macos_1.PlatformColor)('controlAccentColor'),
34
- controlColor: (0, react_native_macos_1.PlatformColor)('controlColor'),
35
- controlBackgroundColor: (0, react_native_macos_1.PlatformColor)('controlBackgroundColor'),
36
- controlTextColor: (0, react_native_macos_1.PlatformColor)('controlTextColor'),
37
- disabledControlTextColor: (0, react_native_macos_1.PlatformColor)('disabledControlTextColor'),
38
- selectedControlColor: (0, react_native_macos_1.PlatformColor)('selectedControlColor'),
39
- selectedControlTextColor: (0, react_native_macos_1.PlatformColor)('selectedControlTextColor'),
40
- alternateSelectedControlTextColor: (0, react_native_macos_1.PlatformColor)('alternateSelectedControlTextColor'),
41
- scrubberTexturedBackground: (0, react_native_macos_1.PlatformColor)('scrubberTexturedBackground'),
42
- windowBackgroundColor: (0, react_native_macos_1.PlatformColor)('windowBackgroundColor'),
43
- windowFrameTextColor: (0, react_native_macos_1.PlatformColor)('windowFrameTextColor'),
44
- underPageBackgroundColor: (0, react_native_macos_1.PlatformColor)('underPageBackgroundColor'),
45
- findHighlightColor: (0, react_native_macos_1.PlatformColor)('findHighlightColor'),
46
- highlightColor: (0, react_native_macos_1.PlatformColor)('highlightColor'),
47
- shadowColor: (0, react_native_macos_1.PlatformColor)('shadowColor'),
48
- };
11
+ return {
12
+ labelColor: (0, react_native_macos_1.PlatformColor)('labelColor'),
13
+ secondaryLabelColor: (0, react_native_macos_1.PlatformColor)('secondaryLabelColor'),
14
+ tertiaryLabelColor: (0, react_native_macos_1.PlatformColor)('tertiaryLabelColor'),
15
+ quaternaryLabelColor: (0, react_native_macos_1.PlatformColor)('quaternaryLabelColor'),
16
+ textColor: (0, react_native_macos_1.PlatformColor)('textColor'),
17
+ placeholderTextColor: (0, react_native_macos_1.PlatformColor)('placeholderTextColor'),
18
+ textBackgroundColor: (0, react_native_macos_1.PlatformColor)('textBackgroundColor'),
19
+ selectedTextColor: (0, react_native_macos_1.PlatformColor)('selectedTexColor'),
20
+ selectedTextBackgroundColor: (0, react_native_macos_1.PlatformColor)('selectedTextBackgroundColor'),
21
+ keyboardFocusIndicatorColor: (0, react_native_macos_1.PlatformColor)('keyboardFocusIndicatorColor'),
22
+ unemphasizedSelectedTextColor: (0, react_native_macos_1.PlatformColor)('unemphasizedSelectedTextColor'),
23
+ unemphasizedSelectedTextBackgroundColor: (0, react_native_macos_1.PlatformColor)('unemphasizedSelectedTextBackgroundColor'),
24
+ linkColor: (0, react_native_macos_1.PlatformColor)('linkColor'),
25
+ separatorColor: (0, react_native_macos_1.PlatformColor)('separatorColor'),
26
+ selectedContentBackgroundColor: (0, react_native_macos_1.PlatformColor)('selectedContentBackgroundColor'),
27
+ unemphasizedSelectedContentBackgroundColor: (0, react_native_macos_1.PlatformColor)('unemphasizedSelectedContentBackgroundColor'),
28
+ selectedMenuItemTextColor: (0, react_native_macos_1.PlatformColor)('selectedMenuItemTextColor'),
29
+ gridColor: (0, react_native_macos_1.PlatformColor)('gridColor'),
30
+ headerTextColor: (0, react_native_macos_1.PlatformColor)('headerTextColor'),
31
+ alternatingOddContentBackgroundColor: (0, react_native_macos_1.PlatformColor)('alternatingOddContentBackgroundColor'),
32
+ alternatingEvenContentBackgroundColor: (0, react_native_macos_1.PlatformColor)('alternatingOddContentBackgroundColor'),
33
+ controlAccentColor: (0, react_native_macos_1.PlatformColor)('controlAccentColor'),
34
+ controlColor: (0, react_native_macos_1.PlatformColor)('controlColor'),
35
+ controlBackgroundColor: (0, react_native_macos_1.PlatformColor)('controlBackgroundColor'),
36
+ controlTextColor: (0, react_native_macos_1.PlatformColor)('controlTextColor'),
37
+ disabledControlTextColor: (0, react_native_macos_1.PlatformColor)('disabledControlTextColor'),
38
+ selectedControlColor: (0, react_native_macos_1.PlatformColor)('selectedControlColor'),
39
+ selectedControlTextColor: (0, react_native_macos_1.PlatformColor)('selectedControlTextColor'),
40
+ alternateSelectedControlTextColor: (0, react_native_macos_1.PlatformColor)('alternateSelectedControlTextColor'),
41
+ scrubberTexturedBackground: (0, react_native_macos_1.PlatformColor)('scrubberTexturedBackground'),
42
+ windowBackgroundColor: (0, react_native_macos_1.PlatformColor)('windowBackgroundColor'),
43
+ windowFrameTextColor: (0, react_native_macos_1.PlatformColor)('windowFrameTextColor'),
44
+ underPageBackgroundColor: (0, react_native_macos_1.PlatformColor)('underPageBackgroundColor'),
45
+ findHighlightColor: (0, react_native_macos_1.PlatformColor)('findHighlightColor'),
46
+ highlightColor: (0, react_native_macos_1.PlatformColor)('highlightColor'),
47
+ shadowColor: (0, react_native_macos_1.PlatformColor)('shadowColor'),
48
+ };
49
49
  }
50
50
  function getFluentUIApplePalette() {
51
- return {
52
- blue10: '#4F6BED',
53
- blueMagenta20: '#8764B8',
54
- blueMagenta30: '#5C2E91',
55
- communicationBlue: (0, react_native_macos_1.DynamicColorMacOS)({
56
- light: '#0078D4',
57
- dark: '#1890F1',
58
- }),
59
- communicationBlueShade10: (0, react_native_macos_1.DynamicColorMacOS)({
60
- light: '#106EBE',
61
- dark: '#1890F1',
62
- }),
63
- communicationBlueShade20: (0, react_native_macos_1.DynamicColorMacOS)({
64
- light: '#005A9E',
65
- dark: '#3AA0F3',
66
- }),
67
- communicationBlueShade30: (0, react_native_macos_1.DynamicColorMacOS)({
68
- light: '#004578',
69
- dark: '#6CB8F6',
70
- }),
71
- communicationBlueTint10: (0, react_native_macos_1.DynamicColorMacOS)({
72
- light: '#2B88D8',
73
- dark: '#0078D4',
74
- }),
75
- communicationBlueTint20: (0, react_native_macos_1.DynamicColorMacOS)({
76
- light: '#C7E0F4',
77
- dark: '#004C87',
78
- }),
79
- communicationBlueTint30: (0, react_native_macos_1.DynamicColorMacOS)({
80
- light: '#DEECF9',
81
- dark: '#043862',
82
- }),
83
- communicationBlueTint40: (0, react_native_macos_1.DynamicColorMacOS)({
84
- light: '#EFF6FC',
85
- dark: '#092C47',
86
- }),
87
- cyan20: '#038387',
88
- cyan30: '#005B70',
89
- cyanBlue10: '#0078D4',
90
- cyanBlue20: '#004E8C',
91
- dangerPrimary: (0, react_native_macos_1.DynamicColorMacOS)({
92
- light: '#D92C2C',
93
- dark: 'transparent',
94
- }),
95
- dangerShade10: (0, react_native_macos_1.DynamicColorMacOS)({
96
- light: '#C32727',
97
- dark: '#transparent',
98
- }),
99
- dangerShade20: (0, react_native_macos_1.DynamicColorMacOS)({
100
- light: '#A52121',
101
- dark: 'transparent',
102
- }),
103
- dangerShade30: (0, react_native_macos_1.DynamicColorMacOS)({
104
- light: '#791818',
105
- dark: 'transparent',
106
- }),
107
- dangerTint10: (0, react_native_macos_1.DynamicColorMacOS)({
108
- light: '#DD4242',
109
- dark: 'transparent',
110
- }),
111
- dangerTint20: (0, react_native_macos_1.DynamicColorMacOS)({
112
- light: '#E87979',
113
- dark: 'transparent',
114
- }),
115
- dangerTint30: (0, react_native_macos_1.DynamicColorMacOS)({
116
- light: '#F4B9B9',
117
- dark: 'transparent',
118
- }),
119
- dangerTint40: (0, react_native_macos_1.DynamicColorMacOS)({
120
- light: '#F9D9D9',
121
- dark: 'transparent',
122
- }),
123
- gray20: '#69797E',
124
- gray25: '#F8F8F8',
125
- gray30: '#7A7574',
126
- gray40: '#393939',
127
- gray50: '#F1F1F1',
128
- gray100: '#E1E1E1',
129
- gray200: '#C8C8C8',
130
- gray300: '#ACACAC',
131
- gray400: '#919191',
132
- gray500: '#6E6E6E',
133
- gray600: '#404040',
134
- gray700: '#303030',
135
- gray800: '#292929',
136
- gray900: '#212121',
137
- gray950: '#141414',
138
- green10: '#498205',
139
- green20: '#0B6A0B',
140
- magenta10: '#C239B3',
141
- magenta20: '#881798',
142
- magentaPink10: '#E3008C',
143
- orange20: '#CA5010',
144
- orange30: '#8E562E',
145
- orangeYellow20: '#986F0B',
146
- pinkRed10: '#750B1C',
147
- presenceAvailable: (0, react_native_macos_1.DynamicColorMacOS)({
148
- light: '#6BB700',
149
- dark: '#92C353',
150
- }),
151
- presenceAway: (0, react_native_macos_1.DynamicColorMacOS)({
152
- light: '#FFAA44',
153
- dark: '#F8D22A',
154
- }),
155
- presenceBlocked: (0, react_native_macos_1.DynamicColorMacOS)({
156
- light: '#C50F1F',
157
- dark: '#D74553',
158
- }),
159
- presenceBusy: (0, react_native_macos_1.DynamicColorMacOS)({
160
- light: '#C50F1F',
161
- dark: '#D74553',
162
- }),
163
- presenceDnd: (0, react_native_macos_1.DynamicColorMacOS)({
164
- light: '#C50F1F',
165
- dark: '#D74553',
166
- }),
167
- presenceOffline: (0, react_native_macos_1.DynamicColorMacOS)({
168
- light: '#8A8886',
169
- dark: '#979593',
170
- }),
171
- presenceOof: (0, react_native_macos_1.DynamicColorMacOS)({
172
- light: '#B4009E',
173
- dark: '#E959D9',
174
- }),
175
- presenceUnknown: (0, react_native_macos_1.DynamicColorMacOS)({
176
- light: '#8A8886',
177
- dark: '#979593',
178
- }),
179
- red10: '#D13438',
180
- red20: '#A4262C',
181
- successPrimary: (0, react_native_macos_1.DynamicColorMacOS)({
182
- light: '#13A10E',
183
- dark: '#979593',
184
- }),
185
- successShade10: (0, react_native_macos_1.DynamicColorMacOS)({
186
- light: '#11910D',
187
- dark: '#20BA53',
188
- }),
189
- successShade20: (0, react_native_macos_1.DynamicColorMacOS)({
190
- light: '#0F7A0B',
191
- dark: '#3BC569',
192
- }),
193
- successShade30: (0, react_native_macos_1.DynamicColorMacOS)({
194
- light: '#0B5A08',
195
- dark: '#67D48B',
196
- }),
197
- successTint10: (0, react_native_macos_1.DynamicColorMacOS)({
198
- light: '#27AC22',
199
- dark: '#0D9D3D',
200
- }),
201
- successTint20: (0, react_native_macos_1.DynamicColorMacOS)({
202
- light: '#5EC65A',
203
- dark: '#096B29',
204
- }),
205
- successTint30: (0, react_native_macos_1.DynamicColorMacOS)({
206
- light: '#A7E3A5',
207
- dark: '#043615',
208
- }),
209
- successTint40: (0, react_native_macos_1.DynamicColorMacOS)({
210
- light: '#CEF0CD',
211
- dark: '#021D0B',
212
- }),
213
- warningPrimary: (0, react_native_macos_1.DynamicColorMacOS)({
214
- light: '#FFD335',
215
- dark: '#FFC328',
216
- }),
217
- warningShade10: (0, react_native_macos_1.DynamicColorMacOS)({
218
- light: '#E6BE30',
219
- dark: '#FFC83E',
220
- }),
221
- warningShade20: (0, react_native_macos_1.DynamicColorMacOS)({
222
- light: '#C2A129',
223
- dark: '#FFDD15',
224
- }),
225
- warningShade30: (0, react_native_macos_1.DynamicColorMacOS)({
226
- light: '#8F761E',
227
- dark: '#FFDD87',
228
- }),
229
- warningTint10: (0, react_native_macos_1.DynamicColorMacOS)({
230
- light: '#FFD94E',
231
- dark: '#E0AB24',
232
- }),
233
- warningTint20: (0, react_native_macos_1.DynamicColorMacOS)({
234
- light: '#FFE586',
235
- dark: '#997518',
236
- }),
237
- warningTint30: (0, react_native_macos_1.DynamicColorMacOS)({
238
- light: '#FFF2C3',
239
- dark: '#4D3A0C',
240
- }),
241
- warningTint40: (0, react_native_macos_1.DynamicColorMacOS)({
242
- light: '#FFF8DF',
243
- dark: '#291F07',
244
- }),
245
- };
51
+ return {
52
+ blue10: '#4F6BED',
53
+ blueMagenta20: '#8764B8',
54
+ blueMagenta30: '#5C2E91',
55
+ communicationBlue: (0, react_native_macos_1.DynamicColorMacOS)({
56
+ light: '#0078D4',
57
+ dark: '#1890F1',
58
+ }),
59
+ communicationBlueShade10: (0, react_native_macos_1.DynamicColorMacOS)({
60
+ light: '#106EBE',
61
+ dark: '#1890F1',
62
+ }),
63
+ communicationBlueShade20: (0, react_native_macos_1.DynamicColorMacOS)({
64
+ light: '#005A9E',
65
+ dark: '#3AA0F3',
66
+ }),
67
+ communicationBlueShade30: (0, react_native_macos_1.DynamicColorMacOS)({
68
+ light: '#004578',
69
+ dark: '#6CB8F6',
70
+ }),
71
+ communicationBlueTint10: (0, react_native_macos_1.DynamicColorMacOS)({
72
+ light: '#2B88D8',
73
+ dark: '#0078D4',
74
+ }),
75
+ communicationBlueTint20: (0, react_native_macos_1.DynamicColorMacOS)({
76
+ light: '#C7E0F4',
77
+ dark: '#004C87',
78
+ }),
79
+ communicationBlueTint30: (0, react_native_macos_1.DynamicColorMacOS)({
80
+ light: '#DEECF9',
81
+ dark: '#043862',
82
+ }),
83
+ communicationBlueTint40: (0, react_native_macos_1.DynamicColorMacOS)({
84
+ light: '#EFF6FC',
85
+ dark: '#092C47',
86
+ }),
87
+ cyan20: '#038387',
88
+ cyan30: '#005B70',
89
+ cyanBlue10: '#0078D4',
90
+ cyanBlue20: '#004E8C',
91
+ dangerPrimary: (0, react_native_macos_1.DynamicColorMacOS)({
92
+ light: '#D92C2C',
93
+ dark: 'transparent',
94
+ }),
95
+ dangerShade10: (0, react_native_macos_1.DynamicColorMacOS)({
96
+ light: '#C32727',
97
+ dark: '#transparent',
98
+ }),
99
+ dangerShade20: (0, react_native_macos_1.DynamicColorMacOS)({
100
+ light: '#A52121',
101
+ dark: 'transparent',
102
+ }),
103
+ dangerShade30: (0, react_native_macos_1.DynamicColorMacOS)({
104
+ light: '#791818',
105
+ dark: 'transparent',
106
+ }),
107
+ dangerTint10: (0, react_native_macos_1.DynamicColorMacOS)({
108
+ light: '#DD4242',
109
+ dark: 'transparent',
110
+ }),
111
+ dangerTint20: (0, react_native_macos_1.DynamicColorMacOS)({
112
+ light: '#E87979',
113
+ dark: 'transparent',
114
+ }),
115
+ dangerTint30: (0, react_native_macos_1.DynamicColorMacOS)({
116
+ light: '#F4B9B9',
117
+ dark: 'transparent',
118
+ }),
119
+ dangerTint40: (0, react_native_macos_1.DynamicColorMacOS)({
120
+ light: '#F9D9D9',
121
+ dark: 'transparent',
122
+ }),
123
+ gray20: '#69797E',
124
+ gray25: '#F8F8F8',
125
+ gray30: '#7A7574',
126
+ gray40: '#393939',
127
+ gray50: '#F1F1F1',
128
+ gray100: '#E1E1E1',
129
+ gray200: '#C8C8C8',
130
+ gray300: '#ACACAC',
131
+ gray400: '#919191',
132
+ gray500: '#6E6E6E',
133
+ gray600: '#404040',
134
+ gray700: '#303030',
135
+ gray800: '#292929',
136
+ gray900: '#212121',
137
+ gray950: '#141414',
138
+ green10: '#498205',
139
+ green20: '#0B6A0B',
140
+ magenta10: '#C239B3',
141
+ magenta20: '#881798',
142
+ magentaPink10: '#E3008C',
143
+ orange20: '#CA5010',
144
+ orange30: '#8E562E',
145
+ orangeYellow20: '#986F0B',
146
+ pinkRed10: '#750B1C',
147
+ presenceAvailable: (0, react_native_macos_1.DynamicColorMacOS)({
148
+ light: '#6BB700',
149
+ dark: '#92C353',
150
+ }),
151
+ presenceAway: (0, react_native_macos_1.DynamicColorMacOS)({
152
+ light: '#FFAA44',
153
+ dark: '#F8D22A',
154
+ }),
155
+ presenceBlocked: (0, react_native_macos_1.DynamicColorMacOS)({
156
+ light: '#C50F1F',
157
+ dark: '#D74553',
158
+ }),
159
+ presenceBusy: (0, react_native_macos_1.DynamicColorMacOS)({
160
+ light: '#C50F1F',
161
+ dark: '#D74553',
162
+ }),
163
+ presenceDnd: (0, react_native_macos_1.DynamicColorMacOS)({
164
+ light: '#C50F1F',
165
+ dark: '#D74553',
166
+ }),
167
+ presenceOffline: (0, react_native_macos_1.DynamicColorMacOS)({
168
+ light: '#8A8886',
169
+ dark: '#979593',
170
+ }),
171
+ presenceOof: (0, react_native_macos_1.DynamicColorMacOS)({
172
+ light: '#B4009E',
173
+ dark: '#E959D9',
174
+ }),
175
+ presenceUnknown: (0, react_native_macos_1.DynamicColorMacOS)({
176
+ light: '#8A8886',
177
+ dark: '#979593',
178
+ }),
179
+ red10: '#D13438',
180
+ red20: '#A4262C',
181
+ successPrimary: (0, react_native_macos_1.DynamicColorMacOS)({
182
+ light: '#13A10E',
183
+ dark: '#979593',
184
+ }),
185
+ successShade10: (0, react_native_macos_1.DynamicColorMacOS)({
186
+ light: '#11910D',
187
+ dark: '#20BA53',
188
+ }),
189
+ successShade20: (0, react_native_macos_1.DynamicColorMacOS)({
190
+ light: '#0F7A0B',
191
+ dark: '#3BC569',
192
+ }),
193
+ successShade30: (0, react_native_macos_1.DynamicColorMacOS)({
194
+ light: '#0B5A08',
195
+ dark: '#67D48B',
196
+ }),
197
+ successTint10: (0, react_native_macos_1.DynamicColorMacOS)({
198
+ light: '#27AC22',
199
+ dark: '#0D9D3D',
200
+ }),
201
+ successTint20: (0, react_native_macos_1.DynamicColorMacOS)({
202
+ light: '#5EC65A',
203
+ dark: '#096B29',
204
+ }),
205
+ successTint30: (0, react_native_macos_1.DynamicColorMacOS)({
206
+ light: '#A7E3A5',
207
+ dark: '#043615',
208
+ }),
209
+ successTint40: (0, react_native_macos_1.DynamicColorMacOS)({
210
+ light: '#CEF0CD',
211
+ dark: '#021D0B',
212
+ }),
213
+ warningPrimary: (0, react_native_macos_1.DynamicColorMacOS)({
214
+ light: '#FFD335',
215
+ dark: '#FFC328',
216
+ }),
217
+ warningShade10: (0, react_native_macos_1.DynamicColorMacOS)({
218
+ light: '#E6BE30',
219
+ dark: '#FFC83E',
220
+ }),
221
+ warningShade20: (0, react_native_macos_1.DynamicColorMacOS)({
222
+ light: '#C2A129',
223
+ dark: '#FFDD15',
224
+ }),
225
+ warningShade30: (0, react_native_macos_1.DynamicColorMacOS)({
226
+ light: '#8F761E',
227
+ dark: '#FFDD87',
228
+ }),
229
+ warningTint10: (0, react_native_macos_1.DynamicColorMacOS)({
230
+ light: '#FFD94E',
231
+ dark: '#E0AB24',
232
+ }),
233
+ warningTint20: (0, react_native_macos_1.DynamicColorMacOS)({
234
+ light: '#FFE586',
235
+ dark: '#997518',
236
+ }),
237
+ warningTint30: (0, react_native_macos_1.DynamicColorMacOS)({
238
+ light: '#FFF2C3',
239
+ dark: '#4D3A0C',
240
+ }),
241
+ warningTint40: (0, react_native_macos_1.DynamicColorMacOS)({
242
+ light: '#FFF8DF',
243
+ dark: '#291F07',
244
+ }),
245
+ };
246
246
  }
247
247
  /** Creates a palette of colors for the apple theme, given the FluentUI Apple Palette and Apple Semantic Palette
248
248
  * The fallback palette is loaded while we wait for the native theming module to load, or if the module is not found
249
249
  */
250
250
  function fallbackApplePalette(mode) {
251
- const fluentUIApple = getFluentUIApplePalette();
252
- const applePlatform = getAppleSemanticPalette();
253
- const macOSAliasColorTokens = (0, createMacOSAliasTokens_1.createMacOSColorAliasTokens)(mode, (0, appleHighContrast_macos_1.getIsHighContrast)());
254
- return {
255
- ...macOSAliasColorTokens,
256
- /* PaletteBackgroundColors & PaletteTextColors */
257
- background: applePlatform.windowBackgroundColor,
258
- bodyStandoutBackground: applePlatform.underPageBackgroundColor,
259
- bodyFrameBackground: applePlatform.windowBackgroundColor,
260
- bodyFrameDivider: applePlatform.separatorColor,
261
- bodyText: applePlatform.labelColor,
262
- bodyTextChecked: applePlatform.labelColor,
263
- subText: applePlatform.secondaryLabelColor,
264
- bodyDivider: applePlatform.separatorColor,
265
- disabledBackground: fluentUIApple.gray100,
266
- disabledText: applePlatform.tertiaryLabelColor,
267
- disabledBodyText: applePlatform.tertiaryLabelColor,
268
- focusBorder: 'transparent',
269
- variantBorder: applePlatform.separatorColor,
270
- errorText: fluentUIApple.dangerPrimary,
271
- inputBorder: applePlatform.separatorColor,
272
- inputBackground: applePlatform.textBackgroundColor,
273
- inputFocusBorderAlt: applePlatform.keyboardFocusIndicatorColor,
274
- inputText: applePlatform.textColor,
275
- inputPlaceholderText: applePlatform.placeholderTextColor,
276
- // Set the default button tokens to match the Acrylic Button style
277
- buttonBackground: macOSAliasColorTokens.neutralBackground1,
278
- buttonBackgroundChecked: macOSAliasColorTokens.neutralBackground3,
279
- buttonBackgroundHovered: macOSAliasColorTokens.neutralBackground3,
280
- buttonBackgroundPressed: (0, react_native_macos_1.ColorWithSystemEffectMacOS)(macOSAliasColorTokens.neutralBackground3, 'pressed'),
281
- buttonBackgroundDisabled: (0, react_native_macos_1.ColorWithSystemEffectMacOS)(macOSAliasColorTokens.neutralBackground3, 'disabled'),
282
- buttonBorder: macOSAliasColorTokens.transparentStroke,
283
- buttonText: macOSAliasColorTokens.neutralForeground3,
284
- buttonTextHovered: macOSAliasColorTokens.neutralForeground3,
285
- buttonTextChecked: macOSAliasColorTokens.neutralForeground3,
286
- buttonTextPressed: (0, react_native_macos_1.ColorWithSystemEffectMacOS)(macOSAliasColorTokens.neutralForeground3, 'pressed'),
287
- buttonTextDisabled: (0, react_native_macos_1.ColorWithSystemEffectMacOS)(macOSAliasColorTokens.neutralForeground3, 'disabled'),
288
- buttonBorderDisabled: macOSAliasColorTokens.transparentBackground,
289
- buttonBorderFocused: macOSAliasColorTokens.transparentBackground,
290
- primaryButtonBackground: fluentUIApple.communicationBlue,
291
- primaryButtonBackgroundHovered: fluentUIApple.communicationBlue,
292
- primaryButtonBackgroundPressed: macOSAliasColorTokens.brandBackgroundPressed,
293
- primaryButtonBackgroundDisabled: macOSAliasColorTokens.neutralBackgroundDisabled,
294
- primaryButtonBorder: 'transparent',
295
- primaryButtonBorderFocused: 'transparent',
296
- primaryButtonText: macOSAliasColorTokens.neutralForegroundInverted,
297
- primaryButtonTextHovered: macOSAliasColorTokens.neutralForegroundInverted,
298
- primaryButtonTextPressed: macOSAliasColorTokens.neutralForegroundInverted,
299
- primaryButtonTextDisabled: macOSAliasColorTokens.brandForeground1Disabled,
300
- accentButtonBackground: fluentUIApple.communicationBlue,
301
- menuBackground: 'transparent',
302
- menuDivider: applePlatform.separatorColor,
303
- menuIcon: macOSAliasColorTokens.neutralForeground3,
304
- menuItemBackgroundHovered: applePlatform.controlAccentColor,
305
- menuItemBackgroundPressed: (0, react_native_macos_1.ColorWithSystemEffectMacOS)(applePlatform.controlAccentColor, 'pressed'),
306
- menuItemText: applePlatform.labelColor,
307
- menuItemTextHovered: 'white',
308
- listHeaderBackgroundHovered: applePlatform.headerTextColor,
309
- listHeaderBackgroundPressed: applePlatform.headerTextColor,
310
- actionLink: applePlatform.linkColor,
311
- link: applePlatform.linkColor,
312
- linkHovered: applePlatform.linkColor,
313
- linkPressed: applePlatform.selectedControlColor,
314
- /* ControlColorTokens */
315
- // Set the default button tokens to match the Acrylic Button style
316
- defaultBackground: macOSAliasColorTokens.neutralBackground2,
317
- defaultBorder: macOSAliasColorTokens.neutralStroke2,
318
- defaultContent: macOSAliasColorTokens.neutralForeground2,
319
- defaultIcon: macOSAliasColorTokens.neutralForeground3,
320
- defaultHoveredBackground: macOSAliasColorTokens.neutralBackground3,
321
- defaultHoveredBorder: macOSAliasColorTokens.neutralStroke2,
322
- defaultHoveredContent: macOSAliasColorTokens.neutralForeground3,
323
- defaultHoveredIcon: macOSAliasColorTokens.neutralForeground3,
324
- defaultFocusedBackground: macOSAliasColorTokens.neutralBackground2,
325
- defaultFocusedBorder: macOSAliasColorTokens.neutralStroke2,
326
- defaultFocusedContent: macOSAliasColorTokens.neutralForeground2,
327
- defaultFocusedIcon: macOSAliasColorTokens.neutralForeground3,
328
- defaultPressedBackground: macOSAliasColorTokens.neutralBackground2Pressed,
329
- defaultPressedBorder: macOSAliasColorTokens.neutralStroke2,
330
- defaultPressedContent: macOSAliasColorTokens.neutralForeground2,
331
- defaultPressedIcon: macOSAliasColorTokens.neutralForeground3,
332
- defaultDisabledBackground: macOSAliasColorTokens.neutralBackground2,
333
- defaultDisabledBorder: macOSAliasColorTokens.neutralStroke2,
334
- defaultDisabledContent: macOSAliasColorTokens.neutralForegroundDisabled,
335
- defaultDisabledIcon: macOSAliasColorTokens.neutralForeground3,
336
- ghostBackground: 'transparent',
337
- ghostBorder: 'transparent',
338
- ghostContent: fluentUIApple.communicationBlue,
339
- ghostIcon: fluentUIApple.communicationBlue,
340
- ghostHoveredBackground: 'transparent',
341
- ghostHoveredBorder: 'transparent',
342
- ghostHoveredContent: fluentUIApple.communicationBlue,
343
- ghostHoveredIcon: fluentUIApple.communicationBlue,
344
- ghostFocusedBackground: 'transparent',
345
- ghostFocusedBorder: 'transparent',
346
- ghostFocusedContent: fluentUIApple.communicationBlue,
347
- ghostFocusedIcon: fluentUIApple.communicationBlue,
348
- ghostPressedBackground: 'transparent',
349
- ghostPressedBorder: 'transparent',
350
- ghostPressedContent: macOSAliasColorTokens.brandForeground1Pressed,
351
- ghostPressedIcon: macOSAliasColorTokens.neutralForeground3,
352
- ghostDisabledBackground: 'transparent',
353
- ghostDisabledBorder: 'transparent',
354
- ghostDisabledContent: macOSAliasColorTokens.brandForeground1Disabled,
355
- ghostDisabledIcon: macOSAliasColorTokens.brandForeground1Disabled,
356
- brandedBackground: macOSAliasColorTokens.brandBackground,
357
- brandedDisabledBorder: 'transparent',
358
- defaultCheckedBackground: fluentUIApple.communicationBlue,
359
- defaultCheckedContent: macOSAliasColorTokens.neutralForegroundInverted,
360
- defaultCheckedHoveredBackground: fluentUIApple.communicationBlue,
361
- defaultCheckedHoveredContent: macOSAliasColorTokens.neutralForegroundInverted,
362
- ghostCheckedBackground: 'transparent',
363
- ghostCheckedContent: fluentUIApple.communicationBlue,
364
- ghostCheckedHoveredBackground: 'transparent',
365
- ghostCheckedHoveredContent: fluentUIApple.communicationBlue,
366
- ghostCheckedHoveredBorder: 'transparent',
367
- ghostSecondaryContent: fluentUIApple.communicationBlue,
368
- ghostFocusedSecondaryContent: fluentUIApple.communicationBlue,
369
- ghostHoveredSecondaryContent: fluentUIApple.communicationBlue,
370
- ghostPressedSecondaryContent: (0, react_native_macos_1.ColorWithSystemEffectMacOS)(fluentUIApple.communicationBlue, 'deepPressed'),
371
- brandedSecondaryContent: macOSAliasColorTokens.neutralForegroundInverted,
372
- brandedFocusedSecondaryContent: macOSAliasColorTokens.neutralForegroundInverted,
373
- brandedHoveredSecondaryContent: macOSAliasColorTokens.neutralForegroundInverted,
374
- brandedPressedSecondaryContent: (0, react_native_macos_1.ColorWithSystemEffectMacOS)(macOSAliasColorTokens.neutralForegroundInverted, 'pressed'),
375
- defaultHoveredSecondaryContent: macOSAliasColorTokens.neutralForeground3,
376
- defaultPressedSecondaryContent: macOSAliasColorTokens.neutralForegroundInverted,
377
- checkboxBackground: fluentUIApple.communicationBlue,
378
- checkboxBackgroundDisabled: macOSAliasColorTokens.neutralBackgroundDisabled,
379
- checkboxBorderColor: fluentUIApple.gray600,
380
- checkmarkColor: macOSAliasColorTokens.neutralForegroundInverted,
381
- personaActivityRing: macOSAliasColorTokens.neutralForegroundInverted,
382
- personaActivityGlow: fluentUIApple.red10,
383
- };
251
+ const fluentUIApple = getFluentUIApplePalette();
252
+ const applePlatform = getAppleSemanticPalette();
253
+ const macOSAliasColorTokens = (0, createMacOSAliasTokens_1.createMacOSColorAliasTokens)(
254
+ mode,
255
+ (0, appleHighContrast_macos_1.getIsHighContrast)(),
256
+ );
257
+ return {
258
+ ...macOSAliasColorTokens,
259
+ /* PaletteBackgroundColors & PaletteTextColors */
260
+ background: applePlatform.windowBackgroundColor,
261
+ bodyStandoutBackground: applePlatform.underPageBackgroundColor,
262
+ bodyFrameBackground: applePlatform.windowBackgroundColor,
263
+ bodyFrameDivider: applePlatform.separatorColor,
264
+ bodyText: applePlatform.labelColor,
265
+ bodyTextChecked: applePlatform.labelColor,
266
+ subText: applePlatform.secondaryLabelColor,
267
+ bodyDivider: applePlatform.separatorColor,
268
+ disabledBackground: fluentUIApple.gray100,
269
+ disabledText: applePlatform.tertiaryLabelColor,
270
+ disabledBodyText: applePlatform.tertiaryLabelColor,
271
+ focusBorder: 'transparent',
272
+ variantBorder: applePlatform.separatorColor,
273
+ errorText: fluentUIApple.dangerPrimary,
274
+ inputBorder: applePlatform.separatorColor,
275
+ inputBackground: applePlatform.textBackgroundColor,
276
+ inputFocusBorderAlt: applePlatform.keyboardFocusIndicatorColor,
277
+ inputText: applePlatform.textColor,
278
+ inputPlaceholderText: applePlatform.placeholderTextColor,
279
+ // Set the default button tokens to match the Acrylic Button style
280
+ buttonBackground: macOSAliasColorTokens.neutralBackground1,
281
+ buttonBackgroundChecked: macOSAliasColorTokens.neutralBackground3,
282
+ buttonBackgroundHovered: macOSAliasColorTokens.neutralBackground3,
283
+ buttonBackgroundPressed: (0, react_native_macos_1.ColorWithSystemEffectMacOS)(macOSAliasColorTokens.neutralBackground3, 'pressed'),
284
+ buttonBackgroundDisabled: (0, react_native_macos_1.ColorWithSystemEffectMacOS)(macOSAliasColorTokens.neutralBackground3, 'disabled'),
285
+ buttonBorder: macOSAliasColorTokens.transparentStroke,
286
+ buttonText: macOSAliasColorTokens.neutralForeground3,
287
+ buttonTextHovered: macOSAliasColorTokens.neutralForeground3,
288
+ buttonTextChecked: macOSAliasColorTokens.neutralForeground3,
289
+ buttonTextPressed: (0, react_native_macos_1.ColorWithSystemEffectMacOS)(macOSAliasColorTokens.neutralForeground3, 'pressed'),
290
+ buttonTextDisabled: (0, react_native_macos_1.ColorWithSystemEffectMacOS)(macOSAliasColorTokens.neutralForeground3, 'disabled'),
291
+ buttonBorderDisabled: macOSAliasColorTokens.transparentBackground,
292
+ buttonBorderFocused: macOSAliasColorTokens.transparentBackground,
293
+ primaryButtonBackground: fluentUIApple.communicationBlue,
294
+ primaryButtonBackgroundHovered: fluentUIApple.communicationBlue,
295
+ primaryButtonBackgroundPressed: macOSAliasColorTokens.brandBackgroundPressed,
296
+ primaryButtonBackgroundDisabled: macOSAliasColorTokens.neutralBackgroundDisabled,
297
+ primaryButtonBorder: 'transparent',
298
+ primaryButtonBorderFocused: 'transparent',
299
+ primaryButtonText: macOSAliasColorTokens.neutralForegroundInverted,
300
+ primaryButtonTextHovered: macOSAliasColorTokens.neutralForegroundInverted,
301
+ primaryButtonTextPressed: macOSAliasColorTokens.neutralForegroundInverted,
302
+ primaryButtonTextDisabled: macOSAliasColorTokens.brandForeground1Disabled,
303
+ accentButtonBackground: fluentUIApple.communicationBlue,
304
+ menuBackground: 'transparent',
305
+ menuDivider: applePlatform.separatorColor,
306
+ menuIcon: macOSAliasColorTokens.neutralForeground3, //GH:728 Icon doesn't support PlatformColor
307
+ menuItemBackgroundHovered: applePlatform.controlAccentColor,
308
+ menuItemBackgroundPressed: (0, react_native_macos_1.ColorWithSystemEffectMacOS)(applePlatform.controlAccentColor, 'pressed'),
309
+ menuItemText: applePlatform.labelColor,
310
+ menuItemTextHovered: 'white',
311
+ listHeaderBackgroundHovered: applePlatform.headerTextColor,
312
+ listHeaderBackgroundPressed: applePlatform.headerTextColor,
313
+ actionLink: applePlatform.linkColor,
314
+ link: applePlatform.linkColor,
315
+ linkHovered: applePlatform.linkColor,
316
+ linkPressed: applePlatform.selectedControlColor,
317
+ /* ControlColorTokens */
318
+ // Set the default button tokens to match the Acrylic Button style
319
+ defaultBackground: macOSAliasColorTokens.neutralBackground2,
320
+ defaultBorder: macOSAliasColorTokens.neutralStroke2,
321
+ defaultContent: macOSAliasColorTokens.neutralForeground2,
322
+ defaultIcon: macOSAliasColorTokens.neutralForeground3, //GH:728 Icon doesn't support PlatformColor
323
+ defaultHoveredBackground: macOSAliasColorTokens.neutralBackground3,
324
+ defaultHoveredBorder: macOSAliasColorTokens.neutralStroke2,
325
+ defaultHoveredContent: macOSAliasColorTokens.neutralForeground3,
326
+ defaultHoveredIcon: macOSAliasColorTokens.neutralForeground3, //GH:728 Icon doesn't support PlatformColor
327
+ defaultFocusedBackground: macOSAliasColorTokens.neutralBackground2,
328
+ defaultFocusedBorder: macOSAliasColorTokens.neutralStroke2,
329
+ defaultFocusedContent: macOSAliasColorTokens.neutralForeground2,
330
+ defaultFocusedIcon: macOSAliasColorTokens.neutralForeground3, //GH:728 Icon doesn't support PlatformColor
331
+ defaultPressedBackground: macOSAliasColorTokens.neutralBackground2Pressed,
332
+ defaultPressedBorder: macOSAliasColorTokens.neutralStroke2,
333
+ defaultPressedContent: macOSAliasColorTokens.neutralForeground2,
334
+ defaultPressedIcon: macOSAliasColorTokens.neutralForeground3, //GH:728 Icon doesn't support PlatformColor
335
+ defaultDisabledBackground: macOSAliasColorTokens.neutralBackground2,
336
+ defaultDisabledBorder: macOSAliasColorTokens.neutralStroke2,
337
+ defaultDisabledContent: macOSAliasColorTokens.neutralForegroundDisabled,
338
+ defaultDisabledIcon: macOSAliasColorTokens.neutralForeground3, //GH:728 Icon doesn't support PlatformColor
339
+ ghostBackground: 'transparent',
340
+ ghostBorder: 'transparent',
341
+ ghostContent: fluentUIApple.communicationBlue,
342
+ ghostIcon: fluentUIApple.communicationBlue,
343
+ ghostHoveredBackground: 'transparent',
344
+ ghostHoveredBorder: 'transparent',
345
+ ghostHoveredContent: fluentUIApple.communicationBlue,
346
+ ghostHoveredIcon: fluentUIApple.communicationBlue,
347
+ ghostFocusedBackground: 'transparent',
348
+ ghostFocusedBorder: 'transparent',
349
+ ghostFocusedContent: fluentUIApple.communicationBlue,
350
+ ghostFocusedIcon: fluentUIApple.communicationBlue,
351
+ ghostPressedBackground: 'transparent',
352
+ ghostPressedBorder: 'transparent',
353
+ ghostPressedContent: macOSAliasColorTokens.brandForeground1Pressed,
354
+ ghostPressedIcon: macOSAliasColorTokens.neutralForeground3, //GH:728 Icon doesn't support PlatformColor
355
+ ghostDisabledBackground: 'transparent',
356
+ ghostDisabledBorder: 'transparent',
357
+ ghostDisabledContent: macOSAliasColorTokens.brandForeground1Disabled,
358
+ ghostDisabledIcon: macOSAliasColorTokens.brandForeground1Disabled,
359
+ brandedBackground: macOSAliasColorTokens.brandBackground,
360
+ brandedDisabledBorder: 'transparent',
361
+ defaultCheckedBackground: fluentUIApple.communicationBlue,
362
+ defaultCheckedContent: macOSAliasColorTokens.neutralForegroundInverted,
363
+ defaultCheckedHoveredBackground: fluentUIApple.communicationBlue,
364
+ defaultCheckedHoveredContent: macOSAliasColorTokens.neutralForegroundInverted,
365
+ ghostCheckedBackground: 'transparent',
366
+ ghostCheckedContent: fluentUIApple.communicationBlue,
367
+ ghostCheckedHoveredBackground: 'transparent',
368
+ ghostCheckedHoveredContent: fluentUIApple.communicationBlue,
369
+ ghostCheckedHoveredBorder: 'transparent',
370
+ ghostSecondaryContent: fluentUIApple.communicationBlue,
371
+ ghostFocusedSecondaryContent: fluentUIApple.communicationBlue,
372
+ ghostHoveredSecondaryContent: fluentUIApple.communicationBlue,
373
+ ghostPressedSecondaryContent: (0, react_native_macos_1.ColorWithSystemEffectMacOS)(fluentUIApple.communicationBlue, 'deepPressed'),
374
+ brandedSecondaryContent: macOSAliasColorTokens.neutralForegroundInverted,
375
+ brandedFocusedSecondaryContent: macOSAliasColorTokens.neutralForegroundInverted,
376
+ brandedHoveredSecondaryContent: macOSAliasColorTokens.neutralForegroundInverted,
377
+ brandedPressedSecondaryContent: (0, react_native_macos_1.ColorWithSystemEffectMacOS)(
378
+ macOSAliasColorTokens.neutralForegroundInverted,
379
+ 'pressed',
380
+ ),
381
+ defaultHoveredSecondaryContent: macOSAliasColorTokens.neutralForeground3,
382
+ defaultPressedSecondaryContent: macOSAliasColorTokens.neutralForegroundInverted,
383
+ checkboxBackground: fluentUIApple.communicationBlue,
384
+ checkboxBackgroundDisabled: macOSAliasColorTokens.neutralBackgroundDisabled,
385
+ checkboxBorderColor: fluentUIApple.gray600,
386
+ checkmarkColor: macOSAliasColorTokens.neutralForegroundInverted,
387
+ personaActivityRing: macOSAliasColorTokens.neutralForegroundInverted,
388
+ personaActivityGlow: fluentUIApple.red10,
389
+ };
384
390
  }
385
- exports.fallbackApplePalette = fallbackApplePalette;
386
- //# sourceMappingURL=appleColors.macos.js.map
391
+ //# sourceMappingURL=appleColors.macos.js.map