@admin-layout/client 11.0.4-alpha.4 → 12.0.16-alpha.2

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 (162) hide show
  1. package/lib/{antd-themes/colors.d.ts → colors/colorsList.d.ts} +1 -1
  2. package/lib/colors/colorsList.d.ts.map +1 -0
  3. package/lib/{antd-themes/colors.js → colors/colorsList.js} +1 -1
  4. package/lib/colors/colorsList.js.map +1 -0
  5. package/lib/colors/index.d.ts +1 -0
  6. package/lib/colors/index.d.ts.map +1 -1
  7. package/lib/colors/presets/brinkPink.js +11 -0
  8. package/lib/colors/presets/brinkPink.js.map +1 -0
  9. package/lib/colors/presets/cyan.js +11 -0
  10. package/lib/colors/presets/cyan.js.map +1 -0
  11. package/lib/colors/presets/lime.js +11 -0
  12. package/lib/colors/presets/lime.js.map +1 -0
  13. package/lib/colors/presets/pink.js +11 -0
  14. package/lib/colors/presets/pink.js.map +1 -0
  15. package/lib/colors/presets/purple.js +11 -0
  16. package/lib/colors/presets/purple.js.map +1 -0
  17. package/lib/colors/presets/skyBlue.js +11 -0
  18. package/lib/colors/presets/skyBlue.js.map +1 -0
  19. package/lib/colors/presets/turquoise.js +11 -0
  20. package/lib/colors/presets/turquoise.js.map +1 -0
  21. package/lib/components/ApplicationErrorFillWrapper.d.ts.map +1 -1
  22. package/lib/components/ApplicationErrorHandlerCommon.d.ts.map +1 -1
  23. package/lib/components/LayoutCookieProvider.d.ts.map +1 -1
  24. package/lib/components/LayoutCookieProvider.js +15 -9
  25. package/lib/components/LayoutCookieProvider.js.map +1 -1
  26. package/lib/components/UpdateSettings/SettingsConfigurationModel.test.d.ts +2 -0
  27. package/lib/components/UpdateSettings/SettingsConfigurationModel.test.d.ts.map +1 -0
  28. package/lib/components/UpdateSettings/UpdateSettings.server.d.ts +24 -0
  29. package/lib/components/UpdateSettings/UpdateSettings.server.d.ts.map +1 -0
  30. package/lib/components/UpdateSettings/UpdateSettings.server.js +121 -28
  31. package/lib/components/UpdateSettings/UpdateSettings.server.js.map +1 -1
  32. package/lib/config/defaultSettings.d.ts +108 -1
  33. package/lib/config/defaultSettings.d.ts.map +1 -1
  34. package/lib/config/defaultSettings.js +160 -15
  35. package/lib/config/defaultSettings.js.map +1 -1
  36. package/lib/config/env-config.d.ts.map +1 -1
  37. package/lib/config/env-config.js +11 -4
  38. package/lib/config/env-config.js.map +1 -1
  39. package/lib/graphql/link/error-link.d.ts.map +1 -1
  40. package/lib/graphql/link/error-link.js.map +1 -1
  41. package/lib/hooks/Client-only.d.ts +28 -0
  42. package/lib/hooks/Client-only.d.ts.map +1 -0
  43. package/lib/hooks/Client-only.js +18 -0
  44. package/lib/hooks/Client-only.js.map +1 -0
  45. package/lib/hooks/hooks.d.ts +4 -0
  46. package/lib/hooks/hooks.d.ts.map +1 -0
  47. package/lib/hooks/index.d.ts +1 -0
  48. package/lib/hooks/index.d.ts.map +1 -1
  49. package/lib/hooks/use-hydrated.d.ts +19 -0
  50. package/lib/hooks/use-hydrated.d.ts.map +1 -0
  51. package/lib/hooks/use-hydrated.js +24 -0
  52. package/lib/hooks/use-hydrated.js.map +1 -0
  53. package/lib/hooks/useLayoutSettings.d.ts +1 -0
  54. package/lib/hooks/useLayoutSettings.d.ts.map +1 -1
  55. package/lib/hooks/useLayoutSettings.js +21 -26
  56. package/lib/hooks/useLayoutSettings.js.map +1 -1
  57. package/lib/index.d.ts +1 -1
  58. package/lib/index.d.ts.map +1 -1
  59. package/lib/index.js +1 -1
  60. package/lib/index.native.js +1 -1
  61. package/lib/interfaces/default-settings.d.ts +1 -0
  62. package/lib/interfaces/default-settings.d.ts.map +1 -1
  63. package/lib/interfaces/index.d.ts +2 -0
  64. package/lib/interfaces/index.d.ts.map +1 -1
  65. package/lib/interfaces/pure-settings.d.ts +9 -1
  66. package/lib/interfaces/pure-settings.d.ts.map +1 -1
  67. package/lib/interfaces/searchbar-settings.d.ts +61 -0
  68. package/lib/interfaces/searchbar-settings.d.ts.map +1 -0
  69. package/lib/interfaces/settings.d.ts +166 -0
  70. package/lib/interfaces/settings.d.ts.map +1 -0
  71. package/lib/interfaces/settings.js +5 -0
  72. package/lib/interfaces/settings.js.map +1 -0
  73. package/lib/redux/actions/error-actions.d.ts.map +1 -1
  74. package/lib/redux/reducers/settings.d.ts.map +1 -1
  75. package/lib/redux/reducers/settings.js +3 -7
  76. package/lib/redux/reducers/settings.js.map +1 -1
  77. package/lib/redux/store.js +1 -1
  78. package/lib/themes/templates/darkLayoutTheme.d.ts +1 -1
  79. package/lib/themes/templates/darkLayoutTheme.d.ts.map +1 -1
  80. package/lib/utils/assignDefaults.d.ts +11 -0
  81. package/lib/utils/assignDefaults.d.ts.map +1 -0
  82. package/lib/utils/assignDefaults.js +166 -0
  83. package/lib/utils/assignDefaults.js.map +1 -0
  84. package/lib/utils/assignDefaults.test.d.ts +2 -0
  85. package/lib/utils/assignDefaults.test.d.ts.map +1 -0
  86. package/lib/utils/generateMenuLink.d.ts.map +1 -1
  87. package/lib/utils/generateMenuLink.js +13 -1
  88. package/lib/utils/generateMenuLink.js.map +1 -1
  89. package/lib/utils/generateMenuLink.test.d.ts +2 -0
  90. package/lib/utils/generateMenuLink.test.d.ts.map +1 -0
  91. package/lib/utils/index.d.ts +1 -1
  92. package/lib/utils/index.d.ts.map +1 -1
  93. package/lib/utils/matchMenuKeys.d.ts.map +1 -1
  94. package/lib/utils/matchMenuKeys.js.map +1 -1
  95. package/lib/utils/menuUtils.d.ts.map +1 -1
  96. package/lib/utils/menuUtils.js.map +1 -1
  97. package/lib/utils/parentRoute.d.ts.map +1 -1
  98. package/lib/utils/settingsDiff.test.d.ts +2 -0
  99. package/lib/utils/settingsDiff.test.d.ts.map +1 -0
  100. package/lib/utils/settingsDifference.d.ts +5 -0
  101. package/lib/utils/settingsDifference.d.ts.map +1 -0
  102. package/lib/utils/settingsDifference.js +207 -0
  103. package/lib/utils/settingsDifference.js.map +1 -0
  104. package/lib/utils/settingsDifference.test.d.ts +2 -0
  105. package/lib/utils/settingsDifference.test.d.ts.map +1 -0
  106. package/package.json +5 -4
  107. package/lib/antd-themes/ThemeProvider.d.ts +0 -10
  108. package/lib/antd-themes/ThemeProvider.d.ts.map +0 -1
  109. package/lib/antd-themes/ThemeProvider.js +0 -34
  110. package/lib/antd-themes/ThemeProvider.js.map +0 -1
  111. package/lib/antd-themes/airbnb-dark-theme.d.ts +0 -2
  112. package/lib/antd-themes/airbnb-dark-theme.d.ts.map +0 -1
  113. package/lib/antd-themes/airbnb-dark-theme.js +0 -168
  114. package/lib/antd-themes/airbnb-dark-theme.js.map +0 -1
  115. package/lib/antd-themes/airbnb-light-theme.d.ts +0 -230
  116. package/lib/antd-themes/airbnb-light-theme.d.ts.map +0 -1
  117. package/lib/antd-themes/airbnb-light-theme.js +0 -168
  118. package/lib/antd-themes/airbnb-light-theme.js.map +0 -1
  119. package/lib/antd-themes/colors.d.ts.map +0 -1
  120. package/lib/antd-themes/colors.js.map +0 -1
  121. package/lib/antd-themes/default-dark-theme.d.ts +0 -2
  122. package/lib/antd-themes/default-dark-theme.d.ts.map +0 -1
  123. package/lib/antd-themes/default-dark-theme.js +0 -136
  124. package/lib/antd-themes/default-dark-theme.js.map +0 -1
  125. package/lib/antd-themes/default-light-theme.d.ts +0 -199
  126. package/lib/antd-themes/default-light-theme.d.ts.map +0 -1
  127. package/lib/antd-themes/default-light-theme.js +0 -136
  128. package/lib/antd-themes/default-light-theme.js.map +0 -1
  129. package/lib/antd-themes/github-dark-theme.d.ts +0 -2
  130. package/lib/antd-themes/github-dark-theme.d.ts.map +0 -1
  131. package/lib/antd-themes/github-dark-theme.js +0 -168
  132. package/lib/antd-themes/github-dark-theme.js.map +0 -1
  133. package/lib/antd-themes/github-light-theme.d.ts +0 -230
  134. package/lib/antd-themes/github-light-theme.d.ts.map +0 -1
  135. package/lib/antd-themes/github-light-theme.js +0 -168
  136. package/lib/antd-themes/github-light-theme.js.map +0 -1
  137. package/lib/antd-themes/index.d.ts +0 -14
  138. package/lib/antd-themes/index.d.ts.map +0 -1
  139. package/lib/antd-themes/slack-dark-theme.d.ts +0 -2
  140. package/lib/antd-themes/slack-dark-theme.d.ts.map +0 -1
  141. package/lib/antd-themes/slack-dark-theme.js +0 -167
  142. package/lib/antd-themes/slack-dark-theme.js.map +0 -1
  143. package/lib/antd-themes/slack-light-theme.d.ts +0 -229
  144. package/lib/antd-themes/slack-light-theme.d.ts.map +0 -1
  145. package/lib/antd-themes/slack-light-theme.js +0 -167
  146. package/lib/antd-themes/slack-light-theme.js.map +0 -1
  147. package/lib/antd-themes/spotify-dark-theme.d.ts +0 -2
  148. package/lib/antd-themes/spotify-dark-theme.d.ts.map +0 -1
  149. package/lib/antd-themes/spotify-dark-theme.js +0 -168
  150. package/lib/antd-themes/spotify-dark-theme.js.map +0 -1
  151. package/lib/antd-themes/spotify-light-theme.d.ts +0 -230
  152. package/lib/antd-themes/spotify-light-theme.d.ts.map +0 -1
  153. package/lib/antd-themes/spotify-light-theme.js +0 -168
  154. package/lib/antd-themes/spotify-light-theme.js.map +0 -1
  155. package/lib/antd-themes/themeRegistry.d.ts +0 -2
  156. package/lib/antd-themes/themeRegistry.d.ts.map +0 -1
  157. package/lib/antd-themes/themeRegistry.js +0 -12
  158. package/lib/antd-themes/themeRegistry.js.map +0 -1
  159. package/lib/utils/getAntdLocale.d.ts +0 -3
  160. package/lib/utils/getAntdLocale.d.ts.map +0 -1
  161. package/lib/utils/getAntdLocale.js +0 -18
  162. package/lib/utils/getAntdLocale.js.map +0 -1
@@ -1,230 +0,0 @@
1
- export declare const githubLightTheme: {
2
- algorithm: typeof import("antd/es/theme/themes/default").default;
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=github-light-theme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"github-light-theme.d.ts","sourceRoot":"","sources":["../../src/antd-themes/github-light-theme.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsK5B,CAAC"}
@@ -1,168 +0,0 @@
1
- import {theme}from'antd';const { defaultAlgorithm, darkAlgorithm } = theme;
2
- const githubLightTheme = {
3
- algorithm: defaultAlgorithm,
4
- token: {
5
- colorPrimary: '#2da44e',
6
- colorBgContainer: '#ffffff',
7
- colorText: '#24292f',
8
- colorTextSecondary: '#57606a',
9
- fontFamily: '-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif',
10
- borderRadius: 6,
11
- colorLink: '#0969da',
12
- colorLinkHover: '#1a7f37',
13
- colorLinkActive: '#1a7f37',
14
- },
15
- components: {
16
- Button: {
17
- // colorPrimary: '#2da44e',
18
- algorithm: true,
19
- borderRadius: 6,
20
- controlHeight: 32,
21
- controlHeightLG: 40,
22
- controlHeightSM: 28,
23
- paddingContentHorizontal: 12,
24
- },
25
- Menu: {
26
- itemBg: 'transparent',
27
- itemColor: '#24292f',
28
- itemHoverColor: '#0969da',
29
- itemSelectedColor: '#0969da',
30
- itemSelectedBg: '#f6f8fa',
31
- itemHoverBg: '#f6f8fa',
32
- activeBarWidth: 0,
33
- activeBarHeight: 0,
34
- activeBarBorderWidth: 2,
35
- colorActiveBarColor: '#0969da',
36
- },
37
- Typography: {
38
- fontSizeHeading1: 32,
39
- fontSizeHeading2: 24,
40
- fontSizeHeading3: 20,
41
- fontSizeHeading4: 16,
42
- fontSizeHeading5: 14,
43
- },
44
- Form: {
45
- labelColor: '#24292f',
46
- colorError: '#cf222e',
47
- colorWarning: '#9a6700',
48
- colorSuccess: '#1a7f37',
49
- },
50
- Input: {
51
- controlHeight: 32,
52
- controlHeightLG: 40,
53
- controlHeightSM: 28,
54
- paddingHorizontal: 12,
55
- borderRadius: 6,
56
- },
57
- },
58
- scopes: [
59
- {
60
- scope: ['Button'],
61
- settings: {
62
- default: {
63
- background: '#fafbfc',
64
- foreground: '#24292e',
65
- border: '#1b1f2326',
66
- },
67
- primary: {
68
- background: '#2ea44f',
69
- foreground: '#ffffff',
70
- border: '#2ea44f',
71
- },
72
- hover: {
73
- background: '#2c974b',
74
- foreground: '#ffffff',
75
- border: '#2c974b',
76
- },
77
- active: {
78
- background: '#2a8f47',
79
- foreground: '#ffffff',
80
- border: '#2a8f47',
81
- },
82
- disabled: {
83
- background: '#fafbfc',
84
- foreground: '#959da5',
85
- border: '#1b1f2326',
86
- },
87
- },
88
- },
89
- {
90
- scope: ['Input'],
91
- settings: {
92
- default: {
93
- background: '#ffffff',
94
- foreground: '#24292e',
95
- border: '#e1e4e8',
96
- },
97
- focus: {
98
- border: '#0366d6',
99
- boxShadow: '0 0 0 3px rgba(3, 102, 214, 0.3)',
100
- },
101
- hover: {
102
- border: '#0366d6',
103
- },
104
- disabled: {
105
- background: '#f6f8fa',
106
- foreground: '#959da5',
107
- border: '#e1e4e8',
108
- },
109
- },
110
- },
111
- {
112
- scope: ['Menu'],
113
- settings: {
114
- background: '#ffffff',
115
- item: {
116
- default: {
117
- background: 'transparent',
118
- foreground: '#24292e',
119
- },
120
- hover: {
121
- background: '#f6f8fa',
122
- foreground: '#24292e',
123
- },
124
- active: {
125
- background: '#f1f8ff',
126
- foreground: '#0366d6',
127
- },
128
- },
129
- },
130
- },
131
- {
132
- scope: ['Table'],
133
- settings: {
134
- header: {
135
- background: '#f6f8fa',
136
- foreground: '#24292e',
137
- },
138
- row: {
139
- odd: {
140
- background: '#ffffff',
141
- },
142
- even: {
143
- background: '#f6f8fa',
144
- },
145
- hover: {
146
- background: '#f1f8ff',
147
- },
148
- },
149
- },
150
- },
151
- {
152
- scope: ['Typography'],
153
- settings: {
154
- heading: {
155
- 1: { fontSize: 32, fontWeight: 600 },
156
- 2: { fontSize: 24, fontWeight: 600 },
157
- 3: { fontSize: 20, fontWeight: 600 },
158
- 4: { fontSize: 16, fontWeight: 600 },
159
- 5: { fontSize: 14, fontWeight: 600 },
160
- },
161
- text: {
162
- default: { fontSize: 14, fontWeight: 400 },
163
- secondary: { fontSize: 14, fontWeight: 400, foreground: '#586069' },
164
- },
165
- },
166
- },
167
- ],
168
- };export{githubLightTheme};//# sourceMappingURL=github-light-theme.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"github-light-theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,14 +0,0 @@
1
- export * from './ThemeProvider';
2
- export * from './airbnb-dark-theme';
3
- export * from './airbnb-light-theme';
4
- export * from './colors';
5
- export * from './default-dark-theme';
6
- export * from './default-light-theme';
7
- export * from './github-dark-theme';
8
- export * from './github-light-theme';
9
- export * from './slack-dark-theme';
10
- export * from './slack-light-theme';
11
- export * from './spotify-dark-theme';
12
- export * from './spotify-light-theme';
13
- export * from './themeRegistry';
14
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/antd-themes/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const slackDarkTheme: any;
2
- //# sourceMappingURL=slack-dark-theme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"slack-dark-theme.d.ts","sourceRoot":"","sources":["../../src/antd-themes/slack-dark-theme.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc,EAAE,GAqK5B,CAAC"}
@@ -1,167 +0,0 @@
1
- import {theme}from'antd';const { defaultAlgorithm, darkAlgorithm } = theme;
2
- const slackDarkTheme = {
3
- algorithm: darkAlgorithm,
4
- token: {
5
- colorPrimary: '#611f69',
6
- colorBgContainer: '#1A1D21',
7
- colorText: '#D1D2D3',
8
- colorTextSecondary: '#ABABAD',
9
- fontFamily: 'Slack-Larsseit, Helvetica Neue, Helvetica, Segoe UI, Tahoma, Arial, sans-serif',
10
- borderRadius: 4,
11
- colorLink: '#1D9BD1',
12
- colorLinkHover: '#36C5F0',
13
- colorLinkActive: '#0B4C6F',
14
- },
15
- components: {
16
- Button: {
17
- // colorPrimary: '#611f69',
18
- algorithm: true,
19
- borderRadius: 4,
20
- controlHeight: 36,
21
- controlHeightLG: 44,
22
- controlHeightSM: 28,
23
- paddingContentHorizontal: 16,
24
- },
25
- Menu: {
26
- itemBg: 'transparent',
27
- itemColor: '#ffffff',
28
- itemHoverColor: '#1264a3',
29
- itemSelectedColor: '#ffffff',
30
- itemSelectedBg: '#1164A3',
31
- itemHoverBg: 'rgba(255, 255, 255, 0.1)',
32
- activeBarWidth: 0,
33
- activeBarHeight: 0,
34
- activeBarBorderWidth: 0,
35
- },
36
- Typography: {
37
- fontSizeHeading1: 40,
38
- fontSizeHeading2: 32,
39
- fontSizeHeading3: 24,
40
- fontSizeHeading4: 18,
41
- fontSizeHeading5: 16,
42
- },
43
- Form: {
44
- labelColor: '#ffffff',
45
- colorError: '#e01e5a',
46
- colorWarning: '#f2c744',
47
- colorSuccess: '#2eb67d',
48
- },
49
- Input: {
50
- controlHeight: 36,
51
- controlHeightLG: 44,
52
- controlHeightSM: 28,
53
- paddingHorizontal: 12,
54
- borderRadius: 4,
55
- },
56
- },
57
- scopes: [
58
- {
59
- scope: ['Button'],
60
- settings: {
61
- default: {
62
- background: '#222529',
63
- foreground: '#D1D2D3',
64
- border: '#565856',
65
- },
66
- primary: {
67
- background: '#007a5a',
68
- foreground: '#ffffff',
69
- border: '#007a5a',
70
- },
71
- hover: {
72
- background: '#148567',
73
- foreground: '#ffffff',
74
- border: '#148567',
75
- },
76
- active: {
77
- background: '#006e51',
78
- foreground: '#ffffff',
79
- border: '#006e51',
80
- },
81
- disabled: {
82
- background: '#1A1D21',
83
- foreground: '#565856',
84
- border: '#2C2D30',
85
- },
86
- },
87
- },
88
- {
89
- scope: ['Input'],
90
- settings: {
91
- default: {
92
- background: '#222529',
93
- foreground: '#D1D2D3',
94
- border: '#565856',
95
- },
96
- focus: {
97
- border: '#1D9BD1',
98
- boxShadow: '0 0 0 1px #1D9BD1, 0 0 0 5px rgba(29, 155, 209, 0.3)',
99
- },
100
- hover: {
101
- border: '#1D9BD1',
102
- },
103
- disabled: {
104
- background: '#1A1D21',
105
- foreground: '#565856',
106
- border: '#2C2D30',
107
- },
108
- },
109
- },
110
- {
111
- scope: ['Menu'],
112
- settings: {
113
- background: '#1A1D21',
114
- item: {
115
- default: {
116
- background: 'transparent',
117
- foreground: '#D1D2D3',
118
- },
119
- hover: {
120
- background: '#27242C',
121
- foreground: '#D1D2D3',
122
- },
123
- active: {
124
- background: '#1164A3',
125
- foreground: '#ffffff',
126
- },
127
- },
128
- },
129
- },
130
- {
131
- scope: ['Table'],
132
- settings: {
133
- header: {
134
- background: '#222529',
135
- foreground: '#D1D2D3',
136
- },
137
- row: {
138
- odd: {
139
- background: '#1A1D21',
140
- },
141
- even: {
142
- background: '#222529',
143
- },
144
- hover: {
145
- background: '#27242C',
146
- },
147
- },
148
- },
149
- },
150
- {
151
- scope: ['Typography'],
152
- settings: {
153
- heading: {
154
- 1: { fontSize: 28, fontWeight: 900 },
155
- 2: { fontSize: 24, fontWeight: 900 },
156
- 3: { fontSize: 20, fontWeight: 900 },
157
- 4: { fontSize: 18, fontWeight: 900 },
158
- 5: { fontSize: 16, fontWeight: 900 },
159
- },
160
- text: {
161
- default: { fontSize: 15, fontWeight: 400 },
162
- secondary: { fontSize: 15, fontWeight: 400, foreground: '#ABABAD' },
163
- },
164
- },
165
- },
166
- ],
167
- };export{slackDarkTheme};//# sourceMappingURL=slack-dark-theme.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"slack-dark-theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}