@fluentui-react-native/win32-theme 0.14.15 → 0.15.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.
- package/CHANGELOG.json +34 -1
- package/CHANGELOG.md +13 -2
- package/lib/black/tokens-alias.d.ts +3 -0
- package/lib/black/tokens-alias.d.ts.map +1 -0
- package/lib/black/tokens-alias.js +3 -0
- package/lib/black/tokens-alias.js.map +1 -0
- package/lib/colorful/tokens-alias.d.ts +3 -0
- package/lib/colorful/tokens-alias.d.ts.map +1 -0
- package/lib/colorful/tokens-alias.js +3 -0
- package/lib/colorful/tokens-alias.js.map +1 -0
- package/lib/createOfficeAliasTokens.js +1 -1
- package/lib/createOfficeAliasTokens.js.map +1 -1
- package/lib/darkGray/tokens-alias.d.ts +3 -0
- package/lib/darkGray/tokens-alias.d.ts.map +1 -0
- package/lib/darkGray/tokens-alias.js +3 -0
- package/lib/darkGray/tokens-alias.js.map +1 -0
- package/lib/generated/black/tokens-aliases.json +292 -0
- package/lib/generated/colorful/tokens-aliases.json +292 -0
- package/lib/generated/darkGray/tokens-aliases.json +292 -0
- package/lib/generated/highContrast/tokens-aliases.json +292 -0
- package/lib/getOfficeAliasTokens.d.ts +2 -0
- package/lib/getOfficeAliasTokens.d.ts.map +1 -0
- package/lib/getOfficeAliasTokens.js +20 -0
- package/lib/getOfficeAliasTokens.js.map +1 -0
- package/lib/highContrast/tokens-alias.d.ts +3 -0
- package/lib/highContrast/tokens-alias.d.ts.map +1 -0
- package/lib/highContrast/tokens-alias.js +17 -0
- package/lib/highContrast/tokens-alias.js.map +1 -0
- package/lib-commonjs/black/tokens-alias.d.ts +3 -0
- package/lib-commonjs/black/tokens-alias.d.ts.map +1 -0
- package/lib-commonjs/black/tokens-alias.js +6 -0
- package/lib-commonjs/black/tokens-alias.js.map +1 -0
- package/lib-commonjs/colorful/tokens-alias.d.ts +3 -0
- package/lib-commonjs/colorful/tokens-alias.d.ts.map +1 -0
- package/lib-commonjs/colorful/tokens-alias.js +6 -0
- package/lib-commonjs/colorful/tokens-alias.js.map +1 -0
- package/lib-commonjs/createOfficeAliasTokens.js +2 -2
- package/lib-commonjs/createOfficeAliasTokens.js.map +1 -1
- package/lib-commonjs/darkGray/tokens-alias.d.ts +3 -0
- package/lib-commonjs/darkGray/tokens-alias.d.ts.map +1 -0
- package/lib-commonjs/darkGray/tokens-alias.js +6 -0
- package/lib-commonjs/darkGray/tokens-alias.js.map +1 -0
- package/lib-commonjs/generated/black/tokens-aliases.json +292 -0
- package/lib-commonjs/generated/colorful/tokens-aliases.json +292 -0
- package/lib-commonjs/generated/darkGray/tokens-aliases.json +292 -0
- package/lib-commonjs/generated/highContrast/tokens-aliases.json +292 -0
- package/lib-commonjs/getOfficeAliasTokens.d.ts +2 -0
- package/lib-commonjs/getOfficeAliasTokens.d.ts.map +1 -0
- package/lib-commonjs/getOfficeAliasTokens.js +25 -0
- package/lib-commonjs/getOfficeAliasTokens.js.map +1 -0
- package/lib-commonjs/highContrast/tokens-alias.d.ts +3 -0
- package/lib-commonjs/highContrast/tokens-alias.d.ts.map +1 -0
- package/lib-commonjs/highContrast/tokens-alias.js +20 -0
- package/lib-commonjs/highContrast/tokens-alias.js.map +1 -0
- package/package.json +4 -4
- package/src/black/tokens-alias.ts +3 -0
- package/src/colorful/tokens-alias.ts +3 -0
- package/src/createOfficeAliasTokens.ts +1 -1
- package/src/darkGray/tokens-alias.ts +3 -0
- package/src/generated/black/tokens-aliases.json +292 -0
- package/src/generated/colorful/tokens-aliases.json +292 -0
- package/src/generated/darkGray/tokens-aliases.json +292 -0
- package/src/generated/highContrast/tokens-aliases.json +292 -0
- package/src/getOfficeAliasTokens.ts +18 -0
- package/src/highContrast/tokens-alias.ts +19 -0
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
{
|
|
2
|
+
"body": {
|
|
3
|
+
"fontFamily": "\"Segoe UI\", Roboto, \"SF Pro Text\", \"Helvetica Neue\", Helvetica, Arial, sans-serif",
|
|
4
|
+
"fontLineHeight": 20,
|
|
5
|
+
"fontSize": 14,
|
|
6
|
+
"fontWeight": "400"
|
|
7
|
+
},
|
|
8
|
+
"bodyStrong": {
|
|
9
|
+
"fontFamily": "\"Segoe UI\", Roboto, \"SF Pro Text\", \"Helvetica Neue\", Helvetica, Arial, sans-serif",
|
|
10
|
+
"fontLineHeight": 20,
|
|
11
|
+
"fontSize": 14,
|
|
12
|
+
"fontWeight": "600"
|
|
13
|
+
},
|
|
14
|
+
"borderless": {
|
|
15
|
+
"strokeAlignment": "inner",
|
|
16
|
+
"strokeColorRest": "transparent",
|
|
17
|
+
"strokeColorHover": "transparent",
|
|
18
|
+
"strokeColorPressed": "transparent",
|
|
19
|
+
"strokeColorDisabled": "transparent",
|
|
20
|
+
"strokeWidth": 1
|
|
21
|
+
},
|
|
22
|
+
"brandBackground": {
|
|
23
|
+
"fillColorRest": "PlatformColor(ButtonFace)",
|
|
24
|
+
"fillColorHover": "PlatformColor(Highlight)",
|
|
25
|
+
"fillColorPressed": "PlatformColor(Highlight)",
|
|
26
|
+
"fillColorSelected": "PlatformColor(Highlight)"
|
|
27
|
+
},
|
|
28
|
+
"brandBackground2": {
|
|
29
|
+
"fillColorRest": "PlatformColor(ButtonFace)"
|
|
30
|
+
},
|
|
31
|
+
"brandBackgroundStatic": {
|
|
32
|
+
"fillColorRest": "PlatformColor(Window)"
|
|
33
|
+
},
|
|
34
|
+
"brandForeground1": {
|
|
35
|
+
"fillColorRest": "PlatformColor(WindowText)"
|
|
36
|
+
},
|
|
37
|
+
"brandForeground2": {
|
|
38
|
+
"fillColorRest": "PlatformColor(ButtonText)"
|
|
39
|
+
},
|
|
40
|
+
"brandForegroundLink": {
|
|
41
|
+
"fillColorRest": "PlatformColor(Hotlight)",
|
|
42
|
+
"fillColorHover": "PlatformColor(Hotlight)",
|
|
43
|
+
"fillColorPressed": "PlatformColor(Hotlight)",
|
|
44
|
+
"fillColorSelected": "PlatformColor(Hotlight)"
|
|
45
|
+
},
|
|
46
|
+
"brandStroke1": {
|
|
47
|
+
"strokeColorRest": "PlatformColor(WindowText)",
|
|
48
|
+
"strokeWidth": 1
|
|
49
|
+
},
|
|
50
|
+
"brandStroke2": {
|
|
51
|
+
"strokeColorRest": "PlatformColor(Window)",
|
|
52
|
+
"strokeWidth": 1
|
|
53
|
+
},
|
|
54
|
+
"caption": {
|
|
55
|
+
"fontFamily": "\"Segoe UI\", Roboto, \"SF Pro Text\", \"Helvetica Neue\", Helvetica, Arial, sans-serif",
|
|
56
|
+
"fontLineHeight": 16,
|
|
57
|
+
"fontSize": 12,
|
|
58
|
+
"fontWeight": "400"
|
|
59
|
+
},
|
|
60
|
+
"compoundBrandBackground1": {
|
|
61
|
+
"fillColorRest": "PlatformColor(Highlight)",
|
|
62
|
+
"fillColorHover": "PlatformColor(Highlight)",
|
|
63
|
+
"fillColorPressed": "PlatformColor(Highlight)"
|
|
64
|
+
},
|
|
65
|
+
"compoundBrandForeground1": {
|
|
66
|
+
"fillColorRest": "PlatformColor(Highlight)",
|
|
67
|
+
"fillColorHover": "PlatformColor(Highlight)",
|
|
68
|
+
"fillColorPressed": "PlatformColor(Highlight)"
|
|
69
|
+
},
|
|
70
|
+
"compoundBrandStroke1": {
|
|
71
|
+
"strokeColorRest": "PlatformColor(Window)",
|
|
72
|
+
"strokeColorHover": "PlatformColor(Highlight)",
|
|
73
|
+
"strokeColorPressed": "PlatformColor(Highlight)",
|
|
74
|
+
"strokeWidth": 1
|
|
75
|
+
},
|
|
76
|
+
"display": {
|
|
77
|
+
"fontFamily": "\"Segoe UI\", Roboto, \"SF Pro Text\", \"Helvetica Neue\", Helvetica, Arial, sans-serif",
|
|
78
|
+
"fontLineHeight": 92,
|
|
79
|
+
"fontSize": 68,
|
|
80
|
+
"fontWeight": "600"
|
|
81
|
+
},
|
|
82
|
+
"headline": {
|
|
83
|
+
"fontFamily": "\"Segoe UI\", Roboto, \"SF Pro Text\", \"Helvetica Neue\", Helvetica, Arial, sans-serif",
|
|
84
|
+
"fontLineHeight": 28,
|
|
85
|
+
"fontSize": 20,
|
|
86
|
+
"fontWeight": "600"
|
|
87
|
+
},
|
|
88
|
+
"largeTitle": {
|
|
89
|
+
"fontFamily": "\"Segoe UI\", Roboto, \"SF Pro Text\", \"Helvetica Neue\", Helvetica, Arial, sans-serif",
|
|
90
|
+
"fontLineHeight": 52,
|
|
91
|
+
"fontSize": 40,
|
|
92
|
+
"fontWeight": "600"
|
|
93
|
+
},
|
|
94
|
+
"neutralBackground1": {
|
|
95
|
+
"fillColorRest": "PlatformColor(Window)",
|
|
96
|
+
"fillColorHover": "PlatformColor(Highlight)",
|
|
97
|
+
"fillColorPressed": "PlatformColor(Highlight)",
|
|
98
|
+
"fillColorSelected": "PlatformColor(Highlight)"
|
|
99
|
+
},
|
|
100
|
+
"neutralBackground2": {
|
|
101
|
+
"fillColorRest": "PlatformColor(Window)",
|
|
102
|
+
"fillColorHover": "PlatformColor(Highlight)",
|
|
103
|
+
"fillColorPressed": "PlatformColor(Highlight)",
|
|
104
|
+
"fillColorSelected": "PlatformColor(Highlight)"
|
|
105
|
+
},
|
|
106
|
+
"neutralBackground3": {
|
|
107
|
+
"fillColorRest": "PlatformColor(Window)",
|
|
108
|
+
"fillColorHover": "PlatformColor(Highlight)",
|
|
109
|
+
"fillColorPressed": "PlatformColor(Highlight)",
|
|
110
|
+
"fillColorSelected": "PlatformColor(Highlight)"
|
|
111
|
+
},
|
|
112
|
+
"neutralBackground4": {
|
|
113
|
+
"fillColorRest": "PlatformColor(Window)",
|
|
114
|
+
"fillColorHover": "PlatformColor(Highlight)",
|
|
115
|
+
"fillColorPressed": "PlatformColor(Highlight)",
|
|
116
|
+
"fillColorSelected": "PlatformColor(Highlight)"
|
|
117
|
+
},
|
|
118
|
+
"neutralBackground5": {
|
|
119
|
+
"fillColorRest": "PlatformColor(Window)",
|
|
120
|
+
"fillColorHover": "PlatformColor(Highlight)",
|
|
121
|
+
"fillColorPressed": "PlatformColor(Highlight)",
|
|
122
|
+
"fillColorSelected": "PlatformColor(Highlight)"
|
|
123
|
+
},
|
|
124
|
+
"neutralBackground6": {
|
|
125
|
+
"fillColorRest": "PlatformColor(Window)"
|
|
126
|
+
},
|
|
127
|
+
"neutralBackgroundDisabled": {
|
|
128
|
+
"fillColorRest": "PlatformColor(Window)"
|
|
129
|
+
},
|
|
130
|
+
"neutralBackgroundInverted": {
|
|
131
|
+
"fillColorRest": "PlatformColor(WindowText)"
|
|
132
|
+
},
|
|
133
|
+
"neutralForeground1": {
|
|
134
|
+
"fillColorRest": "PlatformColor(WindowText)",
|
|
135
|
+
"fillColorHover": "PlatformColor(HighlightText)",
|
|
136
|
+
"fillColorPressed": "PlatformColor(HighlightText)",
|
|
137
|
+
"fillColorSelected": "PlatformColor(HighlightText)"
|
|
138
|
+
},
|
|
139
|
+
"neutralForeground2": {
|
|
140
|
+
"fillColorRest": "PlatformColor(WindowText)",
|
|
141
|
+
"fillColorHover": "PlatformColor(HighlightText)",
|
|
142
|
+
"fillColorPressed": "PlatformColor(HighlightText)",
|
|
143
|
+
"fillColorBrandHover": "PlatformColor(HighlightText)",
|
|
144
|
+
"fillColorBrandPressed": "PlatformColor(HighlightText)",
|
|
145
|
+
"fillColorBrandSelected": "PlatformColor(HighlightText)",
|
|
146
|
+
"fillColorSelected": "PlatformColor(HighlightText)"
|
|
147
|
+
},
|
|
148
|
+
"neutralForeground3": {
|
|
149
|
+
"fillColorRest": "PlatformColor(WindowText)",
|
|
150
|
+
"fillColorHover": "PlatformColor(HighlightText)",
|
|
151
|
+
"fillColorPressed": "PlatformColor(HighlightText)",
|
|
152
|
+
"fillColorBrandHover": "PlatformColor(HighlightText)",
|
|
153
|
+
"fillColorBrandPressed": "PlatformColor(HighlightText)",
|
|
154
|
+
"fillColorBrandSelected": "PlatformColor(HighlightText)",
|
|
155
|
+
"fillColorSelected": "PlatformColor(HighlightText)"
|
|
156
|
+
},
|
|
157
|
+
"neutralForeground4": {
|
|
158
|
+
"fillColorRest": "PlatformColor(WindowText)"
|
|
159
|
+
},
|
|
160
|
+
"neutralForegroundDisabled": {
|
|
161
|
+
"fillColorRest": "PlatformColor(GrayText)"
|
|
162
|
+
},
|
|
163
|
+
"neutralForegroundInverted": {
|
|
164
|
+
"fillColorRest": "PlatformColor(Window)"
|
|
165
|
+
},
|
|
166
|
+
"neutralForegroundInvertedLink": {
|
|
167
|
+
"fillColorRest": "PlatformColor(Hotlight)",
|
|
168
|
+
"fillColorHover": "PlatformColor(Hotlight)",
|
|
169
|
+
"fillColorPressed": "PlatformColor(Hotlight)",
|
|
170
|
+
"fillColorSelected": "PlatformColor(Hotlight)"
|
|
171
|
+
},
|
|
172
|
+
"neutralForegroundOnBrand": {
|
|
173
|
+
"fillColorRest": "PlatformColor(ButtonText)",
|
|
174
|
+
"fillColorHover": "PlatformColor(HighlightText)",
|
|
175
|
+
"fillColorPressed": "PlatformColor(HighlightText)",
|
|
176
|
+
"fillColorSelected": "PlatformColor(HighlightText)"
|
|
177
|
+
},
|
|
178
|
+
"neutralStencil1": {
|
|
179
|
+
"fillColorRest": "#141414"
|
|
180
|
+
},
|
|
181
|
+
"neutralStencil2": {
|
|
182
|
+
"fillColorRest": "#858585"
|
|
183
|
+
},
|
|
184
|
+
"neutralStroke1": {
|
|
185
|
+
"strokeColorRest": "PlatformColor(WindowText)",
|
|
186
|
+
"strokeColorHover": "PlatformColor(Highlight)",
|
|
187
|
+
"strokeColorPressed": "PlatformColor(Highlight)",
|
|
188
|
+
"strokeColorSelected": "PlatformColor(Highlight)",
|
|
189
|
+
"strokeWidth": 1
|
|
190
|
+
},
|
|
191
|
+
"neutralStroke2": {
|
|
192
|
+
"strokeColorRest": "PlatformColor(WindowText)",
|
|
193
|
+
"strokeWidth": 1
|
|
194
|
+
},
|
|
195
|
+
"neutralStroke3": {
|
|
196
|
+
"strokeColorRest": "PlatformColor(WindowText)",
|
|
197
|
+
"strokeWidth": 1
|
|
198
|
+
},
|
|
199
|
+
"neutralStrokeAccessible": {
|
|
200
|
+
"strokeColorRest": "PlatformColor(WindowText)",
|
|
201
|
+
"strokeColorHover": "PlatformColor(Highlight)",
|
|
202
|
+
"strokeColorPressed": "PlatformColor(Highlight)",
|
|
203
|
+
"strokeColorSelected": "PlatformColor(Highlight)",
|
|
204
|
+
"strokeWidth": 1
|
|
205
|
+
},
|
|
206
|
+
"neutralStrokeDisabled": {
|
|
207
|
+
"strokeColorRest": "PlatformColor(GrayText)",
|
|
208
|
+
"strokeWidth": 1
|
|
209
|
+
},
|
|
210
|
+
"redBackground1": {
|
|
211
|
+
"fillColorRest": "PlatformColor(ButtonFace)"
|
|
212
|
+
},
|
|
213
|
+
"redBackground2": {
|
|
214
|
+
"fillColorRest": "PlatformColor(Window)"
|
|
215
|
+
},
|
|
216
|
+
"redBackground3": {
|
|
217
|
+
"fillColorRest": "PlatformColor(ButtonFace)"
|
|
218
|
+
},
|
|
219
|
+
"redBorder1": {
|
|
220
|
+
"strokeColorRest": "PlatformColor(WindowText)",
|
|
221
|
+
"strokeWidth": 1
|
|
222
|
+
},
|
|
223
|
+
"redBorder2": {
|
|
224
|
+
"strokeColorRest": "PlatformColor(WindowText)",
|
|
225
|
+
"strokeWidth": 1
|
|
226
|
+
},
|
|
227
|
+
"redBorderActive": {
|
|
228
|
+
"strokeColorRest": "PlatformColor(Highlight)",
|
|
229
|
+
"strokeWidth": 1
|
|
230
|
+
},
|
|
231
|
+
"redForeground1": {
|
|
232
|
+
"fillColorRest": "PlatformColor(ButtonText)"
|
|
233
|
+
},
|
|
234
|
+
"redForeground2": {
|
|
235
|
+
"fillColorRest": "PlatformColor(WindowText)"
|
|
236
|
+
},
|
|
237
|
+
"redForeground3": {
|
|
238
|
+
"fillColorRest": "PlatformColor(WindowText)"
|
|
239
|
+
},
|
|
240
|
+
"strokeFocus1": {
|
|
241
|
+
"strokeColorRest": "PlatformColor(Window)",
|
|
242
|
+
"strokeWidth": 1
|
|
243
|
+
},
|
|
244
|
+
"strokeFocus2": {
|
|
245
|
+
"strokeColorRest": "PlatformColor(Highlight)",
|
|
246
|
+
"strokeWidth": 1
|
|
247
|
+
},
|
|
248
|
+
"subheadline": {
|
|
249
|
+
"fontFamily": "\"Segoe UI\", Roboto, \"SF Pro Text\", \"Helvetica Neue\", Helvetica, Arial, sans-serif",
|
|
250
|
+
"fontLineHeight": 22,
|
|
251
|
+
"fontSize": 16,
|
|
252
|
+
"fontWeight": "600"
|
|
253
|
+
},
|
|
254
|
+
"subtleBackground": {
|
|
255
|
+
"fillColorRest": "transparent",
|
|
256
|
+
"fillColorHover": "PlatformColor(Highlight)",
|
|
257
|
+
"fillColorPressed": "PlatformColor(Highlight)",
|
|
258
|
+
"fillColorSelected": "PlatformColor(Highlight)"
|
|
259
|
+
},
|
|
260
|
+
"title1": {
|
|
261
|
+
"fontFamily": "\"Segoe UI\", Roboto, \"SF Pro Text\", \"Helvetica Neue\", Helvetica, Arial, sans-serif",
|
|
262
|
+
"fontLineHeight": 40,
|
|
263
|
+
"fontSize": 32,
|
|
264
|
+
"fontWeight": "600"
|
|
265
|
+
},
|
|
266
|
+
"title2": {
|
|
267
|
+
"fontFamily": "\"Segoe UI\", Roboto, \"SF Pro Text\", \"Helvetica Neue\", Helvetica, Arial, sans-serif",
|
|
268
|
+
"fontLineHeight": 36,
|
|
269
|
+
"fontSize": 28,
|
|
270
|
+
"fontWeight": "600"
|
|
271
|
+
},
|
|
272
|
+
"title3": {
|
|
273
|
+
"fontFamily": "\"Segoe UI\", Roboto, \"SF Pro Text\", \"Helvetica Neue\", Helvetica, Arial, sans-serif",
|
|
274
|
+
"fontLineHeight": 32,
|
|
275
|
+
"fontSize": 24,
|
|
276
|
+
"fontWeight": "600"
|
|
277
|
+
},
|
|
278
|
+
"transparentBackground": {
|
|
279
|
+
"fillColorRest": "transparent",
|
|
280
|
+
"fillColorHover": "transparent",
|
|
281
|
+
"fillColorPressed": "transparent",
|
|
282
|
+
"fillColorSelected": "transparent"
|
|
283
|
+
},
|
|
284
|
+
"transparentStroke": {
|
|
285
|
+
"strokeAlignment": "inner",
|
|
286
|
+
"strokeColorRest": "PlatformColor(WindowText)",
|
|
287
|
+
"strokeColorHover": "PlatformColor(Highlight)",
|
|
288
|
+
"strokeColorPressed": "PlatformColor(Highlight)",
|
|
289
|
+
"strokeColorDisabled": "PlatformColor(GrayText)",
|
|
290
|
+
"strokeWidth": 1
|
|
291
|
+
}
|
|
292
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOfficeAliasTokens.d.ts","sourceRoot":"","sources":["../src/getOfficeAliasTokens.ts"],"names":[],"mappings":"AAKA,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,OAYvD"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as colorfulAliasTokens from './colorful/tokens-alias';
|
|
2
|
+
import * as darkGrayAliasTokens from './darkGray/tokens-alias';
|
|
3
|
+
import * as blackAliasTokens from './black/tokens-alias';
|
|
4
|
+
import * as hcAliasTokens from './highContrast/tokens-alias';
|
|
5
|
+
export function getOfficeAliasTokens(officeTheme) {
|
|
6
|
+
if (officeTheme === 'White' || officeTheme === 'Colorful') {
|
|
7
|
+
return colorfulAliasTokens.default;
|
|
8
|
+
}
|
|
9
|
+
else if (officeTheme === 'DarkGray') {
|
|
10
|
+
return darkGrayAliasTokens.default;
|
|
11
|
+
}
|
|
12
|
+
else if (officeTheme === 'Black') {
|
|
13
|
+
return blackAliasTokens.default;
|
|
14
|
+
}
|
|
15
|
+
else if (officeTheme === 'HighContrast') {
|
|
16
|
+
return hcAliasTokens.default;
|
|
17
|
+
}
|
|
18
|
+
return colorfulAliasTokens.default;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=getOfficeAliasTokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOfficeAliasTokens.js","sourceRoot":"","sources":["../src/getOfficeAliasTokens.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,mBAAmB,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,mBAAmB,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,gBAAgB,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,aAAa,MAAM,6BAA6B,CAAC;AAE7D,MAAM,UAAU,oBAAoB,CAAC,WAAmB;IACtD,IAAI,WAAW,KAAK,OAAO,IAAI,WAAW,KAAK,UAAU,EAAE;QACzD,OAAO,mBAAmB,CAAC,OAAO,CAAC;KACpC;SAAM,IAAI,WAAW,KAAK,UAAU,EAAE;QACrC,OAAO,mBAAmB,CAAC,OAAO,CAAC;KACpC;SAAM,IAAI,WAAW,KAAK,OAAO,EAAE;QAClC,OAAO,gBAAgB,CAAC,OAAO,CAAC;KACjC;SAAM,IAAI,WAAW,KAAK,cAAc,EAAE;QACzC,OAAO,aAAa,CAAC,OAAO,CAAC;KAC9B;IAED,OAAO,mBAAmB,CAAC,OAAO,CAAC;AACrC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens-alias.d.ts","sourceRoot":"","sources":["../../src/highContrast/tokens-alias.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,oBAAoB,KAAkC,CAAC;AAC7D,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PlatformColor } from 'react-native';
|
|
2
|
+
import aliasTokens from '../generated/highContrast/tokens-aliases.json';
|
|
3
|
+
var generatedAliasTokens = processAliasTokens(aliasTokens);
|
|
4
|
+
export default generatedAliasTokens;
|
|
5
|
+
function processAliasTokens(aliasTokens) {
|
|
6
|
+
for (var key in aliasTokens) {
|
|
7
|
+
for (var innerKey in aliasTokens[key]) {
|
|
8
|
+
var entry = aliasTokens[key][innerKey];
|
|
9
|
+
if (typeof entry === 'string' && entry.includes('PlatformColor')) {
|
|
10
|
+
var color = entry.substring(14, entry.length - 1);
|
|
11
|
+
aliasTokens[key][innerKey] = PlatformColor(color);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
return aliasTokens;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=tokens-alias.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens-alias.js","sourceRoot":"","sources":["../../src/highContrast/tokens-alias.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,WAAW,MAAM,+CAA+C,CAAC;AAExE,IAAM,oBAAoB,GAAG,kBAAkB,CAAC,WAAW,CAAC,CAAC;AAC7D,eAAe,oBAAoB,CAAC;AAEpC,SAAS,kBAAkB,CAAC,WAAgB;IAC1C,KAAK,IAAM,GAAG,IAAI,WAAW,EAAE;QAC7B,KAAK,IAAM,QAAQ,IAAI,WAAW,CAAC,GAAG,CAAC,EAAE;YACvC,IAAM,KAAK,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC;YACzC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,QAAQ,CAAC,eAAe,CAAC,EAAE;gBAChE,IAAM,KAAK,GAAG,KAAK,CAAC,SAAS,CAAC,EAAE,EAAE,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;gBACpD,WAAW,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;aACnD;SACF;KACF;IAED,OAAO,WAAW,CAAC;AACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens-alias.d.ts","sourceRoot":"","sources":["../../src/black/tokens-alias.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,wCAAwC,CAAC;AAEjE,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var tokens_aliases_json_1 = (0, tslib_1.__importDefault)(require("../generated/black/tokens-aliases.json"));
|
|
5
|
+
exports.default = tokens_aliases_json_1.default;
|
|
6
|
+
//# sourceMappingURL=tokens-alias.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens-alias.js","sourceRoot":"","sources":["../../src/black/tokens-alias.ts"],"names":[],"mappings":";;;AAAA,4GAAiE;AAEjE,kBAAe,6BAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens-alias.d.ts","sourceRoot":"","sources":["../../src/colorful/tokens-alias.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,2CAA2C,CAAC;AAEpE,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var tokens_aliases_json_1 = (0, tslib_1.__importDefault)(require("../generated/colorful/tokens-aliases.json"));
|
|
5
|
+
exports.default = tokens_aliases_json_1.default;
|
|
6
|
+
//# sourceMappingURL=tokens-alias.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens-alias.js","sourceRoot":"","sources":["../../src/colorful/tokens-alias.ts"],"names":[],"mappings":";;;AAAA,+GAAoE;AAEpE,kBAAe,6BAAW,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createOfficeAliasTokens = void 0;
|
|
4
|
-
var
|
|
4
|
+
var getOfficeAliasTokens_1 = require("./getOfficeAliasTokens");
|
|
5
5
|
var memo_cache_1 = require("@fluentui-react-native/memo-cache");
|
|
6
6
|
var theming_utils_1 = require("@fluentui-react-native/theming-utils");
|
|
7
7
|
function createOfficeAliasTokensWorker(officeTheme) {
|
|
8
|
-
var aliasTokens = (0,
|
|
8
|
+
var aliasTokens = (0, getOfficeAliasTokens_1.getOfficeAliasTokens)(officeTheme);
|
|
9
9
|
return (0, theming_utils_1.mapPipelineToTheme)(aliasTokens);
|
|
10
10
|
}
|
|
11
11
|
exports.createOfficeAliasTokens = (0, memo_cache_1.memoize)(createOfficeAliasTokensWorker);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOfficeAliasTokens.js","sourceRoot":"","sources":["../src/createOfficeAliasTokens.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"createOfficeAliasTokens.js","sourceRoot":"","sources":["../src/createOfficeAliasTokens.ts"],"names":[],"mappings":";;;AAAA,+DAA8D;AAE9D,gEAA4D;AAC5D,sEAA0E;AAE1E,SAAS,6BAA6B,CAAC,WAAmB;IACxD,IAAM,WAAW,GAAG,IAAA,2CAAoB,EAAC,WAAW,CAAC,CAAC;IACtD,OAAO,IAAA,kCAAkB,EAAC,WAAW,CAAC,CAAC;AACzC,CAAC;AAEY,QAAA,uBAAuB,GAAG,IAAA,oBAAO,EAAC,6BAA6B,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens-alias.d.ts","sourceRoot":"","sources":["../../src/darkGray/tokens-alias.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,2CAA2C,CAAC;AAEpE,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var tokens_aliases_json_1 = (0, tslib_1.__importDefault)(require("../generated/darkGray/tokens-aliases.json"));
|
|
5
|
+
exports.default = tokens_aliases_json_1.default;
|
|
6
|
+
//# sourceMappingURL=tokens-alias.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens-alias.js","sourceRoot":"","sources":["../../src/darkGray/tokens-alias.ts"],"names":[],"mappings":";;;AAAA,+GAAoE;AAEpE,kBAAe,6BAAW,CAAC"}
|