@admin-layout/client 9.1.1-alpha.26 → 9.1.1-alpha.47

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 (107) hide show
  1. package/lib/antd-themes/ThemeProvider.d.ts +432 -0
  2. package/lib/antd-themes/ThemeProvider.d.ts.map +1 -0
  3. package/lib/antd-themes/ThemeProvider.js +35 -0
  4. package/lib/antd-themes/ThemeProvider.js.map +1 -0
  5. package/lib/antd-themes/airbnb-dark-theme.d.ts +230 -0
  6. package/lib/antd-themes/airbnb-dark-theme.d.ts.map +1 -0
  7. package/lib/antd-themes/airbnb-dark-theme.js +168 -0
  8. package/lib/antd-themes/airbnb-dark-theme.js.map +1 -0
  9. package/lib/antd-themes/airbnb-light-theme.d.ts +230 -0
  10. package/lib/antd-themes/airbnb-light-theme.d.ts.map +1 -0
  11. package/lib/antd-themes/airbnb-light-theme.js +168 -0
  12. package/lib/antd-themes/airbnb-light-theme.js.map +1 -0
  13. package/lib/antd-themes/colors.d.ts +29 -0
  14. package/lib/antd-themes/colors.d.ts.map +1 -0
  15. package/lib/antd-themes/colors.js +67 -0
  16. package/lib/antd-themes/colors.js.map +1 -0
  17. package/lib/antd-themes/default-dark-theme.d.ts +199 -0
  18. package/lib/antd-themes/default-dark-theme.d.ts.map +1 -0
  19. package/lib/antd-themes/default-dark-theme.js +136 -0
  20. package/lib/antd-themes/default-dark-theme.js.map +1 -0
  21. package/lib/antd-themes/default-light-theme.d.ts +199 -0
  22. package/lib/antd-themes/default-light-theme.d.ts.map +1 -0
  23. package/lib/antd-themes/default-light-theme.js +136 -0
  24. package/lib/antd-themes/default-light-theme.js.map +1 -0
  25. package/lib/antd-themes/github-dark-theme.d.ts +230 -0
  26. package/lib/antd-themes/github-dark-theme.d.ts.map +1 -0
  27. package/lib/antd-themes/github-dark-theme.js +168 -0
  28. package/lib/antd-themes/github-dark-theme.js.map +1 -0
  29. package/lib/antd-themes/github-light-theme.d.ts +230 -0
  30. package/lib/antd-themes/github-light-theme.d.ts.map +1 -0
  31. package/lib/antd-themes/github-light-theme.js +168 -0
  32. package/lib/antd-themes/github-light-theme.js.map +1 -0
  33. package/lib/antd-themes/index.d.ts +14 -0
  34. package/lib/antd-themes/index.d.ts.map +1 -0
  35. package/lib/antd-themes/slack-dark-theme.d.ts +229 -0
  36. package/lib/antd-themes/slack-dark-theme.d.ts.map +1 -0
  37. package/lib/antd-themes/slack-dark-theme.js +167 -0
  38. package/lib/antd-themes/slack-dark-theme.js.map +1 -0
  39. package/lib/antd-themes/slack-light-theme.d.ts +229 -0
  40. package/lib/antd-themes/slack-light-theme.d.ts.map +1 -0
  41. package/lib/antd-themes/slack-light-theme.js +167 -0
  42. package/lib/antd-themes/slack-light-theme.js.map +1 -0
  43. package/lib/antd-themes/spotify-dark-theme.d.ts +230 -0
  44. package/lib/antd-themes/spotify-dark-theme.d.ts.map +1 -0
  45. package/lib/antd-themes/spotify-dark-theme.js +168 -0
  46. package/lib/antd-themes/spotify-dark-theme.js.map +1 -0
  47. package/lib/antd-themes/spotify-light-theme.d.ts +230 -0
  48. package/lib/antd-themes/spotify-light-theme.d.ts.map +1 -0
  49. package/lib/antd-themes/spotify-light-theme.js +168 -0
  50. package/lib/antd-themes/spotify-light-theme.js.map +1 -0
  51. package/lib/antd-themes/themeRegistry.d.ts +2229 -0
  52. package/lib/antd-themes/themeRegistry.d.ts.map +1 -0
  53. package/lib/antd-themes/themeRegistry.js +12 -0
  54. package/lib/antd-themes/themeRegistry.js.map +1 -0
  55. package/lib/components/ApplicationErrorHandlerCommon.js.map +1 -1
  56. package/lib/components/ErrorBoundaryCommon.js.map +1 -1
  57. package/lib/config/defaultSettings.d.ts +2 -0
  58. package/lib/config/defaultSettings.d.ts.map +1 -1
  59. package/lib/config/defaultSettings.js +2 -1
  60. package/lib/config/defaultSettings.js.map +1 -1
  61. package/lib/config/env-config.d.ts +1 -2
  62. package/lib/config/env-config.d.ts.map +1 -1
  63. package/lib/config/env-config.js.map +1 -1
  64. package/lib/constants/constants.js.map +1 -1
  65. package/lib/constants/error.js.map +1 -1
  66. package/lib/constants/layout.js.map +1 -1
  67. package/lib/graphql/link/error-link.d.ts.map +1 -1
  68. package/lib/graphql/link/error-link.js +3 -3
  69. package/lib/graphql/link/error-link.js.map +1 -1
  70. package/lib/index.d.ts +1 -0
  71. package/lib/index.d.ts.map +1 -1
  72. package/lib/index.js +1 -1
  73. package/lib/interfaces/default-settings.d.ts +2 -0
  74. package/lib/interfaces/default-settings.d.ts.map +1 -1
  75. package/lib/interfaces/layout/base-menu.d.ts +1 -0
  76. package/lib/interfaces/layout/base-menu.d.ts.map +1 -1
  77. package/lib/interfaces/layout/breadcrum.d.ts +1 -0
  78. package/lib/interfaces/layout/breadcrum.d.ts.map +1 -1
  79. package/lib/interfaces/layout/global-footer.d.ts +1 -0
  80. package/lib/interfaces/layout/global-footer.d.ts.map +1 -1
  81. package/lib/interfaces/layout/global-header.d.ts +1 -0
  82. package/lib/interfaces/layout/global-header.d.ts.map +1 -1
  83. package/lib/interfaces/layout/menu.d.ts +1 -0
  84. package/lib/interfaces/layout/menu.d.ts.map +1 -1
  85. package/lib/interfaces/layout/sider-menu.d.ts +1 -0
  86. package/lib/interfaces/layout/sider-menu.d.ts.map +1 -1
  87. package/lib/redux/actions/error-actions.d.ts +1 -1
  88. package/lib/redux/actions/error-actions.d.ts.map +1 -1
  89. package/lib/redux/actions/error-actions.js.map +1 -1
  90. package/lib/redux/hooks.d.ts +2 -40
  91. package/lib/redux/hooks.d.ts.map +1 -1
  92. package/lib/redux/hooks.js +1 -0
  93. package/lib/redux/hooks.js.map +1 -1
  94. package/lib/redux/reducers/error.d.ts.map +1 -1
  95. package/lib/redux/reducers/error.js.map +1 -1
  96. package/lib/redux/settings.d.ts +11 -9
  97. package/lib/redux/settings.d.ts.map +1 -1
  98. package/lib/redux/settings.js.map +1 -1
  99. package/lib/redux/store.js.map +1 -1
  100. package/lib/themes/templates/darkLayoutTheme.js.map +1 -1
  101. package/lib/utils/componentSize.js.map +1 -1
  102. package/lib/utils/matchMenuKeys.js.map +1 -1
  103. package/lib/utils/menuUtils.js.map +1 -1
  104. package/lib/utils/seperatedMenus.js.map +1 -1
  105. package/package.json +3 -2
  106. package/lib/redux/store.d.ts +0 -80
  107. package/lib/redux/store.d.ts.map +0 -1
@@ -0,0 +1,432 @@
1
+ import React from 'react';
2
+ interface ThemeProviderProps {
3
+ children: React.ReactNode;
4
+ }
5
+ export declare const getTheme: (themeType: any, themeName: any) => {
6
+ algorithm: import("@ant-design/cssinjs").DerivativeFunc<import("antd/es/theme/interface").SeedToken, import("antd/es/theme/interface").MapToken>;
7
+ token: {
8
+ colorPrimary: string;
9
+ colorBgContainer: string;
10
+ colorText: string;
11
+ colorTextSecondary: string;
12
+ fontFamily: string;
13
+ borderRadius: number;
14
+ colorLink: string;
15
+ colorLinkHover: string;
16
+ colorLinkActive: string;
17
+ };
18
+ components: {
19
+ Button: {
20
+ algorithm: boolean;
21
+ };
22
+ Menu: {
23
+ itemBg: string;
24
+ };
25
+ Input: {
26
+ activeBorderColor: string;
27
+ };
28
+ };
29
+ scopes: ({
30
+ scope: string[];
31
+ settings: {
32
+ default: {
33
+ background: string;
34
+ foreground: string;
35
+ border: string;
36
+ };
37
+ primary: {
38
+ background: string;
39
+ foreground: string;
40
+ border: string;
41
+ };
42
+ hover: {
43
+ background: string;
44
+ foreground: string;
45
+ border: string;
46
+ };
47
+ active: {
48
+ background: string;
49
+ foreground: string;
50
+ border: string;
51
+ };
52
+ disabled: {
53
+ background: string;
54
+ foreground: string;
55
+ border: string;
56
+ };
57
+ focus?: undefined;
58
+ background?: undefined;
59
+ item?: undefined;
60
+ header?: undefined;
61
+ row?: undefined;
62
+ heading?: undefined;
63
+ text?: undefined;
64
+ };
65
+ } | {
66
+ scope: string[];
67
+ settings: {
68
+ default: {
69
+ background: string;
70
+ foreground: string;
71
+ border: string;
72
+ };
73
+ focus: {
74
+ border: string;
75
+ boxShadow: string;
76
+ };
77
+ hover: {
78
+ border: string;
79
+ background?: undefined;
80
+ foreground?: undefined;
81
+ };
82
+ disabled: {
83
+ background: string;
84
+ foreground: string;
85
+ border: string;
86
+ };
87
+ primary?: undefined;
88
+ active?: undefined;
89
+ background?: undefined;
90
+ item?: undefined;
91
+ header?: undefined;
92
+ row?: undefined;
93
+ heading?: undefined;
94
+ text?: undefined;
95
+ };
96
+ } | {
97
+ scope: string[];
98
+ settings: {
99
+ background: string;
100
+ item: {
101
+ default: {
102
+ background: string;
103
+ foreground: string;
104
+ };
105
+ hover: {
106
+ background: string;
107
+ foreground: string;
108
+ };
109
+ active: {
110
+ background: string;
111
+ foreground: string;
112
+ };
113
+ };
114
+ default?: undefined;
115
+ primary?: undefined;
116
+ hover?: undefined;
117
+ active?: undefined;
118
+ disabled?: undefined;
119
+ focus?: undefined;
120
+ header?: undefined;
121
+ row?: undefined;
122
+ heading?: undefined;
123
+ text?: undefined;
124
+ };
125
+ } | {
126
+ scope: string[];
127
+ settings: {
128
+ header: {
129
+ background: string;
130
+ foreground: string;
131
+ };
132
+ row: {
133
+ odd: {
134
+ background: string;
135
+ };
136
+ even: {
137
+ background: string;
138
+ };
139
+ hover: {
140
+ background: string;
141
+ };
142
+ };
143
+ default?: undefined;
144
+ primary?: undefined;
145
+ hover?: undefined;
146
+ active?: undefined;
147
+ disabled?: undefined;
148
+ focus?: undefined;
149
+ background?: undefined;
150
+ item?: undefined;
151
+ heading?: undefined;
152
+ text?: undefined;
153
+ };
154
+ } | {
155
+ scope: string[];
156
+ settings: {
157
+ heading: {
158
+ 1: {
159
+ fontSize: number;
160
+ fontWeight: number;
161
+ };
162
+ 2: {
163
+ fontSize: number;
164
+ fontWeight: number;
165
+ };
166
+ 3: {
167
+ fontSize: number;
168
+ fontWeight: number;
169
+ };
170
+ 4: {
171
+ fontSize: number;
172
+ fontWeight: number;
173
+ };
174
+ 5: {
175
+ fontSize: number;
176
+ fontWeight: number;
177
+ };
178
+ };
179
+ text: {
180
+ default: {
181
+ fontSize: number;
182
+ fontWeight: number;
183
+ };
184
+ secondary: {
185
+ fontSize: number;
186
+ fontWeight: number;
187
+ foreground: string;
188
+ };
189
+ };
190
+ default?: undefined;
191
+ primary?: undefined;
192
+ hover?: undefined;
193
+ active?: undefined;
194
+ disabled?: undefined;
195
+ focus?: undefined;
196
+ background?: undefined;
197
+ item?: undefined;
198
+ header?: undefined;
199
+ row?: undefined;
200
+ };
201
+ })[];
202
+ } | {
203
+ algorithm: import("@ant-design/cssinjs").DerivativeFunc<import("antd/es/theme/interface").SeedToken, import("antd/es/theme/interface").MapToken>;
204
+ token: {
205
+ colorPrimary: string;
206
+ colorBgContainer: string;
207
+ colorText: string;
208
+ colorTextSecondary: string;
209
+ fontFamily: string;
210
+ borderRadius: number;
211
+ colorLink: string;
212
+ colorLinkHover: string;
213
+ colorLinkActive: string;
214
+ };
215
+ components: {
216
+ Button: {
217
+ algorithm: boolean;
218
+ borderRadius: number;
219
+ controlHeight: number;
220
+ controlHeightLG: number;
221
+ controlHeightSM: number;
222
+ paddingContentHorizontal: number;
223
+ };
224
+ Menu: {
225
+ itemBg: string;
226
+ itemColor: string;
227
+ itemHoverColor: string;
228
+ itemSelectedColor: string;
229
+ itemSelectedBg: string;
230
+ itemHoverBg: string;
231
+ activeBarWidth: number;
232
+ activeBarHeight: number;
233
+ activeBarBorderWidth: number;
234
+ };
235
+ Typography: {
236
+ fontSizeHeading1: number;
237
+ fontSizeHeading2: number;
238
+ fontSizeHeading3: number;
239
+ fontSizeHeading4: number;
240
+ fontSizeHeading5: number;
241
+ };
242
+ Form: {
243
+ labelColor: string;
244
+ colorError: string;
245
+ colorWarning: string;
246
+ colorSuccess: string;
247
+ };
248
+ Input: {
249
+ controlHeight: number;
250
+ controlHeightLG: number;
251
+ controlHeightSM: number;
252
+ paddingHorizontal: number;
253
+ borderRadius: number;
254
+ };
255
+ };
256
+ scopes: ({
257
+ scope: string[];
258
+ settings: {
259
+ default: {
260
+ background: string;
261
+ foreground: string;
262
+ border: string;
263
+ };
264
+ primary: {
265
+ background: string;
266
+ foreground: string;
267
+ border: string;
268
+ };
269
+ hover: {
270
+ background: string;
271
+ foreground: string;
272
+ border: string;
273
+ };
274
+ active: {
275
+ background: string;
276
+ foreground: string;
277
+ border: string;
278
+ };
279
+ disabled: {
280
+ background: string;
281
+ foreground: string;
282
+ border: string;
283
+ };
284
+ focus?: undefined;
285
+ background?: undefined;
286
+ item?: undefined;
287
+ header?: undefined;
288
+ row?: undefined;
289
+ heading?: undefined;
290
+ text?: undefined;
291
+ };
292
+ } | {
293
+ scope: string[];
294
+ settings: {
295
+ default: {
296
+ background: string;
297
+ foreground: string;
298
+ border: string;
299
+ };
300
+ focus: {
301
+ border: string;
302
+ boxShadow: string;
303
+ };
304
+ hover: {
305
+ border: string;
306
+ background?: undefined;
307
+ foreground?: undefined;
308
+ };
309
+ disabled: {
310
+ background: string;
311
+ foreground: string;
312
+ border: string;
313
+ };
314
+ primary?: undefined;
315
+ active?: undefined;
316
+ background?: undefined;
317
+ item?: undefined;
318
+ header?: undefined;
319
+ row?: undefined;
320
+ heading?: undefined;
321
+ text?: undefined;
322
+ };
323
+ } | {
324
+ scope: string[];
325
+ settings: {
326
+ background: string;
327
+ item: {
328
+ default: {
329
+ background: string;
330
+ foreground: string;
331
+ };
332
+ hover: {
333
+ background: string;
334
+ foreground: string;
335
+ };
336
+ active: {
337
+ background: string;
338
+ foreground: string;
339
+ };
340
+ };
341
+ default?: undefined;
342
+ primary?: undefined;
343
+ hover?: undefined;
344
+ active?: undefined;
345
+ disabled?: undefined;
346
+ focus?: undefined;
347
+ header?: undefined;
348
+ row?: undefined;
349
+ heading?: undefined;
350
+ text?: undefined;
351
+ };
352
+ } | {
353
+ scope: string[];
354
+ settings: {
355
+ header: {
356
+ background: string;
357
+ foreground: string;
358
+ };
359
+ row: {
360
+ odd: {
361
+ background: string;
362
+ };
363
+ even: {
364
+ background: string;
365
+ };
366
+ hover: {
367
+ background: string;
368
+ };
369
+ };
370
+ default?: undefined;
371
+ primary?: undefined;
372
+ hover?: undefined;
373
+ active?: undefined;
374
+ disabled?: undefined;
375
+ focus?: undefined;
376
+ background?: undefined;
377
+ item?: undefined;
378
+ heading?: undefined;
379
+ text?: undefined;
380
+ };
381
+ } | {
382
+ scope: string[];
383
+ settings: {
384
+ heading: {
385
+ 1: {
386
+ fontSize: number;
387
+ fontWeight: number;
388
+ };
389
+ 2: {
390
+ fontSize: number;
391
+ fontWeight: number;
392
+ };
393
+ 3: {
394
+ fontSize: number;
395
+ fontWeight: number;
396
+ };
397
+ 4: {
398
+ fontSize: number;
399
+ fontWeight: number;
400
+ };
401
+ 5: {
402
+ fontSize: number;
403
+ fontWeight: number;
404
+ };
405
+ };
406
+ text: {
407
+ default: {
408
+ fontSize: number;
409
+ fontWeight: number;
410
+ };
411
+ secondary: {
412
+ fontSize: number;
413
+ fontWeight: number;
414
+ foreground: string;
415
+ };
416
+ };
417
+ default?: undefined;
418
+ primary?: undefined;
419
+ hover?: undefined;
420
+ active?: undefined;
421
+ disabled?: undefined;
422
+ focus?: undefined;
423
+ background?: undefined;
424
+ item?: undefined;
425
+ header?: undefined;
426
+ row?: undefined;
427
+ };
428
+ })[];
429
+ };
430
+ export declare const ThemeProvider: React.FC<ThemeProviderProps>;
431
+ export {};
432
+ //# sourceMappingURL=ThemeProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../src/antd-themes/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,kBAAkB;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQpB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAiCtD,CAAC"}
@@ -0,0 +1,35 @@
1
+ import React__default from'react';import {ConfigProvider}from'antd';import {themeRegistry}from'./themeRegistry.js';import'../config/env-config.js';import'lodash-es';import'../redux/store.js';import {useAppSelector}from'../redux/hooks.js';const getTheme = (themeType, themeName) => {
2
+ const key = `${themeName}${themeType === 'realDark' ? 'Dark' : 'Light'}Theme`;
3
+ if (key in themeRegistry) {
4
+ return themeRegistry[key];
5
+ }
6
+ else {
7
+ return themeRegistry?.defaultLightTheme;
8
+ }
9
+ };
10
+ const ThemeProvider = ({ children }) => {
11
+ const settings = useAppSelector((state) => state?.settings);
12
+ const { theme, themeType } = settings;
13
+ const selectedTheme = getTheme(themeType, theme);
14
+ const applyScopedStyles = (components) => {
15
+ selectedTheme?.scopes?.forEach((scope) => {
16
+ scope.scope.forEach((componentName) => {
17
+ if (!components[componentName]) {
18
+ components[componentName] = {};
19
+ }
20
+ Object.assign(components[componentName], scope.settings);
21
+ });
22
+ });
23
+ return components;
24
+ };
25
+ return (React__default.createElement(ConfigProvider, { theme: {
26
+ algorithm: selectedTheme?.algorithm,
27
+ token: selectedTheme?.token,
28
+ components: {
29
+ ...applyScopedStyles(selectedTheme?.components || {}),
30
+ Layout: {
31
+ siderBg: settings?.themeType == 'dark' ? `${settings?.siderBgColor} !important` : null,
32
+ },
33
+ },
34
+ } }, children));
35
+ };export{ThemeProvider,getTheme};//# sourceMappingURL=ThemeProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeProvider.js","sources":["../../src/antd-themes/ThemeProvider.tsx"],"sourcesContent":[null],"names":[],"mappings":"8OASA,MAAA,QAAa,GAAQ,CAAA,SAAA,EAAA,SAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,230 @@
1
+ export declare const airbnbDarkTheme: {
2
+ algorithm: import("@ant-design/cssinjs").DerivativeFunc<import("antd/es/theme/interface").SeedToken, import("antd/es/theme/interface").MapToken>;
3
+ token: {
4
+ colorPrimary: string;
5
+ colorBgContainer: string;
6
+ colorText: string;
7
+ colorTextSecondary: string;
8
+ fontFamily: string;
9
+ borderRadius: number;
10
+ colorLink: string;
11
+ colorLinkHover: string;
12
+ colorLinkActive: string;
13
+ };
14
+ components: {
15
+ Button: {
16
+ algorithm: boolean;
17
+ borderRadius: number;
18
+ controlHeight: number;
19
+ controlHeightLG: number;
20
+ controlHeightSM: number;
21
+ paddingContentHorizontal: number;
22
+ };
23
+ Menu: {
24
+ itemBg: string;
25
+ itemColor: string;
26
+ itemHoverColor: string;
27
+ itemSelectedColor: string;
28
+ itemSelectedBg: string;
29
+ itemHoverBg: string;
30
+ activeBarWidth: number;
31
+ activeBarHeight: number;
32
+ activeBarBorderWidth: number;
33
+ colorActiveBarColor: string;
34
+ };
35
+ Typography: {
36
+ fontSizeHeading1: number;
37
+ fontSizeHeading2: number;
38
+ fontSizeHeading3: number;
39
+ fontSizeHeading4: number;
40
+ fontSizeHeading5: number;
41
+ };
42
+ Form: {
43
+ labelColor: string;
44
+ colorError: string;
45
+ colorWarning: string;
46
+ colorSuccess: string;
47
+ };
48
+ Input: {
49
+ controlHeight: number;
50
+ controlHeightLG: number;
51
+ controlHeightSM: number;
52
+ paddingHorizontal: number;
53
+ borderRadius: number;
54
+ };
55
+ };
56
+ scopes: ({
57
+ scope: string[];
58
+ settings: {
59
+ default: {
60
+ background: string;
61
+ foreground: string;
62
+ border: string;
63
+ };
64
+ primary: {
65
+ background: string;
66
+ foreground: string;
67
+ border: string;
68
+ };
69
+ hover: {
70
+ background: string;
71
+ foreground: string;
72
+ border: string;
73
+ };
74
+ active: {
75
+ background: string;
76
+ foreground: string;
77
+ border: string;
78
+ };
79
+ disabled: {
80
+ background: string;
81
+ foreground: string;
82
+ border: string;
83
+ };
84
+ focus?: undefined;
85
+ background?: undefined;
86
+ item?: undefined;
87
+ header?: undefined;
88
+ row?: undefined;
89
+ heading?: undefined;
90
+ text?: undefined;
91
+ };
92
+ } | {
93
+ scope: string[];
94
+ settings: {
95
+ default: {
96
+ background: string;
97
+ foreground: string;
98
+ border: string;
99
+ };
100
+ focus: {
101
+ border: string;
102
+ boxShadow: string;
103
+ };
104
+ hover: {
105
+ border: string;
106
+ background?: undefined;
107
+ foreground?: undefined;
108
+ };
109
+ disabled: {
110
+ background: string;
111
+ foreground: string;
112
+ border: string;
113
+ };
114
+ primary?: undefined;
115
+ active?: undefined;
116
+ background?: undefined;
117
+ item?: undefined;
118
+ header?: undefined;
119
+ row?: undefined;
120
+ heading?: undefined;
121
+ text?: undefined;
122
+ };
123
+ } | {
124
+ scope: string[];
125
+ settings: {
126
+ background: string;
127
+ item: {
128
+ default: {
129
+ background: string;
130
+ foreground: string;
131
+ };
132
+ hover: {
133
+ background: string;
134
+ foreground: string;
135
+ };
136
+ active: {
137
+ background: string;
138
+ foreground: string;
139
+ };
140
+ };
141
+ default?: undefined;
142
+ primary?: undefined;
143
+ hover?: undefined;
144
+ active?: undefined;
145
+ disabled?: undefined;
146
+ focus?: undefined;
147
+ header?: undefined;
148
+ row?: undefined;
149
+ heading?: undefined;
150
+ text?: undefined;
151
+ };
152
+ } | {
153
+ scope: string[];
154
+ settings: {
155
+ header: {
156
+ background: string;
157
+ foreground: string;
158
+ };
159
+ row: {
160
+ odd: {
161
+ background: string;
162
+ };
163
+ even: {
164
+ background: string;
165
+ };
166
+ hover: {
167
+ background: string;
168
+ };
169
+ };
170
+ default?: undefined;
171
+ primary?: undefined;
172
+ hover?: undefined;
173
+ active?: undefined;
174
+ disabled?: undefined;
175
+ focus?: undefined;
176
+ background?: undefined;
177
+ item?: undefined;
178
+ heading?: undefined;
179
+ text?: undefined;
180
+ };
181
+ } | {
182
+ scope: string[];
183
+ settings: {
184
+ heading: {
185
+ 1: {
186
+ fontSize: number;
187
+ fontWeight: number;
188
+ };
189
+ 2: {
190
+ fontSize: number;
191
+ fontWeight: number;
192
+ };
193
+ 3: {
194
+ fontSize: number;
195
+ fontWeight: number;
196
+ };
197
+ 4: {
198
+ fontSize: number;
199
+ fontWeight: number;
200
+ };
201
+ 5: {
202
+ fontSize: number;
203
+ fontWeight: number;
204
+ };
205
+ };
206
+ text: {
207
+ default: {
208
+ fontSize: number;
209
+ fontWeight: number;
210
+ };
211
+ secondary: {
212
+ fontSize: number;
213
+ fontWeight: number;
214
+ foreground: string;
215
+ };
216
+ };
217
+ default?: undefined;
218
+ primary?: undefined;
219
+ hover?: undefined;
220
+ active?: undefined;
221
+ disabled?: undefined;
222
+ focus?: undefined;
223
+ background?: undefined;
224
+ item?: undefined;
225
+ header?: undefined;
226
+ row?: undefined;
227
+ };
228
+ })[];
229
+ };
230
+ //# sourceMappingURL=airbnb-dark-theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"airbnb-dark-theme.d.ts","sourceRoot":"","sources":["../../src/antd-themes/airbnb-dark-theme.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsK3B,CAAC"}