@acorex/styles 5.8.0 → 6.0.1
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 +191 -0
- package/index.scss +0 -1
- package/package.json +17 -10
- package/src/base/index.scss +3 -1
- package/src/components/_action-sheet.scss +2 -3
- package/src/components/_alert.scss +53 -55
- package/src/components/_avatar.scss +1 -3
- package/src/components/_badge.scss +150 -6
- package/src/components/_breadcrumbs.scss +14 -11
- package/src/components/_button.scss +11 -15
- package/src/components/_calendar.scss +5 -5
- package/src/components/_checkbox.scss +3 -8
- package/src/components/_collapse.scss +5 -12
- package/src/components/_color-palette.scss +9 -25
- package/src/components/_color-picker.scss +2 -2
- package/src/components/_data-table.scss +6 -6
- package/src/components/_datapager.scss +3 -3
- package/src/components/_decoration.scss +13 -13
- 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 +13 -13
- package/src/components/_fieldset.scss +2 -2
- package/src/components/_form.scss +1 -1
- package/src/components/_input.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 +4 -5
- package/src/components/_numberbox.scss +1 -3
- package/src/components/_popup.scss +1 -5
- package/src/components/_progress.scss +11 -13
- package/src/components/_radio.scss +1 -1
- package/src/components/_range-slider.scss +162 -31
- package/src/components/_result.scss +2 -3
- package/src/components/_selectbox.scss +2 -2
- package/src/components/_selection-list.scss +1 -1
- package/src/components/_switch.scss +0 -1
- package/src/components/_table.scss +5 -5
- 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/utility/_mixins.scss +6 -6
- package/src/utility/index.scss +3 -3
- 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
ADDED
@@ -0,0 +1,191 @@
|
|
1
|
+
const plugin = require("tailwindcss/plugin");
|
2
|
+
const withAnimations = require("animated-tailwindcss");
|
3
|
+
|
4
|
+
function withOpacityValue(variable) {
|
5
|
+
return ({ opacityValue }) => {
|
6
|
+
if (opacityValue === undefined) {
|
7
|
+
return `rgb(var(${variable}))`;
|
8
|
+
}
|
9
|
+
return `rgb(var(${variable}) / ${opacityValue})`;
|
10
|
+
};
|
11
|
+
}
|
12
|
+
|
13
|
+
module.exports = withAnimations({
|
14
|
+
prefix: "ax-",
|
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
|
+
],
|
21
|
+
darkMode: "class", // or 'media' or 'class'
|
22
|
+
theme: {
|
23
|
+
extend: {
|
24
|
+
colors: {
|
25
|
+
black: withOpacityValue("--ax-color-black"),
|
26
|
+
white: withOpacityValue("--ax-color-white"),
|
27
|
+
"default-background": withOpacityValue("--ax-color-default-background"),
|
28
|
+
"default-color": withOpacityValue("--ax-color-default-color"),
|
29
|
+
primary: {
|
30
|
+
fore: withOpacityValue("--ax-color-primary-fore"),
|
31
|
+
50: withOpacityValue("--ax-color-primary-50"),
|
32
|
+
100: withOpacityValue("--ax-color-primary-100"),
|
33
|
+
200: withOpacityValue("--ax-color-primary-200"),
|
34
|
+
300: withOpacityValue("--ax-color-primary-300"),
|
35
|
+
400: withOpacityValue("--ax-color-primary-400"),
|
36
|
+
500: withOpacityValue("--ax-color-primary-500"),
|
37
|
+
600: withOpacityValue("--ax-color-primary-600"),
|
38
|
+
700: withOpacityValue("--ax-color-primary-700"),
|
39
|
+
800: withOpacityValue("--ax-color-primary-800"),
|
40
|
+
900: withOpacityValue("--ax-color-primary-900"),
|
41
|
+
},
|
42
|
+
secondary: {
|
43
|
+
fore: withOpacityValue("--ax-color-secondary-fore"),
|
44
|
+
50: withOpacityValue("--ax-color-secondary-50"),
|
45
|
+
100: withOpacityValue("--ax-color-secondary-100"),
|
46
|
+
200: withOpacityValue("--ax-color-secondary-200"),
|
47
|
+
300: withOpacityValue("--ax-color-secondary-300"),
|
48
|
+
400: withOpacityValue("--ax-color-secondary-400"),
|
49
|
+
500: withOpacityValue("--ax-color-secondary-500"),
|
50
|
+
600: withOpacityValue("--ax-color-secondary-600"),
|
51
|
+
700: withOpacityValue("--ax-color-secondary-700"),
|
52
|
+
800: withOpacityValue("--ax-color-secondary-800"),
|
53
|
+
900: withOpacityValue("--ax-color-secondary-900"),
|
54
|
+
},
|
55
|
+
success: {
|
56
|
+
fore: withOpacityValue("--ax-color-success-fore"),
|
57
|
+
50: withOpacityValue("--ax-color-success-50"),
|
58
|
+
100: withOpacityValue("--ax-color-success-100"),
|
59
|
+
200: withOpacityValue("--ax-color-success-200"),
|
60
|
+
300: withOpacityValue("--ax-color-success-300"),
|
61
|
+
400: withOpacityValue("--ax-color-success-400"),
|
62
|
+
500: withOpacityValue("--ax-color-success-500"),
|
63
|
+
600: withOpacityValue("--ax-color-success-600"),
|
64
|
+
700: withOpacityValue("--ax-color-success-700"),
|
65
|
+
800: withOpacityValue("--ax-color-success-800"),
|
66
|
+
900: withOpacityValue("--ax-color-success-900"),
|
67
|
+
},
|
68
|
+
danger: {
|
69
|
+
fore: withOpacityValue("--ax-color-danger-fore"),
|
70
|
+
50: withOpacityValue("--ax-color-danger-50"),
|
71
|
+
100: withOpacityValue("--ax-color-danger-100"),
|
72
|
+
200: withOpacityValue("--ax-color-danger-200"),
|
73
|
+
300: withOpacityValue("--ax-color-danger-300"),
|
74
|
+
400: withOpacityValue("--ax-color-danger-400"),
|
75
|
+
500: withOpacityValue("--ax-color-danger-500"),
|
76
|
+
600: withOpacityValue("--ax-color-danger-600"),
|
77
|
+
700: withOpacityValue("--ax-color-danger-700"),
|
78
|
+
800: withOpacityValue("--ax-color-danger-800"),
|
79
|
+
900: withOpacityValue("--ax-color-danger-900"),
|
80
|
+
},
|
81
|
+
warning: {
|
82
|
+
fore: withOpacityValue("--ax-color-warning-fore"),
|
83
|
+
50: withOpacityValue("--ax-color-warning-50"),
|
84
|
+
100: withOpacityValue("--ax-color-warning-100"),
|
85
|
+
200: withOpacityValue("--ax-color-warning-200"),
|
86
|
+
300: withOpacityValue("--ax-color-warning-300"),
|
87
|
+
400: withOpacityValue("--ax-color-warning-400"),
|
88
|
+
500: withOpacityValue("--ax-color-warning-500"),
|
89
|
+
600: withOpacityValue("--ax-color-warning-600"),
|
90
|
+
700: withOpacityValue("--ax-color-warning-700"),
|
91
|
+
800: withOpacityValue("--ax-color-warning-800"),
|
92
|
+
900: withOpacityValue("--ax-color-warning-900"),
|
93
|
+
},
|
94
|
+
info: {
|
95
|
+
fore: withOpacityValue("--ax-color-info-fore"),
|
96
|
+
50: withOpacityValue("--ax-color-info-50"),
|
97
|
+
100: withOpacityValue("--ax-color-info-100"),
|
98
|
+
200: withOpacityValue("--ax-color-info-200"),
|
99
|
+
300: withOpacityValue("--ax-color-info-300"),
|
100
|
+
400: withOpacityValue("--ax-color-info-400"),
|
101
|
+
500: withOpacityValue("--ax-color-info-500"),
|
102
|
+
600: withOpacityValue("--ax-color-info-600"),
|
103
|
+
700: withOpacityValue("--ax-color-info-700"),
|
104
|
+
800: withOpacityValue("--ax-color-info-800"),
|
105
|
+
900: withOpacityValue("--ax-color-info-900"),
|
106
|
+
},
|
107
|
+
light: {
|
108
|
+
fore: withOpacityValue("--ax-color-light-fore"),
|
109
|
+
50: withOpacityValue("--ax-color-light-50"),
|
110
|
+
100: withOpacityValue("--ax-color-light-100"),
|
111
|
+
200: withOpacityValue("--ax-color-light-200"),
|
112
|
+
300: withOpacityValue("--ax-color-light-300"),
|
113
|
+
400: withOpacityValue("--ax-color-light-400"),
|
114
|
+
500: withOpacityValue("--ax-color-light-500"),
|
115
|
+
600: withOpacityValue("--ax-color-light-600"),
|
116
|
+
700: withOpacityValue("--ax-color-light-700"),
|
117
|
+
800: withOpacityValue("--ax-color-light-800"),
|
118
|
+
900: withOpacityValue("--ax-color-light-900"),
|
119
|
+
},
|
120
|
+
dark: {
|
121
|
+
fore: withOpacityValue("--ax-color-dark-fore"),
|
122
|
+
50: withOpacityValue("--ax-color-dark-50"),
|
123
|
+
100: withOpacityValue("--ax-color-dark-100"),
|
124
|
+
200: withOpacityValue("--ax-color-dark-200"),
|
125
|
+
300: withOpacityValue("--ax-color-dark-300"),
|
126
|
+
400: withOpacityValue("--ax-color-dark-400"),
|
127
|
+
500: withOpacityValue("--ax-color-dark-500"),
|
128
|
+
600: withOpacityValue("--ax-color-dark-600"),
|
129
|
+
700: withOpacityValue("--ax-color-dark-700"),
|
130
|
+
800: withOpacityValue("--ax-color-dark-800"),
|
131
|
+
900: withOpacityValue("--ax-color-dark-900"),
|
132
|
+
},
|
133
|
+
},
|
134
|
+
width: {
|
135
|
+
base: "calc((var(--ax-base-size) * var(--ax-base-ratio)))",
|
136
|
+
},
|
137
|
+
minWidth: {
|
138
|
+
base: "calc((var(--ax-base-size) * var(--ax-base-ratio)))",
|
139
|
+
},
|
140
|
+
maxWidth: {
|
141
|
+
"8xl": "90rem",
|
142
|
+
base: "calc((var(--ax-base-size) * var(--ax-base-ratio)))",
|
143
|
+
},
|
144
|
+
height: {
|
145
|
+
base: "calc((var(--ax-base-size) * var(--ax-base-ratio)))",
|
146
|
+
},
|
147
|
+
minHeight: {
|
148
|
+
base: "calc((var(--ax-base-size) * var(--ax-base-ratio)))",
|
149
|
+
},
|
150
|
+
maxHeight: {
|
151
|
+
base: "calc((var(--ax-base-size) * var(--ax-base-ratio)))",
|
152
|
+
},
|
153
|
+
borderRadius: {
|
154
|
+
default: "var(--ax-border-rounded-default)",
|
155
|
+
},
|
156
|
+
},
|
157
|
+
},
|
158
|
+
|
159
|
+
plugins: [
|
160
|
+
plugin(function ({ addUtilities }) {
|
161
|
+
const acorexClasses = {
|
162
|
+
".animate-fast": {
|
163
|
+
animationDuration: "800ms",
|
164
|
+
},
|
165
|
+
".animate-faster": {
|
166
|
+
animationDuration: "500ms",
|
167
|
+
},
|
168
|
+
".bg-default": {
|
169
|
+
backgroundColor:
|
170
|
+
"rgb(var(--ax-color-default-background) / var(--tw-bg-opacity))",
|
171
|
+
},
|
172
|
+
".text-default": {
|
173
|
+
backgroundColor:
|
174
|
+
"rgb(var(--ax-color-default-color) / var(--tw-text-opacity))",
|
175
|
+
},
|
176
|
+
".rtl": {
|
177
|
+
direction: "rtl",
|
178
|
+
},
|
179
|
+
".ltr": {
|
180
|
+
direction: "ltr",
|
181
|
+
},
|
182
|
+
};
|
183
|
+
addUtilities(acorexClasses, ["responsive", "hover", "focus"]);
|
184
|
+
}),
|
185
|
+
require("postcss-import"),
|
186
|
+
require("tailwindcss/nesting")(require("postcss-nesting")),
|
187
|
+
require("tailwindcss"),
|
188
|
+
require("autoprefixer"),
|
189
|
+
require("tailwind-rtl-utilities"),
|
190
|
+
],
|
191
|
+
});
|
package/index.scss
CHANGED
package/package.json
CHANGED
@@ -1,11 +1,18 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
"
|
10
|
-
|
11
|
-
|
2
|
+
"name": "@acorex/styles",
|
3
|
+
"version": "6.0.1",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"author": "",
|
7
|
+
"license": "ISC",
|
8
|
+
"scripts": {
|
9
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
10
|
+
},
|
11
|
+
"peerDependencies": {
|
12
|
+
"animated-tailwindcss": "^3.3.0",
|
13
|
+
"autoprefixer": "^10.4.7",
|
14
|
+
"postcss": "^8.4.14",
|
15
|
+
"tailwind-rtl-utilities": "^3.0.5",
|
16
|
+
"tailwindcss": "^3.1.3"
|
17
|
+
}
|
18
|
+
}
|
package/src/base/index.scss
CHANGED
@@ -6,11 +6,13 @@
|
|
6
6
|
}
|
7
7
|
|
8
8
|
:root {
|
9
|
-
--ax-
|
9
|
+
--ax-size: 8px;
|
10
|
+
--ax-base-size: var(--ax-size);
|
10
11
|
--ax-base-ratio: 6;
|
11
12
|
--ax-color-default-background: 255, 255, 255;
|
12
13
|
--ax-color-default-color: 107, 114, 128;
|
13
14
|
--ax-overlay-full-width: 93;
|
15
|
+
--ax-border-rounded-default: 6px;
|
14
16
|
@include colors($theme-colors);
|
15
17
|
}
|
16
18
|
|
@@ -1,8 +1,7 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-action-sheet,
|
3
2
|
.ax-action-sheet {
|
4
3
|
.ax-action-sheet-container {
|
5
|
-
@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-
|
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;
|
6
5
|
|
7
6
|
@include screen(mobile) {
|
8
7
|
@apply ax-w-full;
|
@@ -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,24 +13,24 @@
|
|
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 {
|
33
|
-
@apply ax-flex ax-items-center ax-break-words ax-whitespace-pre;
|
32
|
+
.ax-content {
|
33
|
+
@apply ax-flex ax-items-center ax-break-words ax-whitespace-pre-wrap;
|
34
34
|
|
35
35
|
ul {
|
36
36
|
@apply ax-my-2 ax-ms-5 ax-list-disc;
|
@@ -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,15 +71,14 @@
|
|
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
|
|
@@ -90,7 +89,7 @@
|
|
90
89
|
// primary
|
91
90
|
&.ax-primary-default {
|
92
91
|
@apply ax-bg-primary-500 ax-text-primary-fore dark:ax-bg-primary-800 dark:ax-text-primary-100;
|
93
|
-
ax-header {
|
92
|
+
.ax-header {
|
94
93
|
@apply ax-bg-primary-600;
|
95
94
|
}
|
96
95
|
.ax-alert-progress {
|
@@ -99,7 +98,7 @@
|
|
99
98
|
}
|
100
99
|
&.ax-primary-twotone {
|
101
100
|
@apply ax-bg-primary-100 ax-text-primary-500 dark:ax-bg-primary-800 dark:ax-text-primary-100;
|
102
|
-
ax-header {
|
101
|
+
.ax-header {
|
103
102
|
@apply ax-bg-primary-200 dark:ax-bg-primary-600;
|
104
103
|
}
|
105
104
|
.ax-alert-progress {
|
@@ -108,7 +107,7 @@
|
|
108
107
|
}
|
109
108
|
&.ax-primary-outline {
|
110
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;
|
111
|
-
ax-header {
|
110
|
+
.ax-header {
|
112
111
|
@apply ax-bg-primary-100 dark:ax-bg-transparent;
|
113
112
|
}
|
114
113
|
.ax-alert-progress {
|
@@ -117,7 +116,7 @@
|
|
117
116
|
}
|
118
117
|
&.ax-primary-blank {
|
119
118
|
@apply ax-bg-transparent ax-text-primary-500 dark:ax-text-primary-300 ax-rounded-none;
|
120
|
-
ax-header {
|
119
|
+
.ax-header {
|
121
120
|
@apply ax-border-b ax-border-solid ax-border-primary-200 dark:ax-border-primary-800;
|
122
121
|
}
|
123
122
|
.ax-alert-progress {
|
@@ -128,7 +127,7 @@
|
|
128
127
|
// secondary
|
129
128
|
&.ax-secondary-default {
|
130
129
|
@apply ax-bg-secondary-500 ax-text-secondary-fore dark:ax-bg-secondary-800 dark:ax-text-secondary-100;
|
131
|
-
ax-header {
|
130
|
+
.ax-header {
|
132
131
|
@apply ax-bg-secondary-600;
|
133
132
|
}
|
134
133
|
.ax-alert-progress {
|
@@ -137,7 +136,7 @@
|
|
137
136
|
}
|
138
137
|
&.ax-secondary-twotone {
|
139
138
|
@apply ax-bg-secondary-100 ax-text-secondary-500 dark:ax-bg-secondary-800 dark:ax-text-secondary-100;
|
140
|
-
ax-header {
|
139
|
+
.ax-header {
|
141
140
|
@apply ax-bg-secondary-200 dark:ax-bg-secondary-600;
|
142
141
|
}
|
143
142
|
.ax-alert-progress {
|
@@ -146,7 +145,7 @@
|
|
146
145
|
}
|
147
146
|
&.ax-secondary-outline {
|
148
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;
|
149
|
-
ax-header {
|
148
|
+
.ax-header {
|
150
149
|
@apply ax-bg-secondary-100 dark:ax-bg-transparent;
|
151
150
|
}
|
152
151
|
.ax-alert-progress {
|
@@ -155,7 +154,7 @@
|
|
155
154
|
}
|
156
155
|
&.ax-secondary-blank {
|
157
156
|
@apply ax-bg-transparent ax-text-secondary-500 dark:ax-text-secondary-300 ax-rounded-none;
|
158
|
-
ax-header {
|
157
|
+
.ax-header {
|
159
158
|
@apply ax-border-b ax-border-solid ax-border-secondary-200 dark:ax-border-secondary-800;
|
160
159
|
}
|
161
160
|
.ax-alert-progress {
|
@@ -166,7 +165,7 @@
|
|
166
165
|
// success
|
167
166
|
&.ax-success-default {
|
168
167
|
@apply ax-bg-success-500 ax-text-success-fore dark:ax-bg-success-800 dark:ax-text-success-100;
|
169
|
-
ax-header {
|
168
|
+
.ax-header {
|
170
169
|
@apply ax-bg-success-600;
|
171
170
|
}
|
172
171
|
.ax-alert-progress {
|
@@ -175,7 +174,7 @@
|
|
175
174
|
}
|
176
175
|
&.ax-success-twotone {
|
177
176
|
@apply ax-bg-success-100 ax-text-success-500 dark:ax-bg-success-800 dark:ax-text-success-100;
|
178
|
-
ax-header {
|
177
|
+
.ax-header {
|
179
178
|
@apply ax-bg-success-200 dark:ax-bg-success-600;
|
180
179
|
}
|
181
180
|
.ax-alert-progress {
|
@@ -184,7 +183,7 @@
|
|
184
183
|
}
|
185
184
|
&.ax-success-outline {
|
186
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;
|
187
|
-
ax-header {
|
186
|
+
.ax-header {
|
188
187
|
@apply ax-bg-success-100 dark:ax-bg-transparent;
|
189
188
|
}
|
190
189
|
.ax-alert-progress {
|
@@ -193,7 +192,7 @@
|
|
193
192
|
}
|
194
193
|
&.ax-success-blank {
|
195
194
|
@apply ax-bg-transparent ax-text-success-500 dark:ax-text-success-300 ax-rounded-none;
|
196
|
-
ax-header {
|
195
|
+
.ax-header {
|
197
196
|
@apply ax-border-b ax-border-solid ax-border-success-200 dark:ax-border-success-800;
|
198
197
|
}
|
199
198
|
.ax-alert-progress {
|
@@ -204,7 +203,7 @@
|
|
204
203
|
// warning
|
205
204
|
&.ax-warning-default {
|
206
205
|
@apply ax-bg-warning-800 ax-text-warning-fore dark:ax-bg-warning-800;
|
207
|
-
ax-header {
|
206
|
+
.ax-header {
|
208
207
|
@apply ax-bg-warning-600;
|
209
208
|
}
|
210
209
|
.ax-alert-progress {
|
@@ -213,17 +212,16 @@
|
|
213
212
|
}
|
214
213
|
&.ax-warning-twotone {
|
215
214
|
@apply ax-bg-warning-100 ax-text-warning-900 dark:ax-bg-warning-800 dark:ax-text-warning-fore;
|
216
|
-
ax-header {
|
215
|
+
.ax-header {
|
217
216
|
@apply ax-bg-warning-200 dark:ax-bg-warning-600;
|
218
217
|
}
|
219
218
|
.ax-alert-progress {
|
220
219
|
@apply ax-bg-warning-300 dark:ax-bg-warning-500;
|
221
220
|
}
|
222
|
-
|
223
221
|
}
|
224
222
|
&.ax-warning-outline {
|
225
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;
|
226
|
-
ax-header {
|
224
|
+
.ax-header {
|
227
225
|
@apply ax-bg-warning-100 dark:ax-bg-transparent;
|
228
226
|
}
|
229
227
|
.ax-alert-progress {
|
@@ -232,7 +230,7 @@
|
|
232
230
|
}
|
233
231
|
&.ax-warning-blank {
|
234
232
|
@apply ax-bg-transparent ax-text-warning-500 dark:ax-text-warning-300 ax-rounded-none;
|
235
|
-
ax-header {
|
233
|
+
.ax-header {
|
236
234
|
@apply ax-border-b ax-border-solid ax-border-warning-200 dark:ax-border-warning-800;
|
237
235
|
}
|
238
236
|
.ax-alert-progress {
|
@@ -243,7 +241,7 @@
|
|
243
241
|
// danger
|
244
242
|
&.ax-danger-default {
|
245
243
|
@apply ax-bg-danger-500 ax-text-danger-fore dark:ax-bg-danger-800 dark:ax-text-danger-100;
|
246
|
-
ax-header {
|
244
|
+
.ax-header {
|
247
245
|
@apply ax-bg-danger-600;
|
248
246
|
}
|
249
247
|
.ax-alert-progress {
|
@@ -252,7 +250,7 @@
|
|
252
250
|
}
|
253
251
|
&.ax-danger-twotone {
|
254
252
|
@apply ax-bg-danger-100 ax-text-danger-500 dark:ax-bg-danger-800 dark:ax-text-danger-100;
|
255
|
-
ax-header {
|
253
|
+
.ax-header {
|
256
254
|
@apply ax-bg-danger-200 dark:ax-bg-danger-600;
|
257
255
|
}
|
258
256
|
.ax-alert-progress {
|
@@ -261,7 +259,7 @@
|
|
261
259
|
}
|
262
260
|
&.ax-danger-outline {
|
263
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;
|
264
|
-
ax-header {
|
262
|
+
.ax-header {
|
265
263
|
@apply ax-bg-danger-100 dark:ax-bg-transparent;
|
266
264
|
}
|
267
265
|
.ax-alert-progress {
|
@@ -270,7 +268,7 @@
|
|
270
268
|
}
|
271
269
|
&.ax-danger-blank {
|
272
270
|
@apply ax-bg-transparent ax-text-danger-500 dark:ax-text-danger-300 ax-rounded-none;
|
273
|
-
ax-header {
|
271
|
+
.ax-header {
|
274
272
|
@apply ax-border-b ax-border-solid ax-border-danger-200 dark:ax-border-danger-800;
|
275
273
|
}
|
276
274
|
.ax-alert-progress {
|
@@ -281,7 +279,7 @@
|
|
281
279
|
// info
|
282
280
|
&.ax-info-default {
|
283
281
|
@apply ax-bg-info-500 ax-text-info-fore dark:ax-bg-info-800 dark:ax-text-info-100;
|
284
|
-
ax-header {
|
282
|
+
.ax-header {
|
285
283
|
@apply ax-bg-info-600;
|
286
284
|
}
|
287
285
|
.ax-alert-progress {
|
@@ -290,7 +288,7 @@
|
|
290
288
|
}
|
291
289
|
&.ax-info-twotone {
|
292
290
|
@apply ax-bg-info-100 ax-text-info-500 dark:ax-bg-info-800 dark:ax-text-info-100;
|
293
|
-
ax-header {
|
291
|
+
.ax-header {
|
294
292
|
@apply ax-bg-info-200 dark:ax-bg-info-600;
|
295
293
|
}
|
296
294
|
.ax-alert-progress {
|
@@ -299,7 +297,7 @@
|
|
299
297
|
}
|
300
298
|
&.ax-info-outline {
|
301
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;
|
302
|
-
ax-header {
|
300
|
+
.ax-header {
|
303
301
|
@apply ax-bg-info-100 dark:ax-bg-transparent;
|
304
302
|
}
|
305
303
|
.ax-alert-progress {
|
@@ -308,7 +306,7 @@
|
|
308
306
|
}
|
309
307
|
&.ax-info-blank {
|
310
308
|
@apply ax-bg-transparent ax-text-info-500 dark:ax-text-info-300 ax-rounded-none;
|
311
|
-
ax-header {
|
309
|
+
.ax-header {
|
312
310
|
@apply ax-border-b ax-border-solid ax-border-info-200 dark:ax-border-info-800;
|
313
311
|
}
|
314
312
|
.ax-alert-progress {
|
@@ -319,8 +317,8 @@
|
|
319
317
|
// light
|
320
318
|
&.ax-light-default {
|
321
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;
|
322
|
-
ax-header {
|
323
|
-
@apply ax-bg-light-200 dark:ax-bg-light-600
|
320
|
+
.ax-header {
|
321
|
+
@apply ax-bg-light-200 dark:ax-bg-light-600;
|
324
322
|
}
|
325
323
|
.ax-alert-progress {
|
326
324
|
@apply ax-bg-light-300 dark:ax-bg-light-600;
|
@@ -328,8 +326,8 @@
|
|
328
326
|
}
|
329
327
|
&.ax-light-twotone {
|
330
328
|
@apply ax-bg-light-100 ax-text-light-500 dark:ax-bg-light-800 dark:ax-text-light-100;
|
331
|
-
ax-header {
|
332
|
-
@apply ax-bg-light-200 dark:ax-bg-light-600
|
329
|
+
.ax-header {
|
330
|
+
@apply ax-bg-light-200 dark:ax-bg-light-600;
|
333
331
|
}
|
334
332
|
.ax-alert-progress {
|
335
333
|
@apply ax-bg-light-300 dark:ax-bg-light-600;
|
@@ -337,7 +335,7 @@
|
|
337
335
|
}
|
338
336
|
&.ax-light-outline {
|
339
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;
|
340
|
-
ax-header {
|
338
|
+
.ax-header {
|
341
339
|
@apply ax-bg-light-100;
|
342
340
|
}
|
343
341
|
.ax-alert-progress {
|
@@ -346,7 +344,7 @@
|
|
346
344
|
}
|
347
345
|
&.ax-light-blank {
|
348
346
|
@apply ax-bg-transparent ax-text-light-500 dark:ax-text-light-300;
|
349
|
-
ax-header {
|
347
|
+
.ax-header {
|
350
348
|
@apply ax-border-b ax-border-solid ax-border-light-200 dark:ax-border-light-500;
|
351
349
|
}
|
352
350
|
.ax-alert-progress {
|
@@ -356,7 +354,7 @@
|
|
356
354
|
// dark
|
357
355
|
&.ax-dark-default {
|
358
356
|
@apply ax-bg-dark-500 ax-text-dark-fore dark:ax-bg-dark-800 dark:ax-text-dark-100;
|
359
|
-
ax-header {
|
357
|
+
.ax-header {
|
360
358
|
@apply ax-bg-dark-600;
|
361
359
|
}
|
362
360
|
.ax-alert-progress {
|
@@ -365,7 +363,7 @@
|
|
365
363
|
}
|
366
364
|
&.ax-dark-twotone {
|
367
365
|
@apply ax-bg-dark-100 ax-text-dark-500 dark:ax-bg-dark-800 dark:ax-text-dark-100;
|
368
|
-
ax-header {
|
366
|
+
.ax-header {
|
369
367
|
@apply ax-bg-dark-200;
|
370
368
|
}
|
371
369
|
.ax-alert-progress {
|
@@ -374,7 +372,7 @@
|
|
374
372
|
}
|
375
373
|
&.ax-dark-outline {
|
376
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;
|
377
|
-
ax-header {
|
375
|
+
.ax-header {
|
378
376
|
@apply ax-bg-dark-50;
|
379
377
|
}
|
380
378
|
.ax-alert-progress {
|
@@ -383,7 +381,7 @@
|
|
383
381
|
}
|
384
382
|
&.ax-dark-blank {
|
385
383
|
@apply ax-bg-transparent ax-text-dark-500 dark:ax-text-dark-100;
|
386
|
-
ax-header {
|
384
|
+
.ax-header {
|
387
385
|
@apply ax-border-b ax-border-solid ax-border-dark-200 dark:ax-border-dark-200;
|
388
386
|
}
|
389
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 {
|
@@ -14,7 +12,7 @@
|
|
14
12
|
right: -6px;
|
15
13
|
}
|
16
14
|
.ax-avatar-container {
|
17
|
-
@apply ax-w-full ax-h-full ax-rounded-
|
15
|
+
@apply ax-w-full ax-h-full ax-rounded-default;
|
18
16
|
.ax-default-avatar {
|
19
17
|
svg {
|
20
18
|
@apply ax-w-full;
|