@acorex/styles 22.1.7 → 22.2.0-next.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.
- package/components/_action-item.css +12 -1
- package/components/_drop-down.css +15 -2
- package/components/_editor-container.css +32 -37
- package/icons/fontawesome/_variables.css +3 -0
- package/icons/fontawesome/index.css +7 -0
- package/icons/huge/huge-bulk/_variables.css +3 -0
- package/icons/huge/huge-bulk/index.css +7 -0
- package/icons/huge/huge-duotone/_variables.css +3 -0
- package/icons/huge/huge-duotone/index.css +7 -0
- package/icons/huge/huge-solid-rounded/_variables.css +3 -0
- package/icons/huge/huge-solid-rounded/index.css +7 -0
- package/icons/huge/huge-solid-sharp/_variables.css +3 -0
- package/icons/huge/huge-solid-sharp/index.css +7 -0
- package/icons/huge/huge-solid-standard/_variables.css +3 -0
- package/icons/huge/huge-solid-standard/index.css +7 -0
- package/icons/huge/huge-stroke-rounded/_variables.css +3 -0
- package/icons/huge/huge-stroke-rounded/index.css +7 -0
- package/icons/huge/huge-stroke-sharp/_variables.css +2 -0
- package/icons/huge/huge-stroke-sharp/index.css +7 -0
- package/icons/huge/huge-stroke-standard/_variables.css +2 -0
- package/icons/huge/huge-stroke-standard/index.css +7 -0
- package/icons/huge/huge-twotone/_variables.css +3 -0
- package/icons/huge/huge-twotone/index.css +7 -0
- package/icons/lucide/_variables.css +3 -0
- package/icons/lucide/index.css +7 -0
- package/icons/material/_variables.css +3 -0
- package/icons/material/index.css +7 -0
- package/package.json +1 -1
- package/themes/default.css +44 -10
|
@@ -60,11 +60,22 @@
|
|
|
60
60
|
& > div {
|
|
61
61
|
display: flex;
|
|
62
62
|
align-items: center;
|
|
63
|
-
|
|
63
|
+
align-self: stretch;
|
|
64
|
+
justify-content: flex-start;
|
|
64
65
|
&.ax-action-item-prefix,
|
|
65
66
|
&.ax-action-item-suffix {
|
|
66
67
|
gap: 0.5rem;
|
|
67
68
|
}
|
|
69
|
+
&.ax-action-item-suffix {
|
|
70
|
+
flex: 0 0 auto;
|
|
71
|
+
margin-inline-start: auto;
|
|
72
|
+
}
|
|
73
|
+
&.ax-action-item-suffix .ax-icon {
|
|
74
|
+
display: inline-flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
line-height: 1;
|
|
78
|
+
}
|
|
68
79
|
}
|
|
69
80
|
ax-prefix {
|
|
70
81
|
display: flex;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.ax-overlay-pane {
|
|
16
|
+
--ax-comp-dropdown-list-max-height: 50vh;
|
|
16
17
|
--ax-comp-dropdown-shadow-rest: var(--ax-sys-effect-overlay);
|
|
17
18
|
--ax-comp-dropdown-inner-border-rest: var(--ax-sys-inner-border-surface);
|
|
18
19
|
--ax-comp-dropdown-contrast-inner-border-rest: var(--ax-sys-contrast-inner-border-surface);
|
|
@@ -66,16 +67,28 @@
|
|
|
66
67
|
max-width: 90vh;
|
|
67
68
|
}
|
|
68
69
|
|
|
70
|
+
&:has(ax-button-item-list),
|
|
71
|
+
&:has(.ax-button-item-submenu) {
|
|
72
|
+
max-height: var(--ax-comp-dropdown-list-max-height);
|
|
73
|
+
overflow-x: hidden;
|
|
74
|
+
overflow-y: auto;
|
|
75
|
+
overscroll-behavior: contain;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.ax-button-item-submenu-panel {
|
|
79
|
+
padding-block: var(--ax-comp-button-item-list-padding-block, 0.25rem);
|
|
80
|
+
}
|
|
81
|
+
|
|
69
82
|
&.ax-overlay-actionsheet {
|
|
70
83
|
height: auto;
|
|
71
84
|
max-height: 85vh;
|
|
72
85
|
width: 100%;
|
|
73
86
|
max-width: 100%;
|
|
74
87
|
background-color: rgba(var(--ax-sys-color-lightest-surface));
|
|
75
|
-
/*
|
|
88
|
+
/* Scrim is a real `.ax-overlay-backdrop` so it blocks clicks. A shadow spread does not hit-test. */
|
|
76
89
|
box-shadow:
|
|
77
90
|
var(--ax-comp-dropdown-contrast-inner-border-rest), var(--ax-comp-dropdown-inner-border-rest),
|
|
78
|
-
var(--ax-comp-dropdown-shadow-rest)
|
|
91
|
+
var(--ax-comp-dropdown-shadow-rest);
|
|
79
92
|
}
|
|
80
93
|
}
|
|
81
94
|
|
|
@@ -34,10 +34,7 @@
|
|
|
34
34
|
var(--ax-comp-editor-contrast-surface-overlay-rest),
|
|
35
35
|
var(--ax-comp-editor-contrast-surface-overlay-rest)
|
|
36
36
|
),
|
|
37
|
-
linear-gradient(
|
|
38
|
-
var(--ax-comp-editor-surface-overlay-rest),
|
|
39
|
-
var(--ax-comp-editor-surface-overlay-rest)
|
|
40
|
-
);
|
|
37
|
+
linear-gradient(var(--ax-comp-editor-surface-overlay-rest), var(--ax-comp-editor-surface-overlay-rest));
|
|
41
38
|
transform: none;
|
|
42
39
|
transition-property: box-shadow, border-color, background-color, color;
|
|
43
40
|
transition-duration: var(--ax-comp-editor-transition-duration);
|
|
@@ -68,9 +65,22 @@
|
|
|
68
65
|
.ax-input,
|
|
69
66
|
.ax-editor {
|
|
70
67
|
font-size: inherit;
|
|
68
|
+
color: rgba(var(--ax-sys-color-on-lightest-surface));
|
|
71
69
|
|
|
72
70
|
@apply w-full flex-1 py-2 outline-0 outline-transparent;
|
|
73
71
|
}
|
|
72
|
+
|
|
73
|
+
.ax-input:-webkit-autofill,
|
|
74
|
+
.ax-input:-webkit-autofill:hover,
|
|
75
|
+
.ax-input:-webkit-autofill:focus,
|
|
76
|
+
.ax-input:-webkit-autofill:active,
|
|
77
|
+
textarea:-webkit-autofill,
|
|
78
|
+
textarea:-webkit-autofill:hover,
|
|
79
|
+
textarea:-webkit-autofill:focus,
|
|
80
|
+
textarea:-webkit-autofill:active {
|
|
81
|
+
-webkit-text-fill-color: rgba(var(--ax-sys-color-on-lightest-surface), 1) !important;
|
|
82
|
+
caret-color: rgba(var(--ax-sys-color-on-lightest-surface), 1);
|
|
83
|
+
}
|
|
74
84
|
.ax-placeholder {
|
|
75
85
|
@apply opacity-50;
|
|
76
86
|
}
|
|
@@ -86,7 +96,7 @@
|
|
|
86
96
|
}
|
|
87
97
|
}
|
|
88
98
|
|
|
89
|
-
&:has(.ax-general-button-control, .ax-general-button-icon):not(:has(ax-suffix > ax-button)) {
|
|
99
|
+
&:has(.ax-general-button-control, .ax-general-button-icon):not(:has(> ax-suffix > ax-button)) {
|
|
90
100
|
@apply pe-2;
|
|
91
101
|
}
|
|
92
102
|
|
|
@@ -99,8 +109,8 @@
|
|
|
99
109
|
* Unified adornments (icon / text / kbd) inside prefix & suffix.
|
|
100
110
|
* Buttons keep their own look and stretch rules below.
|
|
101
111
|
*/
|
|
102
|
-
ax-prefix:not(:has(> ax-button)),
|
|
103
|
-
ax-suffix:not(:has(> ax-button)) {
|
|
112
|
+
> ax-prefix:not(:has(> ax-button)),
|
|
113
|
+
> ax-suffix:not(:has(> ax-button)) {
|
|
104
114
|
@apply shrink-0 items-center self-center;
|
|
105
115
|
|
|
106
116
|
> ax-icon,
|
|
@@ -122,12 +132,12 @@
|
|
|
122
132
|
}
|
|
123
133
|
}
|
|
124
134
|
|
|
125
|
-
ax-prefix:has(> ax-button),
|
|
126
|
-
ax-suffix:has(> ax-button) {
|
|
127
|
-
@apply size-auto!
|
|
135
|
+
> ax-prefix:has(> ax-button),
|
|
136
|
+
> ax-suffix:has(> ax-button) {
|
|
137
|
+
@apply size-auto! max-h-none! w-auto! shrink-0 items-stretch! self-stretch!;
|
|
128
138
|
}
|
|
129
139
|
|
|
130
|
-
ax-prefix {
|
|
140
|
+
> ax-prefix {
|
|
131
141
|
@apply pe-2;
|
|
132
142
|
}
|
|
133
143
|
}
|
|
@@ -135,21 +145,21 @@
|
|
|
135
145
|
|
|
136
146
|
@layer components {
|
|
137
147
|
.ax-editor-container {
|
|
138
|
-
&:has(ax-prefix > ax-button),
|
|
139
|
-
&:has(ax-suffix > ax-button) {
|
|
148
|
+
&:has(> ax-prefix > ax-button),
|
|
149
|
+
&:has(> ax-suffix > ax-button) {
|
|
140
150
|
@apply py-0;
|
|
141
151
|
}
|
|
142
152
|
|
|
143
|
-
&:has(ax-prefix > ax-button) {
|
|
153
|
+
&:has(> ax-prefix > ax-button) {
|
|
144
154
|
@apply ps-0!;
|
|
145
155
|
}
|
|
146
156
|
|
|
147
|
-
&:has(ax-suffix > ax-button) {
|
|
157
|
+
&:has(> ax-suffix > ax-button) {
|
|
148
158
|
@apply pe-0!;
|
|
149
159
|
}
|
|
150
160
|
|
|
151
|
-
ax-prefix > ax-button,
|
|
152
|
-
ax-suffix > ax-button {
|
|
161
|
+
> ax-prefix > ax-button,
|
|
162
|
+
> ax-suffix > ax-button {
|
|
153
163
|
@apply shrink-0 self-stretch rounded-none!;
|
|
154
164
|
|
|
155
165
|
> button {
|
|
@@ -170,10 +180,7 @@
|
|
|
170
180
|
var(--ax-comp-editor-contrast-surface-overlay-rest),
|
|
171
181
|
var(--ax-comp-editor-contrast-surface-overlay-rest)
|
|
172
182
|
),
|
|
173
|
-
linear-gradient(
|
|
174
|
-
var(--ax-comp-editor-surface-overlay-rest),
|
|
175
|
-
var(--ax-comp-editor-surface-overlay-rest)
|
|
176
|
-
);
|
|
183
|
+
linear-gradient(var(--ax-comp-editor-surface-overlay-rest), var(--ax-comp-editor-surface-overlay-rest));
|
|
177
184
|
transform: none;
|
|
178
185
|
}
|
|
179
186
|
|
|
@@ -189,10 +196,7 @@
|
|
|
189
196
|
var(--ax-comp-editor-contrast-surface-overlay-rest),
|
|
190
197
|
var(--ax-comp-editor-contrast-surface-overlay-rest)
|
|
191
198
|
),
|
|
192
|
-
linear-gradient(
|
|
193
|
-
var(--ax-comp-editor-surface-overlay-hover),
|
|
194
|
-
var(--ax-comp-editor-surface-overlay-hover)
|
|
195
|
-
);
|
|
199
|
+
linear-gradient(var(--ax-comp-editor-surface-overlay-hover), var(--ax-comp-editor-surface-overlay-hover));
|
|
196
200
|
}
|
|
197
201
|
|
|
198
202
|
&:is(.ax-solid, .ax-outline, .ax-twotone, .ax-fill, .ax-flat, .ax-blank).ax-state-readonly {
|
|
@@ -203,10 +207,7 @@
|
|
|
203
207
|
var(--ax-comp-editor-contrast-surface-overlay-rest),
|
|
204
208
|
var(--ax-comp-editor-contrast-surface-overlay-rest)
|
|
205
209
|
),
|
|
206
|
-
linear-gradient(
|
|
207
|
-
var(--ax-comp-editor-surface-overlay-readonly),
|
|
208
|
-
var(--ax-comp-editor-surface-overlay-readonly)
|
|
209
|
-
);
|
|
210
|
+
linear-gradient(var(--ax-comp-editor-surface-overlay-readonly), var(--ax-comp-editor-surface-overlay-readonly));
|
|
210
211
|
}
|
|
211
212
|
|
|
212
213
|
&:is(.ax-solid, .ax-outline, .ax-twotone, .ax-fill, .ax-flat, .ax-blank).ax-state-disabled {
|
|
@@ -217,10 +218,7 @@
|
|
|
217
218
|
var(--ax-comp-editor-contrast-surface-overlay-rest),
|
|
218
219
|
var(--ax-comp-editor-contrast-surface-overlay-rest)
|
|
219
220
|
),
|
|
220
|
-
linear-gradient(
|
|
221
|
-
var(--ax-comp-editor-surface-overlay-disabled),
|
|
222
|
-
var(--ax-comp-editor-surface-overlay-disabled)
|
|
223
|
-
);
|
|
221
|
+
linear-gradient(var(--ax-comp-editor-surface-overlay-disabled), var(--ax-comp-editor-surface-overlay-disabled));
|
|
224
222
|
opacity: var(--ax-sys-contrast-disabled-opacity, 1);
|
|
225
223
|
}
|
|
226
224
|
|
|
@@ -236,10 +234,7 @@
|
|
|
236
234
|
var(--ax-comp-editor-contrast-surface-overlay-rest),
|
|
237
235
|
var(--ax-comp-editor-contrast-surface-overlay-rest)
|
|
238
236
|
),
|
|
239
|
-
linear-gradient(
|
|
240
|
-
var(--ax-comp-editor-surface-overlay-focus),
|
|
241
|
-
var(--ax-comp-editor-surface-overlay-focus)
|
|
242
|
-
);
|
|
237
|
+
linear-gradient(var(--ax-comp-editor-surface-overlay-focus), var(--ax-comp-editor-surface-overlay-focus));
|
|
243
238
|
}
|
|
244
239
|
|
|
245
240
|
&.ax-state-error {
|
|
@@ -555,3 +555,10 @@
|
|
|
555
555
|
.ax-icon-paragraph::after {
|
|
556
556
|
content: var(--ax-icon-paragraph-after);
|
|
557
557
|
}
|
|
558
|
+
|
|
559
|
+
.ax-icon-text-direction-rtl::before {
|
|
560
|
+
content: var(--ax-icon-text-direction-rtl);
|
|
561
|
+
}
|
|
562
|
+
.ax-icon-text-direction-rtl::after {
|
|
563
|
+
content: var(--ax-icon-text-direction-rtl-after);
|
|
564
|
+
}
|
|
@@ -149,6 +149,9 @@
|
|
|
149
149
|
--ax-icon-un-order-list: '\fee2'; /* left-to-right-list-bullet */
|
|
150
150
|
--ax-icon-un-order-list-after: '\fee1'; /* left-to-right-list-bullet */
|
|
151
151
|
|
|
152
|
+
--ax-icon-text-direction-rtl: '\fee4'; /* right-to-left-list-bullet */
|
|
153
|
+
--ax-icon-text-direction-rtl-after: '\fee3'; /* right-to-left-list-bullet */
|
|
154
|
+
|
|
152
155
|
--ax-icon-align-left: '\f647'; /* text-align-left */
|
|
153
156
|
--ax-icon-align-left-after: '\f650'; /* text-align-left */
|
|
154
157
|
|
|
@@ -520,3 +520,10 @@
|
|
|
520
520
|
.ax-icon-code::after {
|
|
521
521
|
content: var(--ax-icon-code-after);
|
|
522
522
|
}
|
|
523
|
+
|
|
524
|
+
.ax-icon-text-direction-rtl::before {
|
|
525
|
+
content: var(--ax-icon-text-direction-rtl);
|
|
526
|
+
}
|
|
527
|
+
.ax-icon-text-direction-rtl::after {
|
|
528
|
+
content: var(--ax-icon-text-direction-rtl-after);
|
|
529
|
+
}
|
|
@@ -149,6 +149,9 @@
|
|
|
149
149
|
--ax-icon-un-order-list: 'ু'; /* left-to-right-list-bullet */
|
|
150
150
|
--ax-icon-un-order-list-after: 'ী'; /* left-to-right-list-bullet */
|
|
151
151
|
|
|
152
|
+
--ax-icon-text-direction-rtl: ''; /* right-to-left-list-bullet */
|
|
153
|
+
--ax-icon-text-direction-rtl-after: ''; /* right-to-left-list-bullet */
|
|
154
|
+
|
|
152
155
|
--ax-icon-align-left: 'ᙱ'; /* text-align-left */
|
|
153
156
|
--ax-icon-align-left-after: 'ᙰ'; /* text-align-left */
|
|
154
157
|
|
|
@@ -517,3 +517,10 @@
|
|
|
517
517
|
.ax-icon-code::after {
|
|
518
518
|
content: var(--ax-icon-code-after);
|
|
519
519
|
}
|
|
520
|
+
|
|
521
|
+
.ax-icon-text-direction-rtl::before {
|
|
522
|
+
content: var(--ax-icon-text-direction-rtl);
|
|
523
|
+
}
|
|
524
|
+
.ax-icon-text-direction-rtl::after {
|
|
525
|
+
content: var(--ax-icon-text-direction-rtl-after);
|
|
526
|
+
}
|
|
@@ -149,6 +149,9 @@
|
|
|
149
149
|
--ax-icon-un-order-list: 'ሏ'; /* left-to-right-list-bullet */
|
|
150
150
|
--ax-icon-un-order-list-after: ''; /* left-to-right-list-bullet */
|
|
151
151
|
|
|
152
|
+
--ax-icon-text-direction-rtl: 'ሐ'; /* right-to-left-list-bullet */
|
|
153
|
+
--ax-icon-text-direction-rtl-after: ''; /* right-to-left-list-bullet */
|
|
154
|
+
|
|
152
155
|
--ax-icon-align-left: 'ᡨ'; /* text-align-left */
|
|
153
156
|
--ax-icon-align-left-after: ''; /* text-align-left */
|
|
154
157
|
|
|
@@ -517,3 +517,10 @@
|
|
|
517
517
|
.ax-icon-code::after {
|
|
518
518
|
content: var(--ax-icon-code-after);
|
|
519
519
|
}
|
|
520
|
+
|
|
521
|
+
.ax-icon-text-direction-rtl::before {
|
|
522
|
+
content: var(--ax-icon-text-direction-rtl);
|
|
523
|
+
}
|
|
524
|
+
.ax-icon-text-direction-rtl::after {
|
|
525
|
+
content: var(--ax-icon-text-direction-rtl-after);
|
|
526
|
+
}
|
|
@@ -517,3 +517,10 @@
|
|
|
517
517
|
.ax-icon-code::after {
|
|
518
518
|
content: var(--ax-icon-code-after);
|
|
519
519
|
}
|
|
520
|
+
|
|
521
|
+
.ax-icon-text-direction-rtl::before {
|
|
522
|
+
content: var(--ax-icon-text-direction-rtl);
|
|
523
|
+
}
|
|
524
|
+
.ax-icon-text-direction-rtl::after {
|
|
525
|
+
content: var(--ax-icon-text-direction-rtl-after);
|
|
526
|
+
}
|
|
@@ -516,3 +516,10 @@
|
|
|
516
516
|
.ax-icon-code::after {
|
|
517
517
|
content: var(--ax-icon-code-after);
|
|
518
518
|
}
|
|
519
|
+
|
|
520
|
+
.ax-icon-text-direction-rtl::before {
|
|
521
|
+
content: var(--ax-icon-text-direction-rtl);
|
|
522
|
+
}
|
|
523
|
+
.ax-icon-text-direction-rtl::after {
|
|
524
|
+
content: var(--ax-icon-text-direction-rtl-after);
|
|
525
|
+
}
|
|
@@ -149,6 +149,9 @@
|
|
|
149
149
|
--ax-icon-un-order-list: '䉬';
|
|
150
150
|
--ax-icon-un-order-list-after: '';
|
|
151
151
|
|
|
152
|
+
--ax-icon-text-direction-rtl: '䘗'; /* right-to-left-list-bullet */
|
|
153
|
+
--ax-icon-text-direction-rtl-after: ''; /* right-to-left-list-bullet */
|
|
154
|
+
|
|
152
155
|
--ax-icon-align-left: '䣄';
|
|
153
156
|
--ax-icon-align-left-after: '';
|
|
154
157
|
|
|
@@ -515,3 +515,10 @@
|
|
|
515
515
|
.ax-icon-code::after {
|
|
516
516
|
content: var(--ax-icon-code-after);
|
|
517
517
|
}
|
|
518
|
+
|
|
519
|
+
.ax-icon-text-direction-rtl::before {
|
|
520
|
+
content: var(--ax-icon-text-direction-rtl);
|
|
521
|
+
}
|
|
522
|
+
.ax-icon-text-direction-rtl::after {
|
|
523
|
+
content: var(--ax-icon-text-direction-rtl-after);
|
|
524
|
+
}
|
|
@@ -99,6 +99,8 @@
|
|
|
99
99
|
--ax-icon-order-list-after: ''; /* left-to-right-list-number */
|
|
100
100
|
--ax-icon-un-order-list: '劋'; /* left-to-right-list-bullet */
|
|
101
101
|
--ax-icon-un-order-list-after: ''; /* left-to-right-list-bullet */
|
|
102
|
+
--ax-icon-text-direction-rtl: '劌'; /* right-to-left-list-bullet */
|
|
103
|
+
--ax-icon-text-direction-rtl-after: ''; /* right-to-left-list-bullet */
|
|
102
104
|
--ax-icon-align-left: '壤'; /* text-align-left */
|
|
103
105
|
--ax-icon-align-left-after: ''; /* text-align-left */
|
|
104
106
|
--ax-icon-align-right: '壦'; /* text-align-right */
|
|
@@ -515,3 +515,10 @@
|
|
|
515
515
|
.ax-icon-code::after {
|
|
516
516
|
content: var(--ax-icon-code-after);
|
|
517
517
|
}
|
|
518
|
+
|
|
519
|
+
.ax-icon-text-direction-rtl::before {
|
|
520
|
+
content: var(--ax-icon-text-direction-rtl);
|
|
521
|
+
}
|
|
522
|
+
.ax-icon-text-direction-rtl::after {
|
|
523
|
+
content: var(--ax-icon-text-direction-rtl-after);
|
|
524
|
+
}
|
|
@@ -100,6 +100,8 @@
|
|
|
100
100
|
--ax-icon-order-list-after: ''; /* left-to-right-list-number */
|
|
101
101
|
--ax-icon-un-order-list: '抪'; /* left-to-right-list-bullet */
|
|
102
102
|
--ax-icon-un-order-list-after: ''; /* left-to-right-list-bullet */
|
|
103
|
+
--ax-icon-text-direction-rtl: '披'; /* right-to-left-list-bullet */
|
|
104
|
+
--ax-icon-text-direction-rtl-after: ''; /* right-to-left-list-bullet */
|
|
103
105
|
--ax-icon-align-left: '椃'; /* text-align-left */
|
|
104
106
|
--ax-icon-align-left-after: ''; /* text-align-left */
|
|
105
107
|
--ax-icon-align-right: '椅'; /* text-align-right */
|
|
@@ -515,3 +515,10 @@
|
|
|
515
515
|
.ax-icon-code::after {
|
|
516
516
|
content: var(--ax-icon-code-after);
|
|
517
517
|
}
|
|
518
|
+
|
|
519
|
+
.ax-icon-text-direction-rtl::before {
|
|
520
|
+
content: var(--ax-icon-text-direction-rtl);
|
|
521
|
+
}
|
|
522
|
+
.ax-icon-text-direction-rtl::after {
|
|
523
|
+
content: var(--ax-icon-text-direction-rtl-after);
|
|
524
|
+
}
|
|
@@ -149,6 +149,9 @@
|
|
|
149
149
|
--ax-icon-un-order-list: '窚'; /* left-to-right-list-bullet */
|
|
150
150
|
--ax-icon-un-order-list-after: '窙'; /* left-to-right-list-bullet */
|
|
151
151
|
|
|
152
|
+
--ax-icon-text-direction-rtl: '窜'; /* right-to-left-list-bullet */
|
|
153
|
+
--ax-icon-text-direction-rtl-after: '窛'; /* right-to-left-list-bullet */
|
|
154
|
+
|
|
152
155
|
--ax-icon-align-left: '蝌'; /* text-align-left */
|
|
153
156
|
--ax-icon-align-left-after: '蝋'; /* text-align-left */
|
|
154
157
|
|
|
@@ -516,3 +516,10 @@
|
|
|
516
516
|
.ax-icon-code::after {
|
|
517
517
|
content: var(--ax-icon-code-after);
|
|
518
518
|
}
|
|
519
|
+
|
|
520
|
+
.ax-icon-text-direction-rtl::before {
|
|
521
|
+
content: var(--ax-icon-text-direction-rtl);
|
|
522
|
+
}
|
|
523
|
+
.ax-icon-text-direction-rtl::after {
|
|
524
|
+
content: var(--ax-icon-text-direction-rtl-after);
|
|
525
|
+
}
|
package/icons/lucide/index.css
CHANGED
|
@@ -541,3 +541,10 @@
|
|
|
541
541
|
.ax-icon-paragraph::after {
|
|
542
542
|
content: var(--ax-icon-paragraph-after);
|
|
543
543
|
}
|
|
544
|
+
|
|
545
|
+
.ax-icon-text-direction-rtl::before {
|
|
546
|
+
content: var(--ax-icon-text-direction-rtl);
|
|
547
|
+
}
|
|
548
|
+
.ax-icon-text-direction-rtl::after {
|
|
549
|
+
content: var(--ax-icon-text-direction-rtl-after);
|
|
550
|
+
}
|
package/icons/material/index.css
CHANGED
|
@@ -561,6 +561,13 @@
|
|
|
561
561
|
content: var(--ax-icon-paragraph-after);
|
|
562
562
|
}
|
|
563
563
|
|
|
564
|
+
.ax-icon-text-direction-rtl::before {
|
|
565
|
+
content: var(--ax-icon-text-direction-rtl);
|
|
566
|
+
}
|
|
567
|
+
.ax-icon-text-direction-rtl::after {
|
|
568
|
+
content: var(--ax-icon-text-direction-rtl-after);
|
|
569
|
+
}
|
|
570
|
+
|
|
564
571
|
.ax-icon-thin {
|
|
565
572
|
--ax-sys-icon-weight: 100;
|
|
566
573
|
}
|
package/package.json
CHANGED
package/themes/default.css
CHANGED
|
@@ -8,10 +8,17 @@
|
|
|
8
8
|
input:-webkit-autofill,
|
|
9
9
|
input:-webkit-autofill:hover,
|
|
10
10
|
input:-webkit-autofill:focus,
|
|
11
|
+
input:-webkit-autofill:active,
|
|
11
12
|
textarea:-webkit-autofill,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
textarea:-webkit-autofill:hover,
|
|
14
|
+
textarea:-webkit-autofill:focus,
|
|
15
|
+
textarea:-webkit-autofill:active,
|
|
16
|
+
select:-webkit-autofill,
|
|
17
|
+
select:-webkit-autofill:hover,
|
|
18
|
+
select:-webkit-autofill:focus,
|
|
19
|
+
select:-webkit-autofill:active {
|
|
20
|
+
-webkit-text-fill-color: rgba(var(--ax-sys-color-on-lightest-surface), 1) !important;
|
|
21
|
+
caret-color: rgba(var(--ax-sys-color-on-lightest-surface), 1);
|
|
15
22
|
transition: background-color 9999s ease-in-out 0s;
|
|
16
23
|
}
|
|
17
24
|
|
|
@@ -41,11 +48,13 @@ select:-webkit-autofill {
|
|
|
41
48
|
html {
|
|
42
49
|
background-color: rgba(var(--ax-sys-color-lightest-surface));
|
|
43
50
|
color: rgba(var(--ax-sys-color-on-lightest-surface));
|
|
51
|
+
color-scheme: light;
|
|
44
52
|
}
|
|
45
53
|
|
|
46
54
|
html.ax-dark {
|
|
47
55
|
background-color: rgba(var(--ax-sys-color-darkest-surface));
|
|
48
56
|
color: rgba(var(--ax-sys-color-on-darkest-surface));
|
|
57
|
+
color-scheme: dark;
|
|
49
58
|
}
|
|
50
59
|
|
|
51
60
|
:root {
|
|
@@ -1265,6 +1274,7 @@ html.ax-dark {
|
|
|
1265
1274
|
* list/menu text does not stay dark-on-dark.
|
|
1266
1275
|
*/
|
|
1267
1276
|
color: rgba(var(--ax-sys-color-on-darkest-surface));
|
|
1277
|
+
color-scheme: dark;
|
|
1268
1278
|
}
|
|
1269
1279
|
|
|
1270
1280
|
/*
|
|
@@ -3396,7 +3406,7 @@ html.ax-dark {
|
|
|
3396
3406
|
}
|
|
3397
3407
|
|
|
3398
3408
|
@utility ax-state-readonly {
|
|
3399
|
-
@apply cursor-text
|
|
3409
|
+
@apply cursor-text *:cursor-text;
|
|
3400
3410
|
}
|
|
3401
3411
|
|
|
3402
3412
|
@utility ax-focus-ring {
|
|
@@ -3507,7 +3517,11 @@ html.ax-dark {
|
|
|
3507
3517
|
|
|
3508
3518
|
@utility ax-fill-interactive {
|
|
3509
3519
|
@supports (color: color-mix(in lab, red, red)) {
|
|
3510
|
-
--ax-comp-ripple-color: color-mix(
|
|
3520
|
+
--ax-comp-ripple-color: color-mix(
|
|
3521
|
+
in oklab,
|
|
3522
|
+
var(--ax-comp-ink, var(--ax-comp-bg, var(--color-on-lightest))) 25%,
|
|
3523
|
+
transparent
|
|
3524
|
+
);
|
|
3511
3525
|
}
|
|
3512
3526
|
@apply ax-fill transition-colors outline-none;
|
|
3513
3527
|
&:not(.ax-state-disabled, .ax-state-loading, .ax-state-selected) {
|
|
@@ -3551,7 +3565,11 @@ html.ax-dark {
|
|
|
3551
3565
|
|
|
3552
3566
|
@utility ax-flat-interactive {
|
|
3553
3567
|
@supports (color: color-mix(in lab, red, red)) {
|
|
3554
|
-
--ax-comp-ripple-color: color-mix(
|
|
3568
|
+
--ax-comp-ripple-color: color-mix(
|
|
3569
|
+
in oklab,
|
|
3570
|
+
var(--ax-comp-ink, var(--ax-comp-bg, var(--color-on-lightest))) 25%,
|
|
3571
|
+
transparent
|
|
3572
|
+
);
|
|
3555
3573
|
}
|
|
3556
3574
|
@apply ax-flat transition-colors outline-none;
|
|
3557
3575
|
&:not(.ax-state-disabled, .ax-state-loading, .ax-state-selected) {
|
|
@@ -3658,7 +3676,11 @@ html.ax-dark {
|
|
|
3658
3676
|
|
|
3659
3677
|
@utility ax-outline-interactive {
|
|
3660
3678
|
@supports (color: color-mix(in lab, red, red)) {
|
|
3661
|
-
--ax-comp-ripple-color: color-mix(
|
|
3679
|
+
--ax-comp-ripple-color: color-mix(
|
|
3680
|
+
in oklab,
|
|
3681
|
+
var(--ax-comp-ink, var(--ax-comp-bg, var(--color-on-lightest))) 25%,
|
|
3682
|
+
transparent
|
|
3683
|
+
);
|
|
3662
3684
|
}
|
|
3663
3685
|
@apply ax-outline outline-none;
|
|
3664
3686
|
&:not(.ax-state-disabled, .ax-state-loading, .ax-state-selected) {
|
|
@@ -3699,7 +3721,11 @@ html.ax-dark {
|
|
|
3699
3721
|
|
|
3700
3722
|
@utility ax-twotone-interactive {
|
|
3701
3723
|
@supports (color: color-mix(in lab, red, red)) {
|
|
3702
|
-
--ax-comp-ripple-color: color-mix(
|
|
3724
|
+
--ax-comp-ripple-color: color-mix(
|
|
3725
|
+
in oklab,
|
|
3726
|
+
var(--ax-comp-ink, var(--ax-comp-bg, var(--color-on-lightest))) 25%,
|
|
3727
|
+
transparent
|
|
3728
|
+
);
|
|
3703
3729
|
}
|
|
3704
3730
|
@apply ax-twotone outline-none;
|
|
3705
3731
|
&:not(.ax-state-disabled, .ax-state-loading, .ax-state-selected) {
|
|
@@ -3745,7 +3771,11 @@ html.ax-dark {
|
|
|
3745
3771
|
|
|
3746
3772
|
@utility ax-blank-interactive {
|
|
3747
3773
|
@supports (color: color-mix(in lab, red, red)) {
|
|
3748
|
-
--ax-comp-ripple-color: color-mix(
|
|
3774
|
+
--ax-comp-ripple-color: color-mix(
|
|
3775
|
+
in oklab,
|
|
3776
|
+
var(--ax-comp-ink, var(--ax-comp-bg, var(--color-on-lightest))) 25%,
|
|
3777
|
+
transparent
|
|
3778
|
+
);
|
|
3749
3779
|
}
|
|
3750
3780
|
@apply ax-blank outline-none;
|
|
3751
3781
|
&:not(.ax-state-disabled, .ax-state-loading, .ax-state-selected) {
|
|
@@ -3785,7 +3815,11 @@ html.ax-dark {
|
|
|
3785
3815
|
|
|
3786
3816
|
@utility ax-link-interactive {
|
|
3787
3817
|
@supports (color: color-mix(in lab, red, red)) {
|
|
3788
|
-
--ax-comp-ripple-color: color-mix(
|
|
3818
|
+
--ax-comp-ripple-color: color-mix(
|
|
3819
|
+
in oklab,
|
|
3820
|
+
var(--ax-comp-ink, var(--ax-comp-bg, var(--color-on-lightest))) 25%,
|
|
3821
|
+
transparent
|
|
3822
|
+
);
|
|
3789
3823
|
}
|
|
3790
3824
|
@apply ax-link transition-colors outline-none;
|
|
3791
3825
|
&:not(.ax-state-disabled, .ax-state-loading, .ax-state-selected) {
|