@acorex/styles 7.0.22 → 7.0.24
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/_theme.scss +3 -3
- package/src/base/index.scss +1 -0
- package/src/shared/_actionsheet.scss +33 -32
- package/src/shared/_list.scss +17 -1
package/package.json
CHANGED
package/src/base/_theme.scss
CHANGED
@@ -8,11 +8,11 @@
|
|
8
8
|
--ax-color-ghost-fore: 255, 255, 255;
|
9
9
|
}
|
10
10
|
@mixin dark-variables() {
|
11
|
-
--ax-color-background-default:
|
11
|
+
--ax-color-background-default: 23, 32, 46;
|
12
12
|
--ax-color-text-default: 224, 224, 224;
|
13
13
|
--ax-color-border-default: 255, 255, 255, 0.12;
|
14
|
-
--ax-color-surface:
|
15
|
-
--ax-color-on-surface:
|
14
|
+
--ax-color-surface: 45, 50, 63;
|
15
|
+
--ax-color-on-surface: 60, 68, 79;
|
16
16
|
--ax-color-ghost: 255, 255, 255;
|
17
17
|
--ax-color-ghost-fore: 0, 0, 0;
|
18
18
|
}
|
package/src/base/index.scss
CHANGED
@@ -1,39 +1,40 @@
|
|
1
1
|
.ax-actionsheet-panel {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
2
|
+
animation-duration: 300ms;
|
3
|
+
-webkit-animation-duration: 300ms;
|
4
|
+
animation-fill-mode: both;
|
5
|
+
-webkit-animation-fill-mode: both;
|
6
|
+
opacity: 0;
|
7
|
+
animation-name: fadeInUp;
|
8
|
+
-webkit-animation-name: fadeInUp;
|
9
|
+
background-color: rgba(var(--ax-color-surface));
|
10
|
+
-webkit-border-top-left-radius: var(--ax-rounded-border-default);
|
11
|
+
-webkit-border-top-right-radius: var(--ax-rounded-border-default);
|
12
|
+
-moz-border-radius-topleft: var(--ax-rounded-border-default);
|
13
|
+
-moz-border-radius-topright: var(--ax-rounded-border-default);
|
14
|
+
border-top-left-radius: var(--ax-rounded-border-default);
|
15
|
+
border-top-right-radius: var(--ax-rounded-border-default);
|
16
|
+
box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2),
|
17
|
+
0 16px 24px 2px rgba(0, 0, 0, 0.141), 0 6px 30px 5px rgba(0, 0, 0, 0.122);
|
18
|
+
overflow: hidden;
|
19
|
+
@keyframes fadeInUp {
|
20
|
+
from {
|
21
|
+
transform: translate3d(0, 40px, 0);
|
22
|
+
}
|
22
23
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
}
|
24
|
+
to {
|
25
|
+
transform: translate3d(0, 0, 0);
|
26
|
+
opacity: 1;
|
27
27
|
}
|
28
|
+
}
|
28
29
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
30
|
+
@-webkit-keyframes fadeInUp {
|
31
|
+
from {
|
32
|
+
transform: translate3d(0, 40px, 0);
|
33
|
+
}
|
33
34
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
}
|
35
|
+
to {
|
36
|
+
transform: translate3d(0, 0, 0);
|
37
|
+
opacity: 1;
|
38
38
|
}
|
39
|
+
}
|
39
40
|
}
|
package/src/shared/_list.scss
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
@import '../mixins/index.scss';
|
2
|
-
|
2
|
+
@include darkMode() {
|
3
|
+
.ax-list {
|
4
|
+
.ax-content {
|
5
|
+
&.ax-default {
|
6
|
+
.ax-list-item {
|
7
|
+
&.ax-state-selected {
|
8
|
+
background-color: rgba(var(--ax-color-primary-800)) !important;
|
9
|
+
color: rgba(var(--ax-color-primary-fore)) !important;
|
10
|
+
.ax-selected-icon {
|
11
|
+
color: rgb(var(--ax-color-primary-fore));
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
3
19
|
.ax-list {
|
4
20
|
display: flex;
|
5
21
|
flex-direction: column;
|