@admin-layout/client 9.0.2-alpha.4 → 9.0.4-alpha.102

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 (145) 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/components/UpdateSettings/UpdateSettings.server.d.ts +7 -0
  58. package/lib/components/UpdateSettings/UpdateSettings.server.d.ts.map +1 -0
  59. package/lib/components/UpdateSettings/UpdateSettings.server.js +36 -0
  60. package/lib/components/UpdateSettings/UpdateSettings.server.js.map +1 -0
  61. package/lib/config/defaultSettings.d.ts +5 -0
  62. package/lib/config/defaultSettings.d.ts.map +1 -1
  63. package/lib/config/defaultSettings.js +6 -2
  64. package/lib/config/defaultSettings.js.map +1 -1
  65. package/lib/config/env-config.d.ts +2 -2
  66. package/lib/config/env-config.d.ts.map +1 -1
  67. package/lib/config/env-config.js +2 -1
  68. package/lib/config/env-config.js.map +1 -1
  69. package/lib/config/index.d.ts +1 -0
  70. package/lib/config/index.d.ts.map +1 -1
  71. package/lib/constants/constants.js.map +1 -1
  72. package/lib/constants/error.js.map +1 -1
  73. package/lib/constants/languages.d.ts +1 -0
  74. package/lib/constants/languages.d.ts.map +1 -1
  75. package/lib/constants/languages.js +51 -51
  76. package/lib/constants/languages.js.map +1 -1
  77. package/lib/constants/layout.js.map +1 -1
  78. package/lib/graphql/link/error-link.d.ts.map +1 -1
  79. package/lib/graphql/link/error-link.js +3 -3
  80. package/lib/graphql/link/error-link.js.map +1 -1
  81. package/lib/hooks/index.d.ts +2 -0
  82. package/lib/hooks/index.d.ts.map +1 -0
  83. package/lib/hooks/useSettings.d.ts +5 -0
  84. package/lib/hooks/useSettings.d.ts.map +1 -0
  85. package/lib/hooks/useSettings.js +70 -0
  86. package/lib/hooks/useSettings.js.map +1 -0
  87. package/lib/index.d.ts +3 -0
  88. package/lib/index.d.ts.map +1 -1
  89. package/lib/index.js +1 -1
  90. package/lib/index.native.d.ts +1 -0
  91. package/lib/index.native.d.ts.map +1 -1
  92. package/lib/index.native.js +1 -1
  93. package/lib/index.server.d.ts +2 -0
  94. package/lib/index.server.d.ts.map +1 -0
  95. package/lib/index.server.js +1 -0
  96. package/lib/index.server.js.map +1 -0
  97. package/lib/interfaces/default-settings.d.ts +5 -0
  98. package/lib/interfaces/default-settings.d.ts.map +1 -1
  99. package/lib/interfaces/layout/base-menu.d.ts +1 -0
  100. package/lib/interfaces/layout/base-menu.d.ts.map +1 -1
  101. package/lib/interfaces/layout/breadcrum.d.ts +1 -0
  102. package/lib/interfaces/layout/breadcrum.d.ts.map +1 -1
  103. package/lib/interfaces/layout/global-footer.d.ts +1 -0
  104. package/lib/interfaces/layout/global-footer.d.ts.map +1 -1
  105. package/lib/interfaces/layout/global-header.d.ts +1 -0
  106. package/lib/interfaces/layout/global-header.d.ts.map +1 -1
  107. package/lib/interfaces/layout/menu.d.ts +1 -0
  108. package/lib/interfaces/layout/menu.d.ts.map +1 -1
  109. package/lib/interfaces/layout/sider-menu.d.ts +1 -0
  110. package/lib/interfaces/layout/sider-menu.d.ts.map +1 -1
  111. package/lib/redux/actions/error-actions.d.ts +1 -1
  112. package/lib/redux/actions/error-actions.d.ts.map +1 -1
  113. package/lib/redux/actions/error-actions.js.map +1 -1
  114. package/lib/redux/hooks.d.ts +5 -0
  115. package/lib/redux/hooks.d.ts.map +1 -0
  116. package/lib/redux/hooks.js +5 -0
  117. package/lib/redux/hooks.js.map +1 -0
  118. package/lib/redux/index.d.ts +2 -0
  119. package/lib/redux/index.d.ts.map +1 -1
  120. package/lib/redux/reducers/error.d.ts.map +1 -1
  121. package/lib/redux/reducers/error.js.map +1 -1
  122. package/lib/redux/settings.d.ts +14 -9
  123. package/lib/redux/settings.d.ts.map +1 -1
  124. package/lib/redux/settings.js.map +1 -1
  125. package/lib/redux/store.js +9 -0
  126. package/lib/redux/store.js.map +1 -0
  127. package/lib/themes/templates/darkLayoutTheme.js.map +1 -1
  128. package/lib/utils/componentSize.js.map +1 -1
  129. package/lib/utils/generateMenuLink.d.ts +2 -0
  130. package/lib/utils/generateMenuLink.d.ts.map +1 -0
  131. package/lib/utils/generateMenuLink.js +81 -0
  132. package/lib/utils/generateMenuLink.js.map +1 -0
  133. package/lib/utils/getAntdLocale.d.ts +3 -0
  134. package/lib/utils/getAntdLocale.d.ts.map +1 -0
  135. package/lib/utils/getAntdLocale.js +18 -0
  136. package/lib/utils/getAntdLocale.js.map +1 -0
  137. package/lib/utils/index.d.ts +3 -0
  138. package/lib/utils/index.d.ts.map +1 -1
  139. package/lib/utils/matchMenuKeys.d.ts +11 -0
  140. package/lib/utils/matchMenuKeys.d.ts.map +1 -0
  141. package/lib/utils/matchMenuKeys.js +44 -0
  142. package/lib/utils/matchMenuKeys.js.map +1 -0
  143. package/lib/utils/menuUtils.js.map +1 -1
  144. package/lib/utils/seperatedMenus.js.map +1 -1
  145. package/package.json +4 -2
@@ -0,0 +1,199 @@
1
+ export declare const defaultDarkTheme: {
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
+ };
18
+ Menu: {
19
+ itemBg: string;
20
+ };
21
+ Input: {
22
+ activeBorderColor: string;
23
+ };
24
+ };
25
+ scopes: ({
26
+ scope: string[];
27
+ settings: {
28
+ default: {
29
+ background: string;
30
+ foreground: string;
31
+ border: string;
32
+ };
33
+ primary: {
34
+ background: string;
35
+ foreground: string;
36
+ border: string;
37
+ };
38
+ hover: {
39
+ background: string;
40
+ foreground: string;
41
+ border: string;
42
+ };
43
+ active: {
44
+ background: string;
45
+ foreground: string;
46
+ border: string;
47
+ };
48
+ disabled: {
49
+ background: string;
50
+ foreground: string;
51
+ border: string;
52
+ };
53
+ focus?: undefined;
54
+ background?: undefined;
55
+ item?: undefined;
56
+ header?: undefined;
57
+ row?: undefined;
58
+ heading?: undefined;
59
+ text?: undefined;
60
+ };
61
+ } | {
62
+ scope: string[];
63
+ settings: {
64
+ default: {
65
+ background: string;
66
+ foreground: string;
67
+ border: string;
68
+ };
69
+ focus: {
70
+ border: string;
71
+ boxShadow: string;
72
+ };
73
+ hover: {
74
+ border: string;
75
+ background?: undefined;
76
+ foreground?: undefined;
77
+ };
78
+ disabled: {
79
+ background: string;
80
+ foreground: string;
81
+ border: string;
82
+ };
83
+ primary?: undefined;
84
+ active?: 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
+ background: string;
96
+ item: {
97
+ default: {
98
+ background: string;
99
+ foreground: string;
100
+ };
101
+ hover: {
102
+ background: string;
103
+ foreground: string;
104
+ };
105
+ active: {
106
+ background: string;
107
+ foreground: string;
108
+ };
109
+ };
110
+ default?: undefined;
111
+ primary?: undefined;
112
+ hover?: undefined;
113
+ active?: undefined;
114
+ disabled?: undefined;
115
+ focus?: undefined;
116
+ header?: undefined;
117
+ row?: undefined;
118
+ heading?: undefined;
119
+ text?: undefined;
120
+ };
121
+ } | {
122
+ scope: string[];
123
+ settings: {
124
+ header: {
125
+ background: string;
126
+ foreground: string;
127
+ };
128
+ row: {
129
+ odd: {
130
+ background: string;
131
+ };
132
+ even: {
133
+ background: string;
134
+ };
135
+ hover: {
136
+ background: string;
137
+ };
138
+ };
139
+ default?: undefined;
140
+ primary?: undefined;
141
+ hover?: undefined;
142
+ active?: undefined;
143
+ disabled?: undefined;
144
+ focus?: undefined;
145
+ background?: undefined;
146
+ item?: undefined;
147
+ heading?: undefined;
148
+ text?: undefined;
149
+ };
150
+ } | {
151
+ scope: string[];
152
+ settings: {
153
+ heading: {
154
+ 1: {
155
+ fontSize: number;
156
+ fontWeight: number;
157
+ };
158
+ 2: {
159
+ fontSize: number;
160
+ fontWeight: number;
161
+ };
162
+ 3: {
163
+ fontSize: number;
164
+ fontWeight: number;
165
+ };
166
+ 4: {
167
+ fontSize: number;
168
+ fontWeight: number;
169
+ };
170
+ 5: {
171
+ fontSize: number;
172
+ fontWeight: number;
173
+ };
174
+ };
175
+ text: {
176
+ default: {
177
+ fontSize: number;
178
+ fontWeight: number;
179
+ };
180
+ secondary: {
181
+ fontSize: number;
182
+ fontWeight: number;
183
+ foreground: string;
184
+ };
185
+ };
186
+ default?: undefined;
187
+ primary?: undefined;
188
+ hover?: undefined;
189
+ active?: undefined;
190
+ disabled?: undefined;
191
+ focus?: undefined;
192
+ background?: undefined;
193
+ item?: undefined;
194
+ header?: undefined;
195
+ row?: undefined;
196
+ };
197
+ })[];
198
+ };
199
+ //# sourceMappingURL=default-dark-theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-dark-theme.d.ts","sourceRoot":"","sources":["../../src/antd-themes/default-dark-theme.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsI5B,CAAC"}
@@ -0,0 +1,136 @@
1
+ import {theme}from'antd';const { defaultAlgorithm, darkAlgorithm } = theme;
2
+ const defaultDarkTheme = {
3
+ algorithm: darkAlgorithm,
4
+ token: {
5
+ colorPrimary: '#1890ff',
6
+ colorBgContainer: '#141414',
7
+ colorText: '#ffffff',
8
+ colorTextSecondary: '#a6a6a6',
9
+ fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
10
+ borderRadius: 2,
11
+ colorLink: '#1890ff',
12
+ colorLinkHover: '#40a9ff',
13
+ colorLinkActive: '#096dd9',
14
+ },
15
+ components: {
16
+ Button: {
17
+ algorithm: true,
18
+ },
19
+ Menu: {
20
+ itemBg: 'transparent',
21
+ },
22
+ Input: {
23
+ activeBorderColor: '#1890ff',
24
+ },
25
+ },
26
+ scopes: [
27
+ {
28
+ scope: ['Button'],
29
+ settings: {
30
+ default: {
31
+ background: '#141414',
32
+ foreground: '#ffffff',
33
+ border: '#434343',
34
+ },
35
+ primary: {
36
+ background: '#1890ff',
37
+ foreground: '#ffffff',
38
+ border: '#1890ff',
39
+ },
40
+ hover: {
41
+ background: '#40a9ff',
42
+ foreground: '#ffffff',
43
+ border: '#40a9ff',
44
+ },
45
+ active: {
46
+ background: '#096dd9',
47
+ foreground: '#ffffff',
48
+ border: '#096dd9',
49
+ },
50
+ disabled: {
51
+ background: '#303030',
52
+ foreground: '#5f5f5f',
53
+ border: '#434343',
54
+ },
55
+ },
56
+ },
57
+ {
58
+ scope: ['Input'],
59
+ settings: {
60
+ default: {
61
+ background: '#141414',
62
+ foreground: '#ffffff',
63
+ border: '#434343',
64
+ },
65
+ focus: {
66
+ border: '#40a9ff',
67
+ boxShadow: '0 0 0 2px rgba(24, 144, 255, 0.2)',
68
+ },
69
+ hover: {
70
+ border: '#40a9ff',
71
+ },
72
+ disabled: {
73
+ background: '#303030',
74
+ foreground: '#5f5f5f',
75
+ border: '#434343',
76
+ },
77
+ },
78
+ },
79
+ {
80
+ scope: ['Menu'],
81
+ settings: {
82
+ background: '#141414',
83
+ item: {
84
+ default: {
85
+ background: 'transparent',
86
+ foreground: '#ffffff',
87
+ },
88
+ hover: {
89
+ background: '#303030',
90
+ foreground: '#1890ff',
91
+ },
92
+ active: {
93
+ background: '#111d2c',
94
+ foreground: '#1890ff',
95
+ },
96
+ },
97
+ },
98
+ },
99
+ {
100
+ scope: ['Table'],
101
+ settings: {
102
+ header: {
103
+ background: '#1f1f1f',
104
+ foreground: '#ffffff',
105
+ },
106
+ row: {
107
+ odd: {
108
+ background: '#141414',
109
+ },
110
+ even: {
111
+ background: '#1f1f1f',
112
+ },
113
+ hover: {
114
+ background: '#111d2c',
115
+ },
116
+ },
117
+ },
118
+ },
119
+ {
120
+ scope: ['Typography'],
121
+ settings: {
122
+ heading: {
123
+ 1: { fontSize: 38, fontWeight: 600 },
124
+ 2: { fontSize: 30, fontWeight: 600 },
125
+ 3: { fontSize: 24, fontWeight: 600 },
126
+ 4: { fontSize: 20, fontWeight: 600 },
127
+ 5: { fontSize: 16, fontWeight: 600 },
128
+ },
129
+ text: {
130
+ default: { fontSize: 14, fontWeight: 400 },
131
+ secondary: { fontSize: 14, fontWeight: 400, foreground: '#a6a6a6' },
132
+ },
133
+ },
134
+ },
135
+ ],
136
+ };export{defaultDarkTheme};//# sourceMappingURL=default-dark-theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-dark-theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,199 @@
1
+ export declare const defaultLightTheme: {
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
+ };
18
+ Menu: {
19
+ itemBg: string;
20
+ };
21
+ Input: {
22
+ activeBorderColor: string;
23
+ };
24
+ };
25
+ scopes: ({
26
+ scope: string[];
27
+ settings: {
28
+ default: {
29
+ background: string;
30
+ foreground: string;
31
+ border: string;
32
+ };
33
+ primary: {
34
+ background: string;
35
+ foreground: string;
36
+ border: string;
37
+ };
38
+ hover: {
39
+ background: string;
40
+ foreground: string;
41
+ border: string;
42
+ };
43
+ active: {
44
+ background: string;
45
+ foreground: string;
46
+ border: string;
47
+ };
48
+ disabled: {
49
+ background: string;
50
+ foreground: string;
51
+ border: string;
52
+ };
53
+ focus?: undefined;
54
+ background?: undefined;
55
+ item?: undefined;
56
+ header?: undefined;
57
+ row?: undefined;
58
+ heading?: undefined;
59
+ text?: undefined;
60
+ };
61
+ } | {
62
+ scope: string[];
63
+ settings: {
64
+ default: {
65
+ background: string;
66
+ foreground: string;
67
+ border: string;
68
+ };
69
+ focus: {
70
+ border: string;
71
+ boxShadow: string;
72
+ };
73
+ hover: {
74
+ border: string;
75
+ background?: undefined;
76
+ foreground?: undefined;
77
+ };
78
+ disabled: {
79
+ background: string;
80
+ foreground: string;
81
+ border: string;
82
+ };
83
+ primary?: undefined;
84
+ active?: 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
+ background: string;
96
+ item: {
97
+ default: {
98
+ background: string;
99
+ foreground: string;
100
+ };
101
+ hover: {
102
+ background: string;
103
+ foreground: string;
104
+ };
105
+ active: {
106
+ background: string;
107
+ foreground: string;
108
+ };
109
+ };
110
+ default?: undefined;
111
+ primary?: undefined;
112
+ hover?: undefined;
113
+ active?: undefined;
114
+ disabled?: undefined;
115
+ focus?: undefined;
116
+ header?: undefined;
117
+ row?: undefined;
118
+ heading?: undefined;
119
+ text?: undefined;
120
+ };
121
+ } | {
122
+ scope: string[];
123
+ settings: {
124
+ header: {
125
+ background: string;
126
+ foreground: string;
127
+ };
128
+ row: {
129
+ odd: {
130
+ background: string;
131
+ };
132
+ even: {
133
+ background: string;
134
+ };
135
+ hover: {
136
+ background: string;
137
+ };
138
+ };
139
+ default?: undefined;
140
+ primary?: undefined;
141
+ hover?: undefined;
142
+ active?: undefined;
143
+ disabled?: undefined;
144
+ focus?: undefined;
145
+ background?: undefined;
146
+ item?: undefined;
147
+ heading?: undefined;
148
+ text?: undefined;
149
+ };
150
+ } | {
151
+ scope: string[];
152
+ settings: {
153
+ heading: {
154
+ 1: {
155
+ fontSize: number;
156
+ fontWeight: number;
157
+ };
158
+ 2: {
159
+ fontSize: number;
160
+ fontWeight: number;
161
+ };
162
+ 3: {
163
+ fontSize: number;
164
+ fontWeight: number;
165
+ };
166
+ 4: {
167
+ fontSize: number;
168
+ fontWeight: number;
169
+ };
170
+ 5: {
171
+ fontSize: number;
172
+ fontWeight: number;
173
+ };
174
+ };
175
+ text: {
176
+ default: {
177
+ fontSize: number;
178
+ fontWeight: number;
179
+ };
180
+ secondary: {
181
+ fontSize: number;
182
+ fontWeight: number;
183
+ foreground: string;
184
+ };
185
+ };
186
+ default?: undefined;
187
+ primary?: undefined;
188
+ hover?: undefined;
189
+ active?: undefined;
190
+ disabled?: undefined;
191
+ focus?: undefined;
192
+ background?: undefined;
193
+ item?: undefined;
194
+ header?: undefined;
195
+ row?: undefined;
196
+ };
197
+ })[];
198
+ };
199
+ //# sourceMappingURL=default-light-theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-light-theme.d.ts","sourceRoot":"","sources":["../../src/antd-themes/default-light-theme.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsI7B,CAAC"}
@@ -0,0 +1,136 @@
1
+ import {theme}from'antd';const { defaultAlgorithm, darkAlgorithm } = theme;
2
+ const defaultLightTheme = {
3
+ algorithm: defaultAlgorithm,
4
+ token: {
5
+ colorPrimary: '#1890ff',
6
+ colorBgContainer: '#ffffff',
7
+ colorText: '#000000',
8
+ colorTextSecondary: '#666666',
9
+ fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
10
+ borderRadius: 2,
11
+ colorLink: '#1890ff',
12
+ colorLinkHover: '#40a9ff',
13
+ colorLinkActive: '#096dd9',
14
+ },
15
+ components: {
16
+ Button: {
17
+ algorithm: true,
18
+ },
19
+ Menu: {
20
+ itemBg: 'transparent',
21
+ },
22
+ Input: {
23
+ activeBorderColor: '#1890ff',
24
+ },
25
+ },
26
+ scopes: [
27
+ {
28
+ scope: ['Button'],
29
+ settings: {
30
+ default: {
31
+ background: '#ffffff',
32
+ foreground: '#000000',
33
+ border: '#d9d9d9',
34
+ },
35
+ primary: {
36
+ background: '#1890ff',
37
+ foreground: '#ffffff',
38
+ border: '#1890ff',
39
+ },
40
+ hover: {
41
+ background: '#40a9ff',
42
+ foreground: '#ffffff',
43
+ border: '#40a9ff',
44
+ },
45
+ active: {
46
+ background: '#096dd9',
47
+ foreground: '#ffffff',
48
+ border: '#096dd9',
49
+ },
50
+ disabled: {
51
+ background: '#f5f5f5',
52
+ foreground: '#d9d9d9',
53
+ border: '#d9d9d9',
54
+ },
55
+ },
56
+ },
57
+ {
58
+ scope: ['Input'],
59
+ settings: {
60
+ default: {
61
+ background: '#ffffff',
62
+ foreground: '#000000',
63
+ border: '#d9d9d9',
64
+ },
65
+ focus: {
66
+ border: '#40a9ff',
67
+ boxShadow: '0 0 0 2px rgba(24, 144, 255, 0.2)',
68
+ },
69
+ hover: {
70
+ border: '#40a9ff',
71
+ },
72
+ disabled: {
73
+ background: '#f5f5f5',
74
+ foreground: '#d9d9d9',
75
+ border: '#d9d9d9',
76
+ },
77
+ },
78
+ },
79
+ {
80
+ scope: ['Menu'],
81
+ settings: {
82
+ background: '#ffffff',
83
+ item: {
84
+ default: {
85
+ background: 'transparent',
86
+ foreground: '#000000',
87
+ },
88
+ hover: {
89
+ background: '#f5f5f5',
90
+ foreground: '#1890ff',
91
+ },
92
+ active: {
93
+ background: '#e6f7ff',
94
+ foreground: '#1890ff',
95
+ },
96
+ },
97
+ },
98
+ },
99
+ {
100
+ scope: ['Table'],
101
+ settings: {
102
+ header: {
103
+ background: '#fafafa',
104
+ foreground: '#000000',
105
+ },
106
+ row: {
107
+ odd: {
108
+ background: '#ffffff',
109
+ },
110
+ even: {
111
+ background: '#fafafa',
112
+ },
113
+ hover: {
114
+ background: '#e6f7ff',
115
+ },
116
+ },
117
+ },
118
+ },
119
+ {
120
+ scope: ['Typography'],
121
+ settings: {
122
+ heading: {
123
+ 1: { fontSize: 38, fontWeight: 600 },
124
+ 2: { fontSize: 30, fontWeight: 600 },
125
+ 3: { fontSize: 24, fontWeight: 600 },
126
+ 4: { fontSize: 20, fontWeight: 600 },
127
+ 5: { fontSize: 16, fontWeight: 600 },
128
+ },
129
+ text: {
130
+ default: { fontSize: 14, fontWeight: 400 },
131
+ secondary: { fontSize: 14, fontWeight: 400, foreground: '#666666' },
132
+ },
133
+ },
134
+ },
135
+ ],
136
+ };export{defaultLightTheme};//# sourceMappingURL=default-light-theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-light-theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}