@acorex/styles 5.8.0 → 5.9.0

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,215 +1,215 @@
1
- @import "variables";
2
-
3
- @font-face {
4
- font-family: '#{$icomoon-font-family}';
5
- src: url('#{$icomoon-font-path}/#{$icomoon-font-family}.eot?bc3pev');
6
- src: url('#{$icomoon-font-path}/#{$icomoon-font-family}.eot?bc3pev#iefix') format('embedded-opentype'),
7
- url('#{$icomoon-font-path}/#{$icomoon-font-family}.ttf?bc3pev') format('truetype'),
8
- url('#{$icomoon-font-path}/#{$icomoon-font-family}.woff?bc3pev') format('woff'),
9
- url('#{$icomoon-font-path}/#{$icomoon-font-family}.svg?bc3pev##{$icomoon-font-family}') format('svg');
10
- font-weight: normal;
11
- font-style: normal;
12
- font-display: block;
13
- }
14
-
15
- [class^="ax-ic-"], [class*=" ax-ic-"] {
16
- /* use !important to prevent issues with browser extensions that change fonts */
17
- font-family: '#{$icomoon-font-family}' !important;
18
- speak: never;
19
- font-style: normal;
20
- font-weight: normal;
21
- font-variant: normal;
22
- text-transform: none;
23
- line-height: 1;
24
-
25
- /* Better Font Rendering =========== */
26
- -webkit-font-smoothing: antialiased;
27
- -moz-osx-font-smoothing: grayscale;
28
- }
29
-
30
- .ax-ic-empty-box {
31
- &:before {
32
- content: $ax-ic-empty-box;
33
- }
34
- }
35
- .ax-ic-colorize {
36
- &:before {
37
- content: $ax-ic-colorize;
38
- }
39
- }
40
- .ax-ic-pase {
41
- &:before {
42
- content: $ax-ic-pase;
43
- }
44
- }
45
- .ax-ic-copy {
46
- &:before {
47
- content: $ax-ic-copy;
48
- }
49
- }
50
- .ax-ic-star-filled {
51
- &:before {
52
- content: $ax-ic-star-filled;
53
- }
54
- }
55
- .ax-ic-star-half-filled {
56
- &:before {
57
- content: $ax-ic-star-half-filled;
58
- }
59
- }
60
- .ax-ic-star-outline {
61
- &:before {
62
- content: $ax-ic-star-outline;
63
- }
64
- }
65
- .ax-ic-remove {
66
- &:before {
67
- content: $ax-ic-remove;
68
- }
69
- }
70
- .ax-ic-plus {
71
- &:before {
72
- content: $ax-ic-plus;
73
- }
74
- }
75
- .ax-ic-magnify {
76
- &:before {
77
- content: $ax-ic-magnify;
78
- }
79
- }
80
- .ax-ic-arrow-circle {
81
- &:before {
82
- content: $ax-ic-arrow-circle;
83
- }
84
- }
85
- .ax-ic-arrow-circle-fill {
86
- &:before {
87
- content: $ax-ic-arrow-circle-fill;
88
- }
89
- }
90
- .ax-ic-arrow-half {
91
- &:before {
92
- content: $ax-ic-arrow-half;
93
- }
94
- }
95
- .ax-ic-arrow-fill {
96
- &:before {
97
- content: $ax-ic-arrow-fill;
98
- }
99
- }
100
- .ax-ic-arrow {
101
- &:before {
102
- content: $ax-ic-arrow;
103
- }
104
- }
105
- .ax-ic-unfold {
106
- &:before {
107
- content: $ax-ic-unfold;
108
- }
109
- }
110
- .ax-ic-half-arrow {
111
- &:before {
112
- content: $ax-ic-half-arrow;
113
- }
114
- }
115
- .ax-ic-fullscreen {
116
- &:before {
117
- content: $ax-ic-fullscreen;
118
- }
119
- }
120
- .ax-ic-close-fullscreen {
121
- &:before {
122
- content: $ax-ic-close-fullscreen;
123
- }
124
- }
125
- .ax-ic-fold {
126
- &:before {
127
- content: $ax-ic-fold;
128
- }
129
- }
130
- .ax-ic-eye {
131
- &:before {
132
- content: $ax-ic-eye;
133
- }
134
- }
135
- .ax-ic-eye-off {
136
- &:before {
137
- content: $ax-ic-eye-off;
138
- }
139
- }
140
- .ax-ic-calendar {
141
- &:before {
142
- content: $ax-ic-calendar;
143
- }
144
- }
145
- .ax-ic-time {
146
- &:before {
147
- content: $ax-ic-time;
148
- }
149
- }
150
- .ax-ic-check {
151
- &:before {
152
- content: $ax-ic-check;
153
- }
154
- }
155
- .ax-ic-check-filled {
156
- &:before {
157
- content: $ax-ic-check-filled;
158
- }
159
- }
160
- .ax-ic-chevron {
161
- &:before {
162
- content: $ax-ic-chevron;
163
- }
164
- }
165
- .ax-ic-close {
166
- &:before {
167
- content: $ax-ic-close;
168
- }
169
- }
170
- .ax-ic-error-filled {
171
- &:before {
172
- content: $ax-ic-error-filled;
173
- }
174
- }
175
- .ax-ic-chevron-page {
176
- &:before {
177
- content: $ax-ic-chevron-page;
178
- }
179
- }
180
- .ax-ic-info-filled {
181
- &:before {
182
- content: $ax-ic-info-filled;
183
- }
184
- }
185
- .ax-ic-chevron-double {
186
- &:before {
187
- content: $ax-ic-chevron-double;
188
- }
189
- }
190
- .ax-ic-menu {
191
- &:before {
192
- content: $ax-ic-menu;
193
- }
194
- }
195
- .ax-ic-more {
196
- &:before {
197
- content: $ax-ic-more;
198
- }
199
- }
200
- .ax-ic-warning-filled {
201
- &:before {
202
- content: $ax-ic-warning-filled;
203
- }
204
- }
205
- .ax-ic-chevron-page-filled {
206
- &:before {
207
- content: $ax-ic-chevron-page-filled;
208
- }
209
- }
210
- .ax-ic-calendar-today {
211
- &:before {
212
- content: $ax-ic-calendar-today;
213
- }
214
- }
215
-
1
+ @import "variables";
2
+
3
+ @font-face {
4
+ font-family: '#{$icomoon-font-family}';
5
+ src: url('#{$icomoon-font-path}/#{$icomoon-font-family}.eot?bc3pev');
6
+ src: url('#{$icomoon-font-path}/#{$icomoon-font-family}.eot?bc3pev#iefix') format('embedded-opentype'),
7
+ url('#{$icomoon-font-path}/#{$icomoon-font-family}.ttf?bc3pev') format('truetype'),
8
+ url('#{$icomoon-font-path}/#{$icomoon-font-family}.woff?bc3pev') format('woff'),
9
+ url('#{$icomoon-font-path}/#{$icomoon-font-family}.svg?bc3pev##{$icomoon-font-family}') format('svg');
10
+ font-weight: normal;
11
+ font-style: normal;
12
+ font-display: block;
13
+ }
14
+
15
+ [class^="ax-ic-"], [class*=" ax-ic-"] {
16
+ /* use !important to prevent issues with browser extensions that change fonts */
17
+ font-family: '#{$icomoon-font-family}' !important;
18
+ speak: never;
19
+ font-style: normal;
20
+ font-weight: normal;
21
+ font-variant: normal;
22
+ text-transform: none;
23
+ line-height: 1;
24
+
25
+ /* Better Font Rendering =========== */
26
+ -webkit-font-smoothing: antialiased;
27
+ -moz-osx-font-smoothing: grayscale;
28
+ }
29
+
30
+ .ax-ic-empty-box {
31
+ &:before {
32
+ content: $ax-ic-empty-box;
33
+ }
34
+ }
35
+ .ax-ic-colorize {
36
+ &:before {
37
+ content: $ax-ic-colorize;
38
+ }
39
+ }
40
+ .ax-ic-pase {
41
+ &:before {
42
+ content: $ax-ic-pase;
43
+ }
44
+ }
45
+ .ax-ic-copy {
46
+ &:before {
47
+ content: $ax-ic-copy;
48
+ }
49
+ }
50
+ .ax-ic-star-filled {
51
+ &:before {
52
+ content: $ax-ic-star-filled;
53
+ }
54
+ }
55
+ .ax-ic-star-half-filled {
56
+ &:before {
57
+ content: $ax-ic-star-half-filled;
58
+ }
59
+ }
60
+ .ax-ic-star-outline {
61
+ &:before {
62
+ content: $ax-ic-star-outline;
63
+ }
64
+ }
65
+ .ax-ic-remove {
66
+ &:before {
67
+ content: $ax-ic-remove;
68
+ }
69
+ }
70
+ .ax-ic-plus {
71
+ &:before {
72
+ content: $ax-ic-plus;
73
+ }
74
+ }
75
+ .ax-ic-magnify {
76
+ &:before {
77
+ content: $ax-ic-magnify;
78
+ }
79
+ }
80
+ .ax-ic-arrow-circle {
81
+ &:before {
82
+ content: $ax-ic-arrow-circle;
83
+ }
84
+ }
85
+ .ax-ic-arrow-circle-fill {
86
+ &:before {
87
+ content: $ax-ic-arrow-circle-fill;
88
+ }
89
+ }
90
+ .ax-ic-arrow-half {
91
+ &:before {
92
+ content: $ax-ic-arrow-half;
93
+ }
94
+ }
95
+ .ax-ic-arrow-fill {
96
+ &:before {
97
+ content: $ax-ic-arrow-fill;
98
+ }
99
+ }
100
+ .ax-ic-arrow {
101
+ &:before {
102
+ content: $ax-ic-arrow;
103
+ }
104
+ }
105
+ .ax-ic-unfold {
106
+ &:before {
107
+ content: $ax-ic-unfold;
108
+ }
109
+ }
110
+ .ax-ic-half-arrow {
111
+ &:before {
112
+ content: $ax-ic-half-arrow;
113
+ }
114
+ }
115
+ .ax-ic-fullscreen {
116
+ &:before {
117
+ content: $ax-ic-fullscreen;
118
+ }
119
+ }
120
+ .ax-ic-close-fullscreen {
121
+ &:before {
122
+ content: $ax-ic-close-fullscreen;
123
+ }
124
+ }
125
+ .ax-ic-fold {
126
+ &:before {
127
+ content: $ax-ic-fold;
128
+ }
129
+ }
130
+ .ax-ic-eye {
131
+ &:before {
132
+ content: $ax-ic-eye;
133
+ }
134
+ }
135
+ .ax-ic-eye-off {
136
+ &:before {
137
+ content: $ax-ic-eye-off;
138
+ }
139
+ }
140
+ .ax-ic-calendar {
141
+ &:before {
142
+ content: $ax-ic-calendar;
143
+ }
144
+ }
145
+ .ax-ic-time {
146
+ &:before {
147
+ content: $ax-ic-time;
148
+ }
149
+ }
150
+ .ax-ic-check {
151
+ &:before {
152
+ content: $ax-ic-check;
153
+ }
154
+ }
155
+ .ax-ic-check-filled {
156
+ &:before {
157
+ content: $ax-ic-check-filled;
158
+ }
159
+ }
160
+ .ax-ic-chevron {
161
+ &:before {
162
+ content: $ax-ic-chevron;
163
+ }
164
+ }
165
+ .ax-ic-close {
166
+ &:before {
167
+ content: $ax-ic-close;
168
+ }
169
+ }
170
+ .ax-ic-error-filled {
171
+ &:before {
172
+ content: $ax-ic-error-filled;
173
+ }
174
+ }
175
+ .ax-ic-chevron-page {
176
+ &:before {
177
+ content: $ax-ic-chevron-page;
178
+ }
179
+ }
180
+ .ax-ic-info-filled {
181
+ &:before {
182
+ content: $ax-ic-info-filled;
183
+ }
184
+ }
185
+ .ax-ic-chevron-double {
186
+ &:before {
187
+ content: $ax-ic-chevron-double;
188
+ }
189
+ }
190
+ .ax-ic-menu {
191
+ &:before {
192
+ content: $ax-ic-menu;
193
+ }
194
+ }
195
+ .ax-ic-more {
196
+ &:before {
197
+ content: $ax-ic-more;
198
+ }
199
+ }
200
+ .ax-ic-warning-filled {
201
+ &:before {
202
+ content: $ax-ic-warning-filled;
203
+ }
204
+ }
205
+ .ax-ic-chevron-page-filled {
206
+ &:before {
207
+ content: $ax-ic-chevron-page-filled;
208
+ }
209
+ }
210
+ .ax-ic-calendar-today {
211
+ &:before {
212
+ content: $ax-ic-calendar-today;
213
+ }
214
+ }
215
+
@@ -1,41 +1,41 @@
1
- $icomoon-font-family: "acorex-icon" !default;
2
- $icomoon-font-path: "fonts" !default;
3
-
4
- $ax-ic-empty-box: "\e924";
5
- $ax-ic-colorize: "\e921";
6
- $ax-ic-pase: "\e922";
7
- $ax-ic-copy: "\e923";
8
- $ax-ic-star-filled: "\e91e";
9
- $ax-ic-star-half-filled: "\e91f";
10
- $ax-ic-star-outline: "\e920";
11
- $ax-ic-remove: "\e91b";
12
- $ax-ic-plus: "\e91c";
13
- $ax-ic-magnify: "\e91d";
14
- $ax-ic-arrow-circle: "\e911";
15
- $ax-ic-arrow-circle-fill: "\e912";
16
- $ax-ic-arrow-half: "\e913";
17
- $ax-ic-arrow-fill: "\e914";
18
- $ax-ic-arrow: "\e915";
19
- $ax-ic-unfold: "\e916";
20
- $ax-ic-half-arrow: "\e917";
21
- $ax-ic-fullscreen: "\e918";
22
- $ax-ic-close-fullscreen: "\e919";
23
- $ax-ic-fold: "\e91a";
24
- $ax-ic-eye: "\e901";
25
- $ax-ic-eye-off: "\e902";
26
- $ax-ic-calendar: "\e903";
27
- $ax-ic-time: "\e900";
28
- $ax-ic-check: "\e904";
29
- $ax-ic-check-filled: "\e905";
30
- $ax-ic-chevron: "\e906";
31
- $ax-ic-close: "\e907";
32
- $ax-ic-error-filled: "\e908";
33
- $ax-ic-chevron-page: "\e909";
34
- $ax-ic-info-filled: "\e90a";
35
- $ax-ic-chevron-double: "\e90b";
36
- $ax-ic-menu: "\e90c";
37
- $ax-ic-more: "\e90d";
38
- $ax-ic-warning-filled: "\e90e";
39
- $ax-ic-chevron-page-filled: "\e90f";
40
- $ax-ic-calendar-today: "\e910";
41
-
1
+ $icomoon-font-family: "acorex-icon" !default;
2
+ $icomoon-font-path: "fonts" !default;
3
+
4
+ $ax-ic-empty-box: "\e924";
5
+ $ax-ic-colorize: "\e921";
6
+ $ax-ic-pase: "\e922";
7
+ $ax-ic-copy: "\e923";
8
+ $ax-ic-star-filled: "\e91e";
9
+ $ax-ic-star-half-filled: "\e91f";
10
+ $ax-ic-star-outline: "\e920";
11
+ $ax-ic-remove: "\e91b";
12
+ $ax-ic-plus: "\e91c";
13
+ $ax-ic-magnify: "\e91d";
14
+ $ax-ic-arrow-circle: "\e911";
15
+ $ax-ic-arrow-circle-fill: "\e912";
16
+ $ax-ic-arrow-half: "\e913";
17
+ $ax-ic-arrow-fill: "\e914";
18
+ $ax-ic-arrow: "\e915";
19
+ $ax-ic-unfold: "\e916";
20
+ $ax-ic-half-arrow: "\e917";
21
+ $ax-ic-fullscreen: "\e918";
22
+ $ax-ic-close-fullscreen: "\e919";
23
+ $ax-ic-fold: "\e91a";
24
+ $ax-ic-eye: "\e901";
25
+ $ax-ic-eye-off: "\e902";
26
+ $ax-ic-calendar: "\e903";
27
+ $ax-ic-time: "\e900";
28
+ $ax-ic-check: "\e904";
29
+ $ax-ic-check-filled: "\e905";
30
+ $ax-ic-chevron: "\e906";
31
+ $ax-ic-close: "\e907";
32
+ $ax-ic-error-filled: "\e908";
33
+ $ax-ic-chevron-page: "\e909";
34
+ $ax-ic-info-filled: "\e90a";
35
+ $ax-ic-chevron-double: "\e90b";
36
+ $ax-ic-menu: "\e90c";
37
+ $ax-ic-more: "\e90d";
38
+ $ax-ic-warning-filled: "\e90e";
39
+ $ax-ic-chevron-page-filled: "\e90f";
40
+ $ax-ic-calendar-today: "\e910";
41
+
@@ -41,80 +41,17 @@
41
41
 
42
42
  @mixin control-states($type) {
43
43
  @if ($type == "editor") {
44
- @apply dark:ax-border-white/[0.07] dark:ax-bg-white/[0.07] dark:ax-backdrop-blur-3xl;
44
+ @apply dark:ax-border-white/10 dark:ax-bg-white/10 dark:ax-backdrop-blur-3xl;
45
45
  }
46
46
  @if ($type == "editor-disabled") {
47
- @apply ax-bg-light-100 ax-text-light-fore dark:ax-border-white/[0.07] dark:ax-bg-white/[0.-04] dark:ax-text-opacity-60 ax-cursor-not-allowed #{!important};
47
+ @apply ax-bg-light-100 ax-text-light-fore dark:ax-border-white/10 dark:ax-bg-white/[0.-04] dark:ax-text-opacity-60 ax-cursor-not-allowed #{!important};
48
48
  }
49
49
  @if ($type == "surface") {
50
- @apply dark:ax-bg-default-background dark:ax-border-white/[0.16] dark:ax-shadow-md;
50
+ @apply dark:ax-bg-default-background dark:ax-border-white/10 dark:ax-shadow-md;
51
51
  }
52
52
  }
53
53
 
54
- @mixin color-look($color, $look) {
55
- @if ($look == "default") {
56
- @if ($color == "light") {
57
- @apply ax-bg-#{$color}-100 ax-text-#{$color}-fore;
58
- } @else {
59
- @apply ax-bg-#{$color}-500 ax-text-#{$color}-fore;
60
- }
61
- .ax-alert-progress{
62
- @apply ax-bg-#{$color}-800;
63
- }
64
- }
65
- @if ($look == "outline") {
66
- @apply ax-bg-transparent ax-text-#{$color}-500 ax-border ax-rounded-md ax-border-#{$color}-500;
67
- ax-header {
68
- @apply ax-bg-#{$color}-50;
69
- }
70
- .ax-alert-progress{
71
- @apply ax-bg-#{$color}-100;
72
- }
73
- }
74
- @if ($look == "twotone") {
75
- @apply ax-bg-#{$color}-100 ax-text-#{$color}-500;
76
- .ax-alert-progress{
77
- @apply ax-bg-#{$color}-500;
78
- }
79
- }
80
- @if ($look == "blank") {
81
- @apply ax-bg-transparent ax-text-#{$color}-500;
82
- .ax-alert-progress{
83
- @apply ax-bg-#{$color}-100;
84
- }
85
-
86
- }
87
- }
88
-
89
- @mixin color-look-generator() {
90
- $colors: ("primary", "secondary", "success", "warning", "danger", "info", "light", "dark");
91
- $looks: ("default", "outline", "twotone", "blank");
92
- @each $c in $colors {
93
- @each $l in $looks {
94
- &.ax-#{$c}-#{$l} {
95
- @include color-look($c, $l);
96
- }
97
- }
98
- }
99
- }
100
54
 
101
- // @mixin button-on-colorful-bg {
102
- // ax-button {
103
- // @apply ax-bg-black/20 ax-text-sm ax-border-0 ax-outline-0 ax-ring-0 ax-ring-transparent ax-h-auto ax-shadow-none ax-font-semibold #{!important};
104
- // & > button {
105
- // @apply ax-py-1.5 ax-px-2;
106
- // }
107
- // &:focus,
108
- // &:focus-within,
109
- // &:active,
110
- // &:hover {
111
- // @apply ax-bg-black/30 ax-ring-0 ax-border-0 ax-outline-0 ax-shadow-none ax-ring-transparent ax-ring-offset-0 #{!important};
112
- // }
113
- // &:active {
114
- // @apply ax-bg-black/40 #{!important};
115
- // }
116
- // }
117
- // }
118
55
 
119
56
  @mixin rtl {
120
57
  .ax-rtl {
@@ -1,20 +1,20 @@
1
1
  @layer utilities {
2
2
  .ax-sm {
3
- --ax-base-size: 6px;
3
+ --ax-base-size: calc(var(--ax-size) - 2px);
4
4
  font-size: 0.75rem;
5
5
  * {
6
6
  font-size: 0.75rem;
7
7
  }
8
8
  }
9
9
  .ax-md {
10
- --ax-base-size: 8px;
10
+ --ax-base-size: var(--ax-size);
11
11
  font-size: 1rem;
12
12
  * {
13
13
  font-size: 1rem;
14
14
  }
15
15
  }
16
16
  .ax-lg {
17
- --ax-base-size: 10px;
17
+ --ax-base-size: calc(var(--ax-size) + 2px);
18
18
  font-size: 1.125rem;
19
19
  * {
20
20
  font-size: 1.125rem;