@acorex/styles 5.0.25 → 5.0.26
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 +1 -1
- package/src/base/index.scss +20 -8
- package/src/components/_checkbox.scss +7 -6
- package/src/components/_radio.scss +1 -1
- package/src/utility/index.scss +11 -0
- package/dark.scss +0 -19
package/package.json
CHANGED
package/src/base/index.scss
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
:root {
|
9
9
|
--ax-base-size: 8px;
|
10
|
-
--ax-base-ratio:
|
10
|
+
--ax-base-ratio: 6;
|
11
11
|
--ax-color-default-background: 255, 255, 255;
|
12
12
|
--ax-color-default-color: 107, 114, 128;
|
13
13
|
@include colors($theme-colors);
|
@@ -21,11 +21,23 @@ body {
|
|
21
21
|
font-size: 16px;
|
22
22
|
}
|
23
23
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
--ax-
|
30
|
-
|
24
|
+
|
25
|
+
html.ax-dark,
|
26
|
+
html.ax-dark * {
|
27
|
+
--tw-ring-offset-color: #151b24;
|
28
|
+
--ax-color-default-background: 21 27 36;
|
29
|
+
--ax-color-default-color: 255 255 255;
|
30
|
+
--ax-color-border: 55 65 81;
|
31
|
+
--ax-color-placeholder: 161 161 161;
|
32
|
+
.ax-skeleton {
|
33
|
+
&.ax-skeleton-animate {
|
34
|
+
&::before {
|
35
|
+
content: "";
|
36
|
+
background: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
.cdk-overlay-dark-backdrop {
|
41
|
+
background: rgba(0, 0, 0, 0.5) !important;
|
42
|
+
}
|
31
43
|
}
|
@@ -1,18 +1,19 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-check-box
|
2
|
+
ax-check-box,
|
3
|
+
.ax-check-box {
|
3
4
|
@apply ax-justify-start ax-w-max ax-flex;
|
4
|
-
|
5
|
+
|
5
6
|
.ax-wrapper {
|
6
7
|
&.ax-state-disabled {
|
7
8
|
@apply ax-cursor-not-allowed ax-opacity-80;
|
8
|
-
input[type=checkbox] {
|
9
|
+
input[type="checkbox"] {
|
9
10
|
@apply ax-cursor-not-allowed;
|
10
11
|
}
|
11
12
|
}
|
12
13
|
}
|
13
|
-
input[type=checkbox] {
|
14
|
+
input[type="checkbox"] {
|
14
15
|
@apply ax-w-4 ax-h-4 ax-border-solid ax-border ax-border-light-300 ax-rounded ax-bg-white ax-text-primary-500 ax-m-0 ax-outline-none ax-align-middle ax-appearance-none;
|
15
|
-
@include control-dark(
|
16
|
+
@include control-dark("editor");
|
16
17
|
&:checked,
|
17
18
|
&:indeterminate {
|
18
19
|
@apply ax-border-primary-500 ax-bg-no-repeat ax-bg-primary-500 ax-bg-contain #{!important};
|
@@ -34,4 +35,4 @@
|
|
34
35
|
}
|
35
36
|
}
|
36
37
|
}
|
37
|
-
}
|
38
|
+
}
|
package/src/utility/index.scss
CHANGED
package/dark.scss
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
html.ax-dark,
|
2
|
-
html.ax-dark * {
|
3
|
-
--tw-ring-offset-color: #151b24;
|
4
|
-
--ax-color-default-background: 21 27 36;
|
5
|
-
--ax-color-default-color: 255 255 255;
|
6
|
-
--ax-color-border: 55 65 81;
|
7
|
-
--ax-color-placeholder: 161 161 161;
|
8
|
-
.ax-skeleton {
|
9
|
-
&.ax-skeleton-animate {
|
10
|
-
&::before {
|
11
|
-
content: "";
|
12
|
-
background: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
|
13
|
-
}
|
14
|
-
}
|
15
|
-
}
|
16
|
-
.cdk-overlay-dark-backdrop {
|
17
|
-
background: rgba(0, 0, 0, 0.5) !important;
|
18
|
-
}
|
19
|
-
}
|