@acorex/styles 22.0.0-next.34 → 22.0.0-next.35
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.
|
@@ -38,19 +38,41 @@
|
|
|
38
38
|
@apply pe-2;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
ax-suffix > ax-icon,
|
|
42
|
-
ax-prefix > ax-icon {
|
|
43
|
-
@apply text-muted;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
41
|
ax-prefix,
|
|
47
42
|
ax-suffix {
|
|
48
43
|
@apply flex items-center gap-2 self-stretch;
|
|
49
44
|
}
|
|
50
45
|
|
|
46
|
+
/*
|
|
47
|
+
* Unified adornments (icon / text / kbd) inside prefix & suffix.
|
|
48
|
+
* Buttons keep their own look and stretch rules below.
|
|
49
|
+
*/
|
|
50
|
+
ax-prefix:not(:has(> ax-button)),
|
|
51
|
+
ax-suffix:not(:has(> ax-button)) {
|
|
52
|
+
@apply shrink-0 items-center self-center;
|
|
53
|
+
|
|
54
|
+
> ax-icon,
|
|
55
|
+
> ax-text,
|
|
56
|
+
> ax-kbd {
|
|
57
|
+
@apply text-muted inline-flex max-h-full max-w-full items-center justify-center leading-none;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
> ax-icon {
|
|
61
|
+
@apply size-4 text-sm;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
> ax-text {
|
|
65
|
+
@apply text-sm whitespace-nowrap;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
> ax-kbd {
|
|
69
|
+
@apply shrink-0;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
51
73
|
ax-prefix:has(> ax-button),
|
|
52
74
|
ax-suffix:has(> ax-button) {
|
|
53
|
-
@apply items-stretch
|
|
75
|
+
@apply size-auto! w-auto! max-h-none! shrink-0 items-stretch! self-stretch!;
|
|
54
76
|
}
|
|
55
77
|
|
|
56
78
|
ax-prefix {
|
package/package.json
CHANGED
package/themes/default.css
CHANGED
|
@@ -2247,7 +2247,15 @@ html.ax-dark {
|
|
|
2247
2247
|
}
|
|
2248
2248
|
|
|
2249
2249
|
@utility text-muted {
|
|
2250
|
-
@apply text-text-default/
|
|
2250
|
+
@apply text-text-default/80;
|
|
2251
|
+
}
|
|
2252
|
+
|
|
2253
|
+
@utility bg-muted {
|
|
2254
|
+
@apply bg-bg-default/80;
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2257
|
+
@utility border-muted {
|
|
2258
|
+
@apply border-border-default/80;
|
|
2251
2259
|
}
|
|
2252
2260
|
|
|
2253
2261
|
@utility bg-default {
|