Working on docs and polishing macros

This commit is contained in:
Ronan Berder
2025-04-27 23:19:52 +08:00
parent a82964545c
commit dee28f1ee5
33 changed files with 765 additions and 561 deletions
+28 -3
View File
@@ -336,9 +336,6 @@
.mx-auto {
margin-inline: auto;
}
.my-4 {
margin-block: calc(var(--spacing) * 4);
}
.my-6 {
margin-block: calc(var(--spacing) * 6);
}
@@ -1381,6 +1378,32 @@
}
}
}
.\[\&_a\:not\(\[class\]\)\]\:text-muted-foreground {
& a:not([class]) {
color: var(--color-muted-foreground);
}
}
.\[\&_a\:not\(\[class\]\)\]\:no-underline {
& a:not([class]) {
text-decoration-line: none;
}
}
.\[\&_a\:not\(\[class\]\)\]\:transition-colors {
& a:not([class]) {
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
transition-duration: var(--tw-duration, var(--default-transition-duration));
}
}
.\[\&_a\:not\(\[class\]\)\]\:hover\:text-foreground {
& a:not([class]) {
&:hover {
@media (hover: hover) {
color: var(--color-foreground);
}
}
}
}
.\[\&_img\]\:size-8 {
& img {
width: calc(var(--spacing) * 8);
@@ -2848,6 +2871,8 @@
display: flex;
height: calc(var(--spacing) * 10);
width: 100%;
min-width: calc(var(--spacing) * 0);
flex: 1;
border-radius: var(--radius-md);
background-color: transparent;
padding-block: calc(var(--spacing) * 3);
+1 -1
View File
@@ -660,7 +660,7 @@
@apply size-4 shrink-0 opacity-50;
}
input[role='combobox'] {
@apply placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50;
@apply placeholder:text-muted-foreground flex h-10 flex-1 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50 min-w-0;
}
}
[role='listbox']:not(:has([data-value]:not([aria-hidden='true'])))::before {