@acorex/styles 5.0.12 → 5.0.16

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.
@@ -1,19 +1,15 @@
1
- @import "../variables/mixins";
2
-
3
1
  @layer components {
4
2
  ax-calendar {
5
- @apply ax-block ax-border ax-border-solid ax-border-default ax-rounded ax-bg-white ax-select-none;
3
+ @apply ax-block ax-border ax-border-solid ax-border-light-300 ax-rounded ax-bg-white ax-select-none dark:ax-bg-white/[0.03] dark:ax-border-transparent;
6
4
 
7
- &.ax-state-disabled
8
- {
9
- .ax-calendar-slots
10
- {
5
+ &.ax-state-disabled {
6
+ .ax-calendar-slots {
11
7
  @apply ax-opacity-50 ax-cursor-default;
12
8
  }
13
9
  }
14
10
 
15
11
  .ax-calendar-header {
16
- @apply ax-grid ax-grid-cols-12 ax-py-1 ax-px-2 ax-border-b ax-border-default ax-border-solid;
12
+ @apply ax-grid ax-grid-cols-12 ax-py-1 ax-px-2 ax-border-b ax-border-light-300 ax-border-solid dark:ax-border-transparent;
17
13
 
18
14
  .ax-nav-button {
19
15
  @apply ax-col-span-8 ax-justify-start;
@@ -26,34 +22,34 @@
26
22
  }
27
23
 
28
24
  .ax-calendar-body {
29
- @apply ax-m-2;
25
+ @apply ax-m-2 ;
30
26
 
31
27
  .ax-calendar-slots {
32
28
  @apply ax-grid;
33
29
 
34
- &>div {
35
- @apply ax-text-sm ax-text-black ax-text-center ax-relative ax-flex ax-items-center ax-justify-center ax-cursor-pointer ax-m-0.5 ax-rounded;
30
+ & > div {
31
+ @apply ax-text-sm ax-text-black dark:ax-text-light-200 ax-text-center ax-relative ax-flex ax-items-center ax-justify-center ax-cursor-pointer ax-m-0.5 ax-rounded;
36
32
 
37
33
  &::before {
38
- content: '';
34
+ content: "";
39
35
  padding-top: 100%;
40
36
  float: left;
41
37
  }
42
38
 
43
39
  &::after {
44
- content: '';
40
+ content: "";
45
41
  display: block;
46
42
  clear: both;
47
43
  }
48
44
 
49
45
  &:hover {
50
- @apply ax-bg-light-100;
46
+ @apply ax-bg-light-100 dark:ax-bg-white/[0.07];
51
47
  }
52
48
 
53
49
  &.ax-state-disabled {
54
- @apply ax-text-gray-300 ax-cursor-default;
50
+ @apply ax-text-light-300 ax-cursor-not-allowed;
55
51
  &:hover {
56
- @apply ax-bg-transparent ax-text-gray-300;
52
+ @apply ax-bg-transparent ax-text-light-300;
57
53
  }
58
54
  // &::after {
59
55
  // @apply ax-text-sm ax-cursor-not-allowed ax-text-danger-600;
@@ -66,14 +62,14 @@
66
62
  &.ax-state-holiday {
67
63
  @apply ax-text-danger;
68
64
  &:hover {
69
- @apply ax-text-black;
65
+ @apply ax-text-black dark:ax-text-light-100;
70
66
  }
71
67
  }
72
68
 
73
69
  &.ax-state-today {
74
- @apply ax-bg-opacity-70 ax-bg-primary-100 ax-text-primary;
70
+ @apply ax-bg-opacity-70 ax-bg-primary-100 ax-text-primary dark:ax-bg-primary dark:ax-text-primary-fore;
75
71
  &:hover {
76
- @apply ax-text-primary;
72
+ @apply ax-text-primary dark:ax-text-primary-fore;
77
73
  }
78
74
  }
79
75
 
@@ -92,7 +88,7 @@
92
88
  &.ax-state-event {
93
89
  &::after {
94
90
  @apply ax-absolute ax-bottom-0.5 ax-rounded-full ax-h-0.5 ax-w-4 ax-bg-dark;
95
- content: ''
91
+ content: "";
96
92
  }
97
93
 
98
94
  &.ax-state-event-primary {
@@ -146,14 +142,14 @@
146
142
  .ax-calendar-week {
147
143
  @apply ax-grid ax-grid-cols-7 ax-my-2;
148
144
 
149
- &>div {
150
- @apply ax-text-sm ax-text-black ax-text-center ax-relative ax-flex ax-items-center ax-justify-center ax-cursor-text ax-m-0.5;
145
+ & > div {
146
+ @apply ax-text-sm ax-text-black dark:ax-text-light-200 ax-text-center ax-relative ax-flex ax-items-center ax-justify-center ax-cursor-text ax-m-0.5;
151
147
  }
152
148
  }
153
149
  }
154
150
 
155
151
  .ax-calendar-footer {
156
- @apply ax-flex ax-justify-center ax-p-2 ax-bg-light-100;
152
+ @apply ax-flex ax-justify-center ax-p-2 ax-bg-light-100 dark:ax-bg-transparent dark:ax-border-transparent;
157
153
  }
158
154
  }
159
- }
155
+ }
@@ -1,10 +1,7 @@
1
- @import "../variables/mixins";
2
1
  @layer components {
3
2
  ax-check-box {
4
3
  @apply ax-justify-start ax-w-max ax-flex;
5
- @include respond(mobile) {
6
- @apply ax-text-base;
7
- }
4
+
8
5
  .ax-wrapper {
9
6
  &.ax-state-disabled {
10
7
  @apply ax-cursor-not-allowed ax-opacity-60;
@@ -14,7 +11,7 @@
14
11
  }
15
12
  }
16
13
  input[type=checkbox] {
17
- @apply ax-w-4 ax-h-4 ax-border-solid ax-border ax-border-default ax-rounded ax-bg-white ax-text-primary ax-m-0 ax-outline-none ax-align-middle ax-appearance-none;
14
+ @apply ax-w-4 ax-h-4 ax-border-solid ax-border ax-border-light-300 ax-rounded ax-bg-white ax-text-primary ax-m-0 ax-outline-none ax-align-middle ax-appearance-none ax-controll;
18
15
  &:checked,
19
16
  &:indeterminate {
20
17
  @apply ax-border-primary ax-bg-no-repeat ax-bg-current ax-bg-contain;
@@ -1,6 +1,6 @@
1
1
  @layer components {
2
2
  .ax-datapager {
3
- @apply ax-flex ax-flex-row ax-items-center ax-px-1 ax-py-1 ax-text-black ax-border ax-border-solid ax-border-default ax-border-opacity-50 ax-bg-light-50 ax-rounded ax-shadow-md ax-max-w-full;
3
+ @apply ax-flex ax-flex-row ax-items-center ax-px-1 ax-py-1 ax-text-black ax-border ax-border-solid ax-border-light-300 ax-border-opacity-50 ax-bg-light-50 ax-rounded ax-shadow-md ax-max-w-full;
4
4
  .ax-button-group {
5
5
  @apply ax-border-none;
6
6
  ax-button {
@@ -1,5 +1,5 @@
1
1
  @layer components {
2
2
  .ax-datepicker-body {
3
- @apply ax-m-auto ax-shadow-sm ax-w-full ax-rounded ax-border ax-border-default ax-border-none;
3
+ @apply ax-m-auto ax-shadow-sm ax-w-full ax-rounded ax-border ax-border-light-300 ax-border-none;
4
4
  }
5
5
  }
@@ -1,29 +1,26 @@
1
- @import "../variables/mixins";
2
1
  @layer components {
3
2
  .ax-dialog {
4
- max-width: 512px;
5
- width: 25vw;
6
- @apply ax-grid ax-grid-cols-12 ax-gap-4 ax-px-6 ax-py-5 ax-relative ax-bg-white ax-shadow-md ax-border ax-border-solid ax-border-default ax-rounded-lg ax-outline-none ax-overflow-hidden;
7
- @include respond(mobile) {
3
+ @apply ax-grid ax-grid-cols-12 ax-gap-4 ax-px-6 ax-py-5 ax-relative ax-bg-white ax-shadow-md ax-border ax-border-solid ax-border-light-300 ax-rounded-lg ax-outline-none ax-overflow-hidden ax-surface;
4
+ @screen sm {
8
5
  width: 98vw;
9
6
  }
10
- @include respond(tablet) {
11
- width: 35vw;
7
+ @screen md {
8
+ width: 25vw;
12
9
  }
13
10
  .ax-dialog-icon-side {
14
11
  @apply ax-flex ax-justify-center ax-col-span-2;
15
12
  .ax-dialog-icon {
16
13
  min-width: 3rem;
17
- @apply ax-w-12 ax-h-12 ax-flex ax-justify-center ax-items-center ax-rounded-full ax-cursor-move;
14
+ @apply ax-w-12 ax-h-12 ax-flex ax-justify-center ax-items-center ax-rounded-full ax-cursor-move ax-text-2xl;
18
15
  }
19
16
  }
20
17
  .ax-dialog-content-side {
21
18
  @apply ax-col-span-9;
22
19
  .ax-dialog-title {
23
- @apply ax-text-lg ax-font-bold ax-text-light-700;
20
+ @apply ax-text-lg ax-font-bold ax-text-light-700 dark:ax-text-light-100;
24
21
  }
25
22
  .ax-dialog-content {
26
- @apply ax-text-sm ax-my-1.5 ax-text-light-500;
23
+ @apply ax-text-sm ax-my-1.5 ax-text-light-500 dark:ax-text-light-200;
27
24
  }
28
25
  }
29
26
  .ax-dialog-dismiss-icon {
@@ -33,30 +30,31 @@
33
30
  .ax-dialog-footer {
34
31
  @apply ax-col-span-12 ax-flex ax-justify-end;
35
32
  }
33
+ &.ax-primary {
34
+ .ax-dialog-icon {
35
+ @apply ax-text-primary ax-bg-primary-200;
36
+ }
37
+ }
36
38
  &.ax-success {
37
39
  .ax-dialog-icon {
38
- @apply ax-text-success ax-bg-success-100;
40
+ @apply ax-text-success ax-bg-success-200;
39
41
  }
40
42
  }
41
43
  &.ax-danger {
42
44
  .ax-dialog-icon {
43
- @apply ax-text-danger ax-bg-danger-100;
45
+ @apply ax-text-danger ax-bg-danger-200;
44
46
  }
45
47
  }
46
48
  &.ax-warning {
47
49
  .ax-dialog-icon {
48
- @apply ax-text-warning ax-bg-warning-100;
50
+ @apply ax-text-warning ax-bg-warning-200;
49
51
  }
50
52
  }
51
53
  &.ax-info {
52
54
  .ax-dialog-icon {
53
- @apply ax-text-info ax-bg-info-100;
54
- }
55
- }
56
- &.ax-primary {
57
- .ax-dialog-icon {
58
- @apply ax-text-primary ax-bg-primary-100;
55
+ @apply ax-text-info ax-bg-info-200;
59
56
  }
60
57
  }
58
+
61
59
  }
62
60
  }
@@ -1,136 +1,180 @@
1
1
  @layer components {
2
- ax-drop-down {
2
+
3
+ ax-drop-down,
4
+ .ax-drop-down {
3
5
  display: contents;
6
+
4
7
  .ax-dropdown-content {
5
- @apply ax-text-sm ax-flex-1 ax-overflow-y-hidden ax-overscroll-x-auto;
8
+ @apply ax-flex ax-flex-auto ax-text-sm ax-overflow-y-hidden ax-overscroll-x-auto;
6
9
  }
7
10
  }
11
+
8
12
  .ax-backdrop-light {
9
13
  @apply cdk-overlay-backdrop ax-bg-white ax-bg-opacity-50;
10
14
  }
15
+
11
16
  .ax-backdrop-dark {
12
17
  @apply cdk-overlay-backdrop ax-bg-black ax-bg-opacity-50;
13
18
  }
19
+
14
20
  .ax-overlay-pane {
15
- @apply ax-bg-white;
21
+ @apply ax-bg-white ax-controll;
22
+
16
23
  &.ax-dropdown-list {
17
24
  @apply ax-border ax-border-solid ax-flex ax-flex-col ax-py-1 ax-rounded ax-shadow-sm;
25
+
18
26
  ax-button-item {
19
27
  height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
20
28
  line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2) !important;
21
29
  @apply ax-relative ax-inline-flex ax-items-center ax-justify-start ax-px-4 ax-text-sm ax-text-light-600 ax-cursor-pointer;
30
+
22
31
  &.ax-divide {
23
32
  @apply ax-border-t ax-border ax-border-solid;
24
33
  }
34
+
25
35
  &.ax-state-disabled {
26
36
  @apply ax-cursor-not-allowed ax-opacity-60;
27
37
  }
38
+
28
39
  ax-prefix {
29
40
  @apply ax-flex ax-flex-row ax-pe-2;
30
41
  }
42
+
31
43
  ax-suffix {
32
44
  @apply ax-flex ax-flex-row ax-ps-2;
33
45
  }
46
+
34
47
  &.ax-primary {
35
48
  @apply ax-bg-transparent ax-text-primary-500 ax-border-transparent;
49
+
36
50
  &:hover,
37
51
  &:focus {
38
52
  @apply ax-bg-primary-50 ax-text-primary-600;
39
53
  }
54
+
40
55
  &:active {
41
56
  @apply ax-bg-primary-100 ax-text-primary-700;
42
57
  }
58
+
43
59
  &.ax-state-selected {
44
60
  @apply ax-bg-primary-200;
45
61
  }
46
62
  }
63
+
47
64
  &.ax-secondary {
48
65
  @apply ax-bg-transparent ax-text-secondary-500 ax-border-transparent;
66
+
49
67
  &:hover,
50
68
  &:focus {
51
69
  @apply ax-bg-secondary-50 ax-text-secondary-600;
52
70
  }
71
+
53
72
  &:active {
54
73
  @apply ax-bg-secondary-100 ax-text-secondary-700;
55
74
  }
75
+
56
76
  &.ax-state-selected {
57
77
  @apply ax-bg-secondary-200;
58
78
  }
59
79
  }
80
+
60
81
  &.ax-warning {
61
82
  @apply ax-bg-transparent ax-text-warning-500 ax-border-transparent;
83
+
62
84
  &:hover,
63
85
  &:focus {
64
86
  @apply ax-bg-warning-50 ax-text-warning-600;
65
87
  }
88
+
66
89
  &:active {
67
90
  @apply ax-bg-warning-100 ax-text-warning-700;
68
91
  }
92
+
69
93
  &.ax-state-selected {
70
94
  @apply ax-bg-warning-200;
71
95
  }
72
96
  }
97
+
73
98
  &.ax-danger {
74
99
  @apply ax-bg-transparent ax-text-danger-500 ax-border-transparent;
100
+
75
101
  &:hover,
76
102
  &:focus {
77
103
  @apply ax-bg-danger-50 ax-text-danger-600;
78
104
  }
105
+
79
106
  &:active {
80
107
  @apply ax-bg-danger-100 ax-text-danger-700;
81
108
  }
109
+
82
110
  &.ax-state-selected {
83
111
  @apply ax-bg-danger-200;
84
112
  }
85
113
  }
114
+
86
115
  &.ax-success {
87
116
  @apply ax-bg-transparent ax-text-success-500 ax-border-transparent;
117
+
88
118
  &:hover,
89
119
  &:focus {
90
120
  @apply ax-bg-success-50 ax-text-success-600;
91
121
  }
122
+
92
123
  &:active {
93
124
  @apply ax-bg-success-100 ax-text-success-700;
94
125
  }
126
+
95
127
  &.ax-state-selected {
96
128
  @apply ax-bg-success-200;
97
129
  }
98
130
  }
131
+
99
132
  &.ax-info {
100
133
  @apply ax-bg-transparent ax-text-info-500 ax-border-transparent;
134
+
101
135
  &:hover,
102
136
  &:focus {
103
137
  @apply ax-bg-info-50 ax-text-info-600;
104
138
  }
139
+
105
140
  &:active {
106
141
  @apply ax-bg-info-100 ax-text-info-700;
107
142
  }
143
+
108
144
  &.ax-state-selected {
109
145
  @apply ax-bg-info-200;
110
146
  }
111
147
  }
148
+
112
149
  &.ax-dark {
113
150
  @apply ax-bg-transparent ax-text-dark-500 ax-border-transparent;
151
+
114
152
  &:hover,
115
153
  &:focus {
116
154
  @apply ax-bg-dark-50 ax-text-dark-600;
117
155
  }
156
+
118
157
  &:active {
119
158
  @apply ax-bg-dark-100 ax-text-dark-700;
120
159
  }
160
+
121
161
  &.ax-state-selected {
122
162
  @apply ax-bg-dark-200;
123
163
  }
124
164
  }
165
+
125
166
  &.ax-light {
126
167
  @apply ax-bg-transparent ax-text-light-fore ax-border-transparent;
168
+
127
169
  &:hover,
128
170
  &:focus {
129
171
  @apply ax-bg-light-500 ax-text-light-800;
130
172
  }
173
+
131
174
  &:active {
132
175
  @apply ax-bg-light-100 ax-text-light-700;
133
176
  }
177
+
134
178
  &.ax-state-selected {
135
179
  @apply ax-bg-light-600;
136
180
  }
@@ -1,30 +1,47 @@
1
- @import "../variables/mixins";
2
1
  @layer components {
3
2
  .ax-editor-container {
4
3
  height: calc(var(--ax-base-size) * var(--ax-base-ratio));
5
- @apply ax-flex ax-rounded ax-bg-white ax-bg-opacity-50 ax-overflow-hidden ax-shadow-sm ax-border ax-border-solid ax-border-default;
4
+ @apply ax-flex ax-rounded ax-bg-white ax-shadow-sm ax-border ax-border-solid ax-border-light-300 ax-controll;
6
5
  &:focus-within {
7
6
  @apply ax-ring-2 ax-ring-primary ax-ring-opacity-100 ax-border-transparent;
8
7
  }
9
8
  &.ax-button-icon {
10
9
  @apply ax-px-2;
11
10
  }
11
+ &:first-child {
12
+ }
12
13
  [class*=" ax-ic-"],
13
- [class^=ax-ic-] {
14
+ [class^="ax-ic-"] {
14
15
  font-size: 1.2rem !important;
15
16
  line-height: 1 !important;
16
17
  }
17
18
  .ax-input {
18
19
  line-height: 4 !important;
19
20
  min-width: 1%;
20
- @apply ax-text-sm ax-flex-1 ax-bg-transparent ax-border-none ax-px-2;
21
- @include respond(mobile) {
22
- @apply ax-text-base;
21
+ @apply ax-text-base ax-flex-1 ax-bg-transparent ax-border-none ax-px-2;
22
+ @screen md {
23
+ @apply ax-text-sm;
23
24
  }
24
25
  &:focus {
25
26
  box-shadow: none;
26
27
  }
27
28
  }
29
+ ax-prefix {
30
+ * {
31
+ @apply ax-rounded-s;
32
+ }
33
+ }
34
+ ax-suffix {
35
+ * {
36
+ @apply ax-rounded-e;
37
+ }
38
+ }
39
+ ax-prefix,
40
+ ax-suffix {
41
+ * {
42
+ @apply ax-h-full ax-flex ax-justify-center ax-items-center ax-rounded-none;
43
+ }
44
+ }
28
45
  ax-button {
29
46
  height: 100% !important;
30
47
  @apply ax-rounded-none;
@@ -38,12 +55,7 @@
38
55
  }
39
56
  }
40
57
  }
41
- ax-suffix,
42
- ax-prefix {
43
- * {
44
- @apply ax-h-full ax-flex ax-justify-center ax-items-center ax-rounded-none;
45
- }
46
- }
58
+
47
59
  &.ax-state-disabled {
48
60
  background-color: rgb(var(--ax-color-disabled)) !important;
49
61
  color: rgb(var(--ax-color-disabled-fore)) !important;
@@ -74,4 +86,4 @@
74
86
  }
75
87
  }
76
88
  }
77
- }
89
+ }
@@ -1,7 +1,7 @@
1
1
  @layer components {
2
2
  ax-label {
3
3
  label {
4
- @apply ax-block ax-font-medium ax-mb-2 ax-text-sm ax-text-light-700;
4
+ @apply ax-block ax-font-medium ax-mb-2 ax-text-sm ax-text-light-700 dark:ax-text-light-100;
5
5
  }
6
6
  }
7
7
  }
@@ -4,7 +4,7 @@
4
4
  }
5
5
  .ax-list-container {
6
6
  .ax-list-items-container {
7
- @apply ax-bg-white ax-py-1 ax-rounded ax-shadow ax-overflow-y-auto ax-h-full ax-border ax-border-solid ax-border-default;
7
+ @apply ax-py-1 ax-rounded ax-shadow ax-overflow-y-auto ax-h-full ax-border ax-border-solid ax-border-light-300 dark:ax-border-transparent;
8
8
  &.ax-vertical {
9
9
  @apply ax-grid ax-grid-cols-1;
10
10
  &.ax-divide {
@@ -22,11 +22,11 @@
22
22
  }
23
23
  &:hover {
24
24
  &:not(.ax-state-selected) {
25
- @apply ax-bg-light-100 ax-text-light-fore;
25
+ @apply ax-bg-light-100 ax-text-light-fore dark:ax-bg-white/[0.09] dark:ax-text-light-50;
26
26
  }
27
27
  }
28
28
  &.ax-state-selected {
29
- @apply ax-bg-primary-100 ax-text-primary ax-font-medium;
29
+ @apply ax-bg-primary-100 ax-text-primary ax-font-medium dark:ax-bg-primary dark:ax-text-primary-50;
30
30
  }
31
31
  &:focus,
32
32
  &.ax-state-focus {
@@ -1,7 +1,7 @@
1
1
  @layer components {
2
2
 
3
3
  ax-page-footer {
4
- @apply ax-grid ax-grid-cols-12 ax-gap-2 ax-px-3 ax-py-2 ax-border-t ax-border-solid ax-border-default;
4
+ @apply ax-grid ax-grid-cols-12 ax-gap-2 ax-px-3 ax-py-2 ax-border-t ax-border-solid ax-border-light-300 dark:ax-border-light-700;
5
5
 
6
6
  ax-prefix {
7
7
  @apply ax-flex ax-col-span-6 ax-col-start-1 ax-col-end-7 ax-justify-start;
@@ -15,7 +15,7 @@
15
15
  .ax-popup {
16
16
  max-height: 98vh;
17
17
  min-height: fit-content;
18
- @apply ax-flex ax-flex-col ax-bg-white ax-w-6/12 ax-shadow-lg ax-border ax-border-solid ax-border-default ax-rounded ax-outline-none ax-p-0;
18
+ @apply ax-flex ax-flex-col ax-bg-white ax-w-6/12 ax-shadow-lg ax-border ax-border-solid ax-border-light-300 ax-rounded ax-outline-none ax-p-0 ax-surface;
19
19
 
20
20
  header {
21
21
  @apply ax-flex ax-justify-between ax-px-3 ax-py-2;
@@ -26,7 +26,7 @@
26
26
  }
27
27
 
28
28
  footer {
29
- @apply ax-grid ax-grid-cols-12 ax-gap-2 ax-px-3 ax-py-2 ax-border-t ax-border-solid ax-border-default;
29
+ @apply ax-grid ax-grid-cols-12 ax-gap-2 ax-px-3 ax-py-2 ax-border-t ax-border-solid ax-border-light-300 dark:ax-border-white/[0.2];
30
30
 
31
31
  ax-prefix {
32
32
  @apply ax-flex ax-col-span-6 ax-col-start-1 ax-col-end-7 ax-justify-start;
@@ -1,12 +1,9 @@
1
- @import "../variables/mixins";
2
1
  @layer components {
3
2
  ax-radio {
4
3
  @apply ax-text-sm ax-font-medium ax-text-light-700;
5
- @include respond(mobile) {
6
- @apply ax-text-base;
7
- }
4
+
8
5
  .ax-radio {
9
- @apply ax-w-4 ax-h-4 ax-border-solid ax-border ax-border-default ax-rounded-full ax-bg-white ax-text-primary ax-m-0 ax-outline-none ax-align-middle ax-appearance-none;
6
+ @apply ax-w-4 ax-h-4 ax-border-solid ax-border ax-border-light-300 ax-rounded-full ax-bg-white ax-text-primary ax-m-0 ax-outline-none ax-align-middle ax-appearance-none ax-controll;
10
7
  &:checked {
11
8
  @apply ax-border-primary ax-bg-no-repeat ax-bg-current ax-bg-contain;
12
9
  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");
@@ -2,13 +2,14 @@
2
2
  .ax-range-slider {
3
3
  @apply ax-w-full;
4
4
  .ax-range-slider-input {
5
- @apply ax-appearance-none ax-w-full ax-h-2 ax-bg-light-100 ax-rounded-full ax-outline-none ax-transition-all;
5
+ @apply ax-appearance-none ax-w-full ax-h-2 ax-bg-light-100 ax-rounded-full ax-outline-none ax-transition-all dark:ax-bg-light-600;
6
6
  &::-webkit-slider-thumb {
7
- @apply ax-appearance-none ax-w-5 ax-h-5 ax-bg-white ax-shadow-sm ax-border ax-border-solid ax-border-default ax-rounded-full ax-cursor-pointer;
7
+ @apply ax-appearance-none ax-w-5 ax-h-5 ax-bg-white ax-shadow-sm ax-border ax-border-solid ax-border-light-300 ax-rounded-full ax-cursor-pointer dark:ax-bg-light-500;
8
8
  }
9
9
  &::-moz-range-thumb {
10
- @apply ax-appearance-none ax-w-5 ax-h-5 ax-bg-white ax-shadow-sm ax-border ax-border-solid ax-border-default ax-rounded-full ax-cursor-pointer;
10
+ @apply ax-appearance-none ax-w-5 ax-h-5 ax-bg-white ax-shadow-sm ax-border ax-border-solid ax-border-light-300 ax-rounded-full ax-cursor-pointer dark:ax-bg-light-500;
11
11
  }
12
+
12
13
  }
13
14
  }
14
15
  }
@@ -1,9 +1,7 @@
1
1
  @layer utilities {
2
- $base-color: #ddd;
3
2
  $shine-color: #eeeeee;
4
3
  .ax-skeleton {
5
- @apply ax-relative ax-overflow-hidden;
6
- background-color: $base-color;
4
+ @apply ax-relative ax-overflow-hidden ax-bg-light-200 dark:ax-bg-light-700;
7
5
  &.ax-skeleton-animate {
8
6
  &::before {
9
7
  content: "";
@@ -12,6 +12,7 @@
12
12
  &:checked {
13
13
  &+.ax-switch-slider {
14
14
  background-color: rgb(var(--ax-color-primary));
15
+
15
16
  &::before {
16
17
  -webkit-transform: translateX(calc(var(--ax-base-size) * var(--ax-base-ratio) - 18px));
17
18
  -ms-transform: translateX(calc(var(--ax-base-size) * var(--ax-base-ratio) - 18px));
@@ -31,6 +32,7 @@
31
32
  -webkit-transition: 0.2s;
32
33
  transition: 0.2s;
33
34
  border-radius: 25px;
35
+ @apply ax-controll;
34
36
  &::before {
35
37
  content: "";
36
38
  position: absolute;