@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/styles",
3
- "version": "7.0.22",
3
+ "version": "7.0.24",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "",
@@ -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: 21, 27, 36;
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: 23, 31, 45;
15
- --ax-color-on-surface: 25, 36, 54;
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
  }
@@ -24,4 +24,5 @@ html,
24
24
  body {
25
25
  background-color: rgb(var(--ax-color-background-default));
26
26
  color: rgba(var(--ax-color-text-default));
27
+ height: 100%;
27
28
  }
@@ -1,39 +1,40 @@
1
1
  .ax-actionsheet-panel {
2
- animation-duration: 500ms;
3
- animation-fill-mode: both;
4
- -webkit-animation-duration: 500ms;
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: 1rem;
11
- -webkit-border-top-right-radius: 1rem;
12
- -moz-border-radius-topleft: 1rem;
13
- -moz-border-radius-topright: 1rem;
14
- border-top-left-radius: 1rem;
15
- border-top-right-radius: 1rem;
16
- box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.141), 0 6px 30px 5px rgba(0, 0, 0, 0.122);
17
- overflow: hidden;
18
- @keyframes fadeInUp {
19
- from {
20
- transform: translate3d(0, 40px, 0);
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
- to {
24
- transform: translate3d(0, 0, 0);
25
- opacity: 1;
26
- }
24
+ to {
25
+ transform: translate3d(0, 0, 0);
26
+ opacity: 1;
27
27
  }
28
+ }
28
29
 
29
- @-webkit-keyframes fadeInUp {
30
- from {
31
- transform: translate3d(0, 40px, 0);
32
- }
30
+ @-webkit-keyframes fadeInUp {
31
+ from {
32
+ transform: translate3d(0, 40px, 0);
33
+ }
33
34
 
34
- to {
35
- transform: translate3d(0, 0, 0);
36
- opacity: 1;
37
- }
35
+ to {
36
+ transform: translate3d(0, 0, 0);
37
+ opacity: 1;
38
38
  }
39
+ }
39
40
  }
@@ -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;