@acorex/styles 5.9.0 → 6.0.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/index.js +8 -12
- package/index.scss +4 -4
- package/package.json +1 -1
- package/src/components/_action-sheet.scss +1 -2
- package/src/components/_alert.scss +56 -54
- package/src/components/_avatar.scss +0 -2
- package/src/components/_badge.scss +29 -5
- package/src/components/_breadcrumbs.scss +2 -3
- package/src/components/_button.scss +9 -13
- package/src/components/_calendar.scss +5 -5
- package/src/components/_checkbox.scss +3 -8
- package/src/components/_collapse.scss +0 -1
- package/src/components/_color-palette.scss +5 -5
- package/src/components/_color-picker.scss +1 -1
- package/src/components/_data-table.scss +5 -5
- package/src/components/_datapager.scss +3 -3
- package/src/components/_decoration.scss +10 -10
- package/src/components/_dialog.scss +1 -1
- package/src/components/_drawer.scss +7 -7
- package/src/components/_dropdown.scss +8 -10
- package/src/components/_editor-container.scss +12 -12
- package/src/components/_fieldset.scss +1 -1
- package/src/components/_form.scss +1 -1
- package/src/components/_label.scss +1 -1
- package/src/components/_list.scss +8 -23
- package/src/components/_loading.scss +14 -21
- package/src/components/_menu.scss +3 -4
- package/src/components/_numberbox.scss +1 -3
- package/src/components/_popup.scss +4 -4
- package/src/components/_progress.scss +2 -3
- package/src/components/_radio.scss +1 -1
- package/src/components/_range-slider.scss +2 -2
- package/src/components/_result.scss +0 -1
- package/src/components/_selectbox.scss +2 -2
- package/src/components/_switch.scss +0 -1
- package/src/components/_tabs.scss +3 -3
- package/src/components/_textarea.scss +5 -6
- package/src/components/_toast.scss +1 -1
- package/src/components/_treeview.scss +0 -1
- package/src/components/index.scss +0 -2
- package/src/icons/demo-files/demo.css +152 -152
- package/src/icons/demo-files/demo.js +30 -30
- package/src/icons/demo.html +556 -556
- package/src/icons/fonts/acorex-icon.svg +46 -46
- package/src/icons/style.css +138 -138
- package/src/icons/style.scss +215 -215
- package/src/icons/variables.scss +41 -41
- package/src/utility/_mixins.scss +63 -0
- package/src/components/_picker.scss +0 -179
- package/src/components/_side-menu.scss +0 -42
- package/src/components/_switch copy.scss +0 -185
package/index.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
const plugin = require("tailwindcss/plugin");
|
2
2
|
const withAnimations = require("animated-tailwindcss");
|
3
|
+
|
3
4
|
function withOpacityValue(variable) {
|
4
5
|
return ({ opacityValue }) => {
|
5
6
|
if (opacityValue === undefined) {
|
@@ -11,15 +12,12 @@ function withOpacityValue(variable) {
|
|
11
12
|
|
12
13
|
module.exports = withAnimations({
|
13
14
|
prefix: "ax-",
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
// "./dist/acorex/**/*.{html,ts,scss}",
|
21
|
-
// "./node_modules/@acorex/**/*.{html,ts,js,mjs,scss}",
|
22
|
-
// ],
|
15
|
+
content: [
|
16
|
+
"./src/**/*.{html,ts,scss}",
|
17
|
+
"./projects/**/*.{html,ts,scss}",
|
18
|
+
"./dist/acorex/**/*.{html,ts,scss}",
|
19
|
+
"./node_modules/@acorex/**/*.{html,ts,js,mjs,scss}",
|
20
|
+
],
|
23
21
|
darkMode: "class", // or 'media' or 'class'
|
24
22
|
theme: {
|
25
23
|
extend: {
|
@@ -157,9 +155,7 @@ module.exports = withAnimations({
|
|
157
155
|
},
|
158
156
|
},
|
159
157
|
},
|
160
|
-
|
161
|
-
extend: {},
|
162
|
-
},
|
158
|
+
|
163
159
|
plugins: [
|
164
160
|
plugin(function ({ addUtilities }) {
|
165
161
|
const acorexClasses = {
|
package/index.scss
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
@import "./src/variables/colors";
|
2
2
|
@import "./src/icons/style.scss";
|
3
3
|
|
4
|
-
@
|
5
|
-
@
|
4
|
+
@import "tailwindcss/base";
|
5
|
+
@import "tailwindcss/components";
|
6
|
+
@import "tailwindcss/utilities";
|
7
|
+
|
6
8
|
@import "./src/base/index.scss";
|
7
9
|
@import "./src/components/index.scss";
|
8
10
|
@import "./src/utility/index.scss";
|
9
|
-
@tailwind utilities;
|
10
|
-
|
package/package.json
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-action-sheet,
|
3
2
|
.ax-action-sheet {
|
4
3
|
.ax-action-sheet-container {
|
5
4
|
@apply ax-fixed ax-bottom-0 ax-left-1/2 -ax-translate-x-1/2 ax-z-[9999] ax-w-1/3 ax-rounded-t-default ax-overflow-hidden;
|
@@ -12,7 +11,7 @@
|
|
12
11
|
}
|
13
12
|
.ax-action-sheet-items {
|
14
13
|
@apply ax-flex ax-flex-col ax-pb-3 ax-overflow-x-hidden ax-overflow-y-auto;
|
15
|
-
ax-button {
|
14
|
+
.ax-button {
|
16
15
|
@apply ax-rounded-none ax-w-full ax-text-start ax-justify-start;
|
17
16
|
}
|
18
17
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-alert {
|
2
|
+
.ax-alert {
|
3
3
|
@apply ax-relative ax-w-full ax-flex ax-flex-col ax-bg-light-100 ax-text-light-fore ax-rounded ax-overflow-hidden ax-text-sm;
|
4
4
|
transition: visibility 0s, opacity 0.5s ease-in-out;
|
5
5
|
|
@@ -13,23 +13,23 @@
|
|
13
13
|
opacity: 1;
|
14
14
|
}
|
15
15
|
|
16
|
-
ax-header {
|
16
|
+
.ax-header {
|
17
17
|
@apply ax-flex ax-px-3.5 ax-items-center ax-py-3 ax-bg-transparent ax-border-none ax-justify-start;
|
18
|
-
ax-icon {
|
18
|
+
.ax-icon {
|
19
19
|
@apply ax-text-2xl;
|
20
20
|
}
|
21
21
|
}
|
22
22
|
|
23
23
|
.ax-alert-body {
|
24
24
|
@apply ax-flex-1 ax-p-3.5;
|
25
|
-
ax-icon {
|
25
|
+
.ax-icon {
|
26
26
|
@apply ax-me-3 ax-text-2xl;
|
27
27
|
}
|
28
|
-
ax-button {
|
28
|
+
.ax-button {
|
29
29
|
--ax-base-size: 6px;
|
30
30
|
@apply ax-ring-offset-0 #{!important};
|
31
31
|
}
|
32
|
-
ax-content {
|
32
|
+
.ax-content {
|
33
33
|
@apply ax-flex ax-items-center ax-break-words ax-whitespace-pre-wrap;
|
34
34
|
|
35
35
|
ul {
|
@@ -45,19 +45,19 @@
|
|
45
45
|
}
|
46
46
|
}
|
47
47
|
|
48
|
-
ax-suffix {
|
48
|
+
.ax-suffix {
|
49
49
|
@apply ax-block;
|
50
50
|
|
51
|
-
ax-button {
|
51
|
+
.ax-button {
|
52
52
|
@apply ax-ms-2 #{!important};
|
53
53
|
}
|
54
54
|
}
|
55
55
|
|
56
|
-
ax-footer {
|
56
|
+
.ax-footer {
|
57
57
|
@apply ax-bg-transparent ax-p-0 ax-mt-3;
|
58
58
|
|
59
|
-
ax-suffix {
|
60
|
-
ax-button {
|
59
|
+
.ax-suffix {
|
60
|
+
.ax-button {
|
61
61
|
@apply ax-ms-0 ax-me-2 #{!important};
|
62
62
|
}
|
63
63
|
|
@@ -71,22 +71,25 @@
|
|
71
71
|
animation-duration: 4s;
|
72
72
|
animation-timing-function: linear;
|
73
73
|
animation-name: progressBar;
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
width: 100%;
|
79
|
-
}
|
74
|
+
@keyframes progressBar {
|
75
|
+
0% {
|
76
|
+
width: 100%;
|
77
|
+
}
|
80
78
|
|
81
|
-
|
82
|
-
|
79
|
+
100% {
|
80
|
+
width: 0%;
|
81
|
+
}
|
83
82
|
}
|
84
83
|
}
|
85
84
|
|
85
|
+
// @include button-on-colorful-bg();
|
86
|
+
|
87
|
+
// @include color-look-generator();
|
88
|
+
|
86
89
|
// primary
|
87
90
|
&.ax-primary-default {
|
88
91
|
@apply ax-bg-primary-500 ax-text-primary-fore dark:ax-bg-primary-800 dark:ax-text-primary-100;
|
89
|
-
ax-header {
|
92
|
+
.ax-header {
|
90
93
|
@apply ax-bg-primary-600;
|
91
94
|
}
|
92
95
|
.ax-alert-progress {
|
@@ -95,7 +98,7 @@
|
|
95
98
|
}
|
96
99
|
&.ax-primary-twotone {
|
97
100
|
@apply ax-bg-primary-100 ax-text-primary-500 dark:ax-bg-primary-800 dark:ax-text-primary-100;
|
98
|
-
ax-header {
|
101
|
+
.ax-header {
|
99
102
|
@apply ax-bg-primary-200 dark:ax-bg-primary-600;
|
100
103
|
}
|
101
104
|
.ax-alert-progress {
|
@@ -104,7 +107,7 @@
|
|
104
107
|
}
|
105
108
|
&.ax-primary-outline {
|
106
109
|
@apply ax-bg-transparent ax-text-primary-500 ax-border ax-border-primary-500 dark:ax-border-primary-400 dark:ax-text-primary-300;
|
107
|
-
ax-header {
|
110
|
+
.ax-header {
|
108
111
|
@apply ax-bg-primary-100 dark:ax-bg-transparent;
|
109
112
|
}
|
110
113
|
.ax-alert-progress {
|
@@ -113,7 +116,7 @@
|
|
113
116
|
}
|
114
117
|
&.ax-primary-blank {
|
115
118
|
@apply ax-bg-transparent ax-text-primary-500 dark:ax-text-primary-300 ax-rounded-none;
|
116
|
-
ax-header {
|
119
|
+
.ax-header {
|
117
120
|
@apply ax-border-b ax-border-solid ax-border-primary-200 dark:ax-border-primary-800;
|
118
121
|
}
|
119
122
|
.ax-alert-progress {
|
@@ -124,7 +127,7 @@
|
|
124
127
|
// secondary
|
125
128
|
&.ax-secondary-default {
|
126
129
|
@apply ax-bg-secondary-500 ax-text-secondary-fore dark:ax-bg-secondary-800 dark:ax-text-secondary-100;
|
127
|
-
ax-header {
|
130
|
+
.ax-header {
|
128
131
|
@apply ax-bg-secondary-600;
|
129
132
|
}
|
130
133
|
.ax-alert-progress {
|
@@ -133,7 +136,7 @@
|
|
133
136
|
}
|
134
137
|
&.ax-secondary-twotone {
|
135
138
|
@apply ax-bg-secondary-100 ax-text-secondary-500 dark:ax-bg-secondary-800 dark:ax-text-secondary-100;
|
136
|
-
ax-header {
|
139
|
+
.ax-header {
|
137
140
|
@apply ax-bg-secondary-200 dark:ax-bg-secondary-600;
|
138
141
|
}
|
139
142
|
.ax-alert-progress {
|
@@ -142,7 +145,7 @@
|
|
142
145
|
}
|
143
146
|
&.ax-secondary-outline {
|
144
147
|
@apply ax-bg-transparent ax-text-secondary-500 ax-border ax-border-secondary-500 dark:ax-border-secondary-400 dark:ax-text-secondary-300;
|
145
|
-
ax-header {
|
148
|
+
.ax-header {
|
146
149
|
@apply ax-bg-secondary-100 dark:ax-bg-transparent;
|
147
150
|
}
|
148
151
|
.ax-alert-progress {
|
@@ -151,7 +154,7 @@
|
|
151
154
|
}
|
152
155
|
&.ax-secondary-blank {
|
153
156
|
@apply ax-bg-transparent ax-text-secondary-500 dark:ax-text-secondary-300 ax-rounded-none;
|
154
|
-
ax-header {
|
157
|
+
.ax-header {
|
155
158
|
@apply ax-border-b ax-border-solid ax-border-secondary-200 dark:ax-border-secondary-800;
|
156
159
|
}
|
157
160
|
.ax-alert-progress {
|
@@ -162,7 +165,7 @@
|
|
162
165
|
// success
|
163
166
|
&.ax-success-default {
|
164
167
|
@apply ax-bg-success-500 ax-text-success-fore dark:ax-bg-success-800 dark:ax-text-success-100;
|
165
|
-
ax-header {
|
168
|
+
.ax-header {
|
166
169
|
@apply ax-bg-success-600;
|
167
170
|
}
|
168
171
|
.ax-alert-progress {
|
@@ -171,7 +174,7 @@
|
|
171
174
|
}
|
172
175
|
&.ax-success-twotone {
|
173
176
|
@apply ax-bg-success-100 ax-text-success-500 dark:ax-bg-success-800 dark:ax-text-success-100;
|
174
|
-
ax-header {
|
177
|
+
.ax-header {
|
175
178
|
@apply ax-bg-success-200 dark:ax-bg-success-600;
|
176
179
|
}
|
177
180
|
.ax-alert-progress {
|
@@ -180,7 +183,7 @@
|
|
180
183
|
}
|
181
184
|
&.ax-success-outline {
|
182
185
|
@apply ax-bg-transparent ax-text-success-500 ax-border ax-border-success-500 dark:ax-border-success-400 dark:ax-text-success-300;
|
183
|
-
ax-header {
|
186
|
+
.ax-header {
|
184
187
|
@apply ax-bg-success-100 dark:ax-bg-transparent;
|
185
188
|
}
|
186
189
|
.ax-alert-progress {
|
@@ -189,7 +192,7 @@
|
|
189
192
|
}
|
190
193
|
&.ax-success-blank {
|
191
194
|
@apply ax-bg-transparent ax-text-success-500 dark:ax-text-success-300 ax-rounded-none;
|
192
|
-
ax-header {
|
195
|
+
.ax-header {
|
193
196
|
@apply ax-border-b ax-border-solid ax-border-success-200 dark:ax-border-success-800;
|
194
197
|
}
|
195
198
|
.ax-alert-progress {
|
@@ -200,7 +203,7 @@
|
|
200
203
|
// warning
|
201
204
|
&.ax-warning-default {
|
202
205
|
@apply ax-bg-warning-800 ax-text-warning-fore dark:ax-bg-warning-800;
|
203
|
-
ax-header {
|
206
|
+
.ax-header {
|
204
207
|
@apply ax-bg-warning-600;
|
205
208
|
}
|
206
209
|
.ax-alert-progress {
|
@@ -209,17 +212,16 @@
|
|
209
212
|
}
|
210
213
|
&.ax-warning-twotone {
|
211
214
|
@apply ax-bg-warning-100 ax-text-warning-900 dark:ax-bg-warning-800 dark:ax-text-warning-fore;
|
212
|
-
ax-header {
|
215
|
+
.ax-header {
|
213
216
|
@apply ax-bg-warning-200 dark:ax-bg-warning-600;
|
214
217
|
}
|
215
218
|
.ax-alert-progress {
|
216
219
|
@apply ax-bg-warning-300 dark:ax-bg-warning-500;
|
217
220
|
}
|
218
|
-
|
219
221
|
}
|
220
222
|
&.ax-warning-outline {
|
221
223
|
@apply ax-bg-transparent ax-text-warning-900 ax-border ax-border-warning-500 dark:ax-border-warning-400 dark:ax-text-warning-300;
|
222
|
-
ax-header {
|
224
|
+
.ax-header {
|
223
225
|
@apply ax-bg-warning-100 dark:ax-bg-transparent;
|
224
226
|
}
|
225
227
|
.ax-alert-progress {
|
@@ -228,7 +230,7 @@
|
|
228
230
|
}
|
229
231
|
&.ax-warning-blank {
|
230
232
|
@apply ax-bg-transparent ax-text-warning-500 dark:ax-text-warning-300 ax-rounded-none;
|
231
|
-
ax-header {
|
233
|
+
.ax-header {
|
232
234
|
@apply ax-border-b ax-border-solid ax-border-warning-200 dark:ax-border-warning-800;
|
233
235
|
}
|
234
236
|
.ax-alert-progress {
|
@@ -239,7 +241,7 @@
|
|
239
241
|
// danger
|
240
242
|
&.ax-danger-default {
|
241
243
|
@apply ax-bg-danger-500 ax-text-danger-fore dark:ax-bg-danger-800 dark:ax-text-danger-100;
|
242
|
-
ax-header {
|
244
|
+
.ax-header {
|
243
245
|
@apply ax-bg-danger-600;
|
244
246
|
}
|
245
247
|
.ax-alert-progress {
|
@@ -248,7 +250,7 @@
|
|
248
250
|
}
|
249
251
|
&.ax-danger-twotone {
|
250
252
|
@apply ax-bg-danger-100 ax-text-danger-500 dark:ax-bg-danger-800 dark:ax-text-danger-100;
|
251
|
-
ax-header {
|
253
|
+
.ax-header {
|
252
254
|
@apply ax-bg-danger-200 dark:ax-bg-danger-600;
|
253
255
|
}
|
254
256
|
.ax-alert-progress {
|
@@ -257,7 +259,7 @@
|
|
257
259
|
}
|
258
260
|
&.ax-danger-outline {
|
259
261
|
@apply ax-bg-transparent ax-text-danger-500 ax-border ax-border-danger-500 dark:ax-border-danger-400 dark:ax-text-danger-300;
|
260
|
-
ax-header {
|
262
|
+
.ax-header {
|
261
263
|
@apply ax-bg-danger-100 dark:ax-bg-transparent;
|
262
264
|
}
|
263
265
|
.ax-alert-progress {
|
@@ -266,7 +268,7 @@
|
|
266
268
|
}
|
267
269
|
&.ax-danger-blank {
|
268
270
|
@apply ax-bg-transparent ax-text-danger-500 dark:ax-text-danger-300 ax-rounded-none;
|
269
|
-
ax-header {
|
271
|
+
.ax-header {
|
270
272
|
@apply ax-border-b ax-border-solid ax-border-danger-200 dark:ax-border-danger-800;
|
271
273
|
}
|
272
274
|
.ax-alert-progress {
|
@@ -277,7 +279,7 @@
|
|
277
279
|
// info
|
278
280
|
&.ax-info-default {
|
279
281
|
@apply ax-bg-info-500 ax-text-info-fore dark:ax-bg-info-800 dark:ax-text-info-100;
|
280
|
-
ax-header {
|
282
|
+
.ax-header {
|
281
283
|
@apply ax-bg-info-600;
|
282
284
|
}
|
283
285
|
.ax-alert-progress {
|
@@ -286,7 +288,7 @@
|
|
286
288
|
}
|
287
289
|
&.ax-info-twotone {
|
288
290
|
@apply ax-bg-info-100 ax-text-info-500 dark:ax-bg-info-800 dark:ax-text-info-100;
|
289
|
-
ax-header {
|
291
|
+
.ax-header {
|
290
292
|
@apply ax-bg-info-200 dark:ax-bg-info-600;
|
291
293
|
}
|
292
294
|
.ax-alert-progress {
|
@@ -295,7 +297,7 @@
|
|
295
297
|
}
|
296
298
|
&.ax-info-outline {
|
297
299
|
@apply ax-bg-transparent ax-text-info-500 ax-border ax-border-info-500 dark:ax-border-info-400 dark:ax-text-info-300;
|
298
|
-
ax-header {
|
300
|
+
.ax-header {
|
299
301
|
@apply ax-bg-info-100 dark:ax-bg-transparent;
|
300
302
|
}
|
301
303
|
.ax-alert-progress {
|
@@ -304,7 +306,7 @@
|
|
304
306
|
}
|
305
307
|
&.ax-info-blank {
|
306
308
|
@apply ax-bg-transparent ax-text-info-500 dark:ax-text-info-300 ax-rounded-none;
|
307
|
-
ax-header {
|
309
|
+
.ax-header {
|
308
310
|
@apply ax-border-b ax-border-solid ax-border-info-200 dark:ax-border-info-800;
|
309
311
|
}
|
310
312
|
.ax-alert-progress {
|
@@ -315,8 +317,8 @@
|
|
315
317
|
// light
|
316
318
|
&.ax-light-default {
|
317
319
|
@apply ax-bg-light-100 dark:ax-bg-light-800 ax-text-light-fore dark:ax-text-light-100 ax-border ax-border-light-200 dark:ax-border-light-900;
|
318
|
-
ax-header {
|
319
|
-
@apply ax-bg-light-200 dark:ax-bg-light-600
|
320
|
+
.ax-header {
|
321
|
+
@apply ax-bg-light-200 dark:ax-bg-light-600;
|
320
322
|
}
|
321
323
|
.ax-alert-progress {
|
322
324
|
@apply ax-bg-light-300 dark:ax-bg-light-600;
|
@@ -324,8 +326,8 @@
|
|
324
326
|
}
|
325
327
|
&.ax-light-twotone {
|
326
328
|
@apply ax-bg-light-100 ax-text-light-500 dark:ax-bg-light-800 dark:ax-text-light-100;
|
327
|
-
ax-header {
|
328
|
-
@apply ax-bg-light-200 dark:ax-bg-light-600
|
329
|
+
.ax-header {
|
330
|
+
@apply ax-bg-light-200 dark:ax-bg-light-600;
|
329
331
|
}
|
330
332
|
.ax-alert-progress {
|
331
333
|
@apply ax-bg-light-300 dark:ax-bg-light-600;
|
@@ -333,7 +335,7 @@
|
|
333
335
|
}
|
334
336
|
&.ax-light-outline {
|
335
337
|
@apply ax-bg-transparent ax-text-light-500 ax-border ax-border-light-200 dark:ax-border-light-400 dark:ax-text-light-300;
|
336
|
-
ax-header {
|
338
|
+
.ax-header {
|
337
339
|
@apply ax-bg-light-100;
|
338
340
|
}
|
339
341
|
.ax-alert-progress {
|
@@ -342,7 +344,7 @@
|
|
342
344
|
}
|
343
345
|
&.ax-light-blank {
|
344
346
|
@apply ax-bg-transparent ax-text-light-500 dark:ax-text-light-300;
|
345
|
-
ax-header {
|
347
|
+
.ax-header {
|
346
348
|
@apply ax-border-b ax-border-solid ax-border-light-200 dark:ax-border-light-500;
|
347
349
|
}
|
348
350
|
.ax-alert-progress {
|
@@ -352,7 +354,7 @@
|
|
352
354
|
// dark
|
353
355
|
&.ax-dark-default {
|
354
356
|
@apply ax-bg-dark-500 ax-text-dark-fore dark:ax-bg-dark-800 dark:ax-text-dark-100;
|
355
|
-
ax-header {
|
357
|
+
.ax-header {
|
356
358
|
@apply ax-bg-dark-600;
|
357
359
|
}
|
358
360
|
.ax-alert-progress {
|
@@ -361,7 +363,7 @@
|
|
361
363
|
}
|
362
364
|
&.ax-dark-twotone {
|
363
365
|
@apply ax-bg-dark-100 ax-text-dark-500 dark:ax-bg-dark-800 dark:ax-text-dark-100;
|
364
|
-
ax-header {
|
366
|
+
.ax-header {
|
365
367
|
@apply ax-bg-dark-200;
|
366
368
|
}
|
367
369
|
.ax-alert-progress {
|
@@ -370,7 +372,7 @@
|
|
370
372
|
}
|
371
373
|
&.ax-dark-outline {
|
372
374
|
@apply ax-bg-transparent ax-text-dark-500 ax-border ax-border-dark-100 dark:ax-border-dark-400 dark:ax-text-dark-300;
|
373
|
-
ax-header {
|
375
|
+
.ax-header {
|
374
376
|
@apply ax-bg-dark-50;
|
375
377
|
}
|
376
378
|
.ax-alert-progress {
|
@@ -379,7 +381,7 @@
|
|
379
381
|
}
|
380
382
|
&.ax-dark-blank {
|
381
383
|
@apply ax-bg-transparent ax-text-dark-500 dark:ax-text-dark-100;
|
382
|
-
ax-header {
|
384
|
+
.ax-header {
|
383
385
|
@apply ax-border-b ax-border-solid ax-border-dark-200 dark:ax-border-dark-200;
|
384
386
|
}
|
385
387
|
.ax-alert-progress {
|
@@ -1,12 +1,10 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-avatar-group,
|
3
2
|
.ax-avatar-group {
|
4
3
|
@apply ax-flex;
|
5
4
|
ax-avatar {
|
6
5
|
@apply ax-border-2 ax-border-white -ax-m-1 dark:ax-border-dark-500;
|
7
6
|
}
|
8
7
|
}
|
9
|
-
ax-avatar,
|
10
8
|
.ax-avatar {
|
11
9
|
@apply ax-relative ax-flex ax-items-center ax-justify-center ax-w-16 ax-h-16;
|
12
10
|
ax-badge {
|
@@ -3,15 +3,15 @@
|
|
3
3
|
@apply ax-rounded ax-align-middle ax-flex ax-justify-center ax-items-center ax-max-w-max ax-text-sm ax-px-2;
|
4
4
|
min-width: calc((var(--ax-base-size) * var(--ax-base-ratio)) - 15px);
|
5
5
|
height: calc((var(--ax-base-size) * var(--ax-base-ratio)) - 15px);
|
6
|
-
ax-prefix {
|
6
|
+
.ax-prefix {
|
7
7
|
@apply ax-me-1.5;
|
8
8
|
}
|
9
|
-
ax-suffix {
|
9
|
+
.ax-suffix {
|
10
10
|
@apply ax-ms-1.5;
|
11
11
|
}
|
12
12
|
&.ax-badge-icon {
|
13
|
-
ax-prefix,
|
14
|
-
ax-suffix {
|
13
|
+
.ax-prefix,
|
14
|
+
.ax-suffix {
|
15
15
|
@apply ax-m-0;
|
16
16
|
}
|
17
17
|
}
|
@@ -160,6 +160,30 @@
|
|
160
160
|
@apply ax-text-light-fore dark:ax-border-light-600 dark:ax-text-light-100;
|
161
161
|
}
|
162
162
|
|
163
|
-
|
163
|
+
// @include color-look-generator();
|
164
|
+
// &.ax-primary-default {
|
165
|
+
// @apply ax-bg-primary-50 ax-text-primary-500 dark:ax-bg-primary-500 dark:ax-text-primary-fore;
|
166
|
+
// }
|
167
|
+
// &.ax-secondary-default {
|
168
|
+
// @apply ax-bg-secondary-50 ax-text-secondary-500 dark:ax-bg-secondary-500 dark:ax-text-secondary-fore;
|
169
|
+
// }
|
170
|
+
// &.ax-success-default {
|
171
|
+
// @apply ax-bg-success-50 ax-text-success-500 dark:ax-bg-success-500 dark:ax-text-success-fore;
|
172
|
+
// }
|
173
|
+
// &.ax-warning-default {
|
174
|
+
// @apply ax-bg-warning-50 ax-text-warning-700 dark:ax-bg-warning-500 dark:ax-text-warning-fore;
|
175
|
+
// }
|
176
|
+
// &.ax-danger-default {
|
177
|
+
// @apply ax-bg-danger-50 ax-text-danger-500 dark:ax-bg-danger-500 dark:ax-text-danger-fore;
|
178
|
+
// }
|
179
|
+
// &.ax-info-default {
|
180
|
+
// @apply ax-bg-info-50 ax-text-info-500 dark:ax-bg-info-500 dark:ax-text-info-fore;
|
181
|
+
// }
|
182
|
+
// &.ax-light-default {
|
183
|
+
// @apply ax-bg-light-200 ax-text-light-700;
|
184
|
+
// }
|
185
|
+
// &.ax-dark-default {
|
186
|
+
// @apply ax-bg-dark-500 ax-text-dark-fore dark:ax-bg-dark-500 dark:ax-text-dark-50;
|
187
|
+
// }
|
164
188
|
}
|
165
189
|
}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-breadcrumbs,
|
3
2
|
.ax-breadcrumbs {
|
4
3
|
@apply ax-inline-flex ax-items-center ax-space-x-1 md:ax-space-x-3;
|
5
4
|
ax-breadcrumbs-item,
|
@@ -8,10 +7,10 @@
|
|
8
7
|
.ax-breadcrumbs-item-text {
|
9
8
|
@apply ax-pe-2 hover:ax-text-light-900 dark:hover:ax-text-white;
|
10
9
|
}
|
11
|
-
ax-prefix {
|
10
|
+
.ax-prefix {
|
12
11
|
@apply ax-pe-2;
|
13
12
|
}
|
14
|
-
ax-suffix {
|
13
|
+
.ax-suffix {
|
15
14
|
@apply ax-ps-2;
|
16
15
|
}
|
17
16
|
.ax-breadcrumb-divider {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-button {
|
2
|
+
.ax-button {
|
3
3
|
@apply ax-text-sm ax-relative ax-inline-flex ax-items-center ax-justify-center ax-rounded-default ax-select-none ax-font-medium ax-whitespace-nowrap ax-overflow-hidden ax-text-ellipsis ax-transition-all;
|
4
4
|
height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
|
5
5
|
line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2) !important;
|
@@ -15,11 +15,11 @@
|
|
15
15
|
&:focus {
|
16
16
|
@apply ax-outline-none;
|
17
17
|
}
|
18
|
-
ax-prefix {
|
18
|
+
.ax-prefix {
|
19
19
|
@apply ax-flex ax-flex-row ax-pe-2;
|
20
20
|
}
|
21
21
|
|
22
|
-
ax-suffix {
|
22
|
+
.ax-suffix {
|
23
23
|
@apply ax-flex ax-flex-row ax-ps-2;
|
24
24
|
}
|
25
25
|
&[class*="-outline"] {
|
@@ -29,28 +29,24 @@
|
|
29
29
|
@apply ax-text-xs;
|
30
30
|
}
|
31
31
|
|
32
|
-
&.ax-rounded {
|
33
|
-
@apply ax-rounded-full;
|
34
|
-
}
|
35
|
-
|
36
32
|
&.ax-button-icon {
|
37
33
|
width: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
|
38
34
|
& > button {
|
39
35
|
@apply ax-px-3;
|
40
36
|
}
|
41
37
|
|
42
|
-
ax-prefix,
|
43
|
-
ax-suffix {
|
38
|
+
.ax-prefix,
|
39
|
+
.ax-suffix {
|
44
40
|
@apply ax-p-0;
|
45
41
|
}
|
46
42
|
|
47
|
-
ax-icon,
|
43
|
+
.ax-icon,
|
48
44
|
i {
|
49
45
|
@apply ax-text-base;
|
50
46
|
}
|
51
47
|
}
|
52
48
|
|
53
|
-
ax-loading-spinner {
|
49
|
+
.ax-loading-spinner {
|
54
50
|
@apply ax-flex ax-pe-1;
|
55
51
|
|
56
52
|
svg {
|
@@ -884,10 +880,10 @@
|
|
884
880
|
}
|
885
881
|
}
|
886
882
|
|
887
|
-
ax-button-group {
|
883
|
+
.ax-button-group {
|
888
884
|
@apply ax-flex;
|
889
885
|
|
890
|
-
ax-button {
|
886
|
+
.ax-button {
|
891
887
|
@apply ax-rounded-none;
|
892
888
|
|
893
889
|
&[class*="-link"] {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-calendar {
|
2
|
+
.ax-calendar {
|
3
3
|
@apply ax-w-80 ax-block ax-border ax-border-solid ax-border-light-300 ax-rounded ax-bg-white ax-select-none dark:ax-bg-white/[0.03] dark:ax-border-transparent;
|
4
4
|
@include screen(mobile) {
|
5
5
|
@apply ax-w-full;
|
@@ -8,12 +8,12 @@
|
|
8
8
|
.ax-calendar-header {
|
9
9
|
.ax-calendar-header-buttons {
|
10
10
|
.ax-prev-button {
|
11
|
-
ax-icon {
|
11
|
+
.ax-icon {
|
12
12
|
@apply ax-rotate-180;
|
13
13
|
}
|
14
14
|
}
|
15
15
|
.ax-next-button {
|
16
|
-
ax-icon {
|
16
|
+
.ax-icon {
|
17
17
|
@apply ax-rotate-0;
|
18
18
|
}
|
19
19
|
}
|
@@ -31,12 +31,12 @@
|
|
31
31
|
.ax-calendar-header-buttons {
|
32
32
|
@apply ax-flex;
|
33
33
|
.ax-prev-button {
|
34
|
-
ax-icon {
|
34
|
+
.ax-icon {
|
35
35
|
@apply ax-rotate-0;
|
36
36
|
}
|
37
37
|
}
|
38
38
|
.ax-next-button {
|
39
|
-
ax-icon {
|
39
|
+
.ax-icon {
|
40
40
|
@apply ax-rotate-180;
|
41
41
|
}
|
42
42
|
}
|
@@ -1,8 +1,5 @@
|
|
1
1
|
@layer components {
|
2
|
-
|
3
|
-
.ax-check-box,
|
4
|
-
ax-check-box {
|
5
|
-
|
2
|
+
.ax-check-box {
|
6
3
|
.ax-state-error {
|
7
4
|
@apply ax-text-danger-500;
|
8
5
|
|
@@ -11,14 +8,13 @@
|
|
11
8
|
}
|
12
9
|
}
|
13
10
|
.ax-state-success {
|
14
|
-
@apply
|
11
|
+
@apply ax-text-success-600;
|
15
12
|
|
16
13
|
input[type="checkbox"] {
|
17
14
|
@apply ax-border-success-600;
|
18
15
|
}
|
19
16
|
}
|
20
17
|
|
21
|
-
|
22
18
|
.ax-wrapper {
|
23
19
|
&.ax-state-disabled {
|
24
20
|
@apply ax-cursor-not-allowed ax-opacity-80;
|
@@ -57,7 +53,6 @@
|
|
57
53
|
&.ax-state-disabled {
|
58
54
|
@apply ax-opacity-60;
|
59
55
|
}
|
60
|
-
|
61
56
|
}
|
62
57
|
}
|
63
|
-
}
|
58
|
+
}
|