@acorex/styles 7.0.28 → 7.0.30
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/package.json
CHANGED
package/src/mixins/_util.scss
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
@mixin color-variable-genterator($array) {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
} @else {
|
8
|
-
--ax-color-#{$name}: #{$variant};
|
9
|
-
}
|
10
|
-
}
|
2
|
+
@each $name, $color in $array {
|
3
|
+
@if (type-of($color) == 'map') {
|
4
|
+
@each $subname, $variant in $color {
|
5
|
+
@if ($subname != '') {
|
6
|
+
--ax-color-#{$name}-#{$subname}: #{$variant};
|
11
7
|
} @else {
|
12
|
-
|
8
|
+
--ax-color-#{$name}: #{$variant};
|
13
9
|
}
|
10
|
+
}
|
11
|
+
} @else {
|
12
|
+
--ax-color-#{$name}: #{$color};
|
14
13
|
}
|
14
|
+
}
|
15
15
|
}
|
16
16
|
@mixin darkMode() {
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
html.ax-dark {
|
18
|
+
@content;
|
19
|
+
}
|
20
20
|
}
|
@@ -19,8 +19,8 @@
|
|
19
19
|
|
20
20
|
&:checked,
|
21
21
|
&:indeterminate {
|
22
|
-
border-color: rgba(var(--ax-color-primary)) !important;
|
23
|
-
background-color: rgba(var(--ax-color-primary)) !important;
|
22
|
+
border-color: rgba(var(--ax-color-primary-500)) !important;
|
23
|
+
background-color: rgba(var(--ax-color-primary-500)) !important;
|
24
24
|
background-repeat: no-repeat;
|
25
25
|
background-size: contain;
|
26
26
|
}
|
@@ -37,7 +37,7 @@
|
|
37
37
|
outline-offset: 2px;
|
38
38
|
outline-width: 2px;
|
39
39
|
outline-style: solid;
|
40
|
-
outline-color: rgba(var(--ax-color-primary));
|
40
|
+
outline-color: rgba(var(--ax-color-primary-500));
|
41
41
|
}
|
42
42
|
|
43
43
|
&:disabled {
|
@@ -151,7 +151,7 @@
|
|
151
151
|
}
|
152
152
|
.ax-input {
|
153
153
|
&::placeholder {
|
154
|
-
color: rgb(var(--ax-color-danger));
|
154
|
+
color: rgb(var(--ax-color-danger-500));
|
155
155
|
}
|
156
156
|
}
|
157
157
|
}
|
@@ -164,7 +164,7 @@
|
|
164
164
|
}
|
165
165
|
.ax-input {
|
166
166
|
&::placeholder {
|
167
|
-
color: rgb(var(--ax-color-success));
|
167
|
+
color: rgb(var(--ax-color-success-500));
|
168
168
|
}
|
169
169
|
}
|
170
170
|
}
|
package/src/shared/_list.scss
CHANGED
@@ -105,7 +105,7 @@
|
|
105
105
|
background-color: rgba(var(--ax-color-primary-50)) !important;
|
106
106
|
color: rgba(var(--ax-color-primary-500)) !important;
|
107
107
|
.ax-selected-icon {
|
108
|
-
color: rgb(var(--ax-color-primary));
|
108
|
+
color: rgb(var(--ax-color-primary-500));
|
109
109
|
font-size: 1.5rem;
|
110
110
|
}
|
111
111
|
}
|
package/src/shared/_radio.scss
CHANGED
@@ -17,9 +17,9 @@
|
|
17
17
|
appearance: none;
|
18
18
|
|
19
19
|
&:checked {
|
20
|
-
border-color: rgb(var(--ax-color-primary));
|
20
|
+
border-color: rgb(var(--ax-color-primary-500));
|
21
21
|
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
|
22
|
-
background-color: rgb(var(--ax-color-primary));
|
22
|
+
background-color: rgb(var(--ax-color-primary-500));
|
23
23
|
background-repeat: no-repeat;
|
24
24
|
background-size: contain;
|
25
25
|
}
|
@@ -28,7 +28,7 @@
|
|
28
28
|
outline-offset: 2px;
|
29
29
|
outline-width: 2px;
|
30
30
|
outline-style: solid;
|
31
|
-
outline-color: rgba(var(--ax-color-primary));
|
31
|
+
outline-color: rgba(var(--ax-color-primary-500));
|
32
32
|
}
|
33
33
|
|
34
34
|
&:disabled {
|
@@ -1,91 +1,84 @@
|
|
1
|
-
$color_names:
|
2
|
-
$look_names:
|
1
|
+
$color_names: 'primary', 'secondary', 'success', 'warning', 'danger';
|
2
|
+
$look_names: 'default', 'outline', 'blank';
|
3
3
|
$theme-colors: (
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
"500": "113, 113, 122",
|
85
|
-
"600": "82, 82, 91",
|
86
|
-
"700": "63, 63, 70",
|
87
|
-
"800": "39, 39, 42",
|
88
|
-
"900": "24, 24, 27",
|
89
|
-
)
|
90
|
-
|
4
|
+
'white': '255, 255, 255',
|
5
|
+
'black': '0, 0, 0',
|
6
|
+
'primary': (
|
7
|
+
'fore': '255, 255, 255',
|
8
|
+
'50': '239, 246, 255',
|
9
|
+
'100': '219, 234, 254',
|
10
|
+
'200': '191, 219, 254',
|
11
|
+
'300': '147, 197, 253',
|
12
|
+
'400': '96, 165, 250',
|
13
|
+
'500': '59, 130, 246',
|
14
|
+
'600': '37, 99, 235',
|
15
|
+
'700': '29, 78, 216',
|
16
|
+
'800': '30, 64, 175',
|
17
|
+
'900': '30, 58, 138',
|
18
|
+
),
|
19
|
+
'secondary': (
|
20
|
+
'fore': '255, 255, 255',
|
21
|
+
'50': '233, 234, 236',
|
22
|
+
'100': '200, 203, 208',
|
23
|
+
'200': '164, 169, 176',
|
24
|
+
'300': '128, 134, 144',
|
25
|
+
'400': '100, 108, 121',
|
26
|
+
'500': '73, 82, 97',
|
27
|
+
'600': '66, 75, 89',
|
28
|
+
'700': '57, 65, 79',
|
29
|
+
'800': '49, 56, 69',
|
30
|
+
'900': '33, 40, 51',
|
31
|
+
),
|
32
|
+
'success': (
|
33
|
+
'fore': '255, 255, 255',
|
34
|
+
'50': '236, 253, 245',
|
35
|
+
'100': '209, 250, 229',
|
36
|
+
'200': '167, 243, 208',
|
37
|
+
'300': '110, 231, 183',
|
38
|
+
'400': '52, 211, 153',
|
39
|
+
'500': '16, 185, 129',
|
40
|
+
'600': '5, 150, 105',
|
41
|
+
'700': '4, 120, 87',
|
42
|
+
'800': '6, 95, 70',
|
43
|
+
'900': '6, 78, 59',
|
44
|
+
),
|
45
|
+
'danger': (
|
46
|
+
'fore': '255, 255, 255',
|
47
|
+
'50': '254, 242, 242',
|
48
|
+
'100': '254, 226, 226',
|
49
|
+
'200': '254, 202, 202',
|
50
|
+
'300': '252, 165, 165',
|
51
|
+
'400': '248, 113, 113',
|
52
|
+
'500': '239, 68, 68',
|
53
|
+
'600': '220, 38, 38',
|
54
|
+
'700': '185, 28, 28',
|
55
|
+
'800': '153, 27, 27',
|
56
|
+
'900': '127, 29, 29',
|
57
|
+
),
|
58
|
+
'warning': (
|
59
|
+
'fore': '120, 53, 15',
|
60
|
+
'50': '255, 248, 225',
|
61
|
+
'100': '255, 236, 179',
|
62
|
+
'200': '255, 224, 130',
|
63
|
+
'300': '255, 213, 79',
|
64
|
+
'400': '255, 202, 40',
|
65
|
+
'500': '255, 193, 7',
|
66
|
+
'600': '255, 179, 0',
|
67
|
+
'700': '255, 160, 0',
|
68
|
+
'800': '255, 143, 0',
|
69
|
+
'900': '255, 111, 0',
|
70
|
+
),
|
71
|
+
'neutral': (
|
72
|
+
'fore': '24, 24, 27',
|
73
|
+
'50': '250, 250, 250',
|
74
|
+
'100': '244, 244, 245',
|
75
|
+
'200': '228, 228, 231',
|
76
|
+
'300': '212, 212, 216',
|
77
|
+
'400': '161, 161, 170',
|
78
|
+
'500': '113, 113, 122',
|
79
|
+
'600': '82, 82, 91',
|
80
|
+
'700': '63, 63, 70',
|
81
|
+
'800': '39, 39, 42',
|
82
|
+
'900': '24, 24, 27',
|
83
|
+
),
|
91
84
|
);
|