Redesign homepage with server status and shimmer background #1
2 changed files with 16 additions and 6 deletions
|
|
@ -123,11 +123,21 @@
|
|||
--sidebar-ring: oklch(0.552 0.016 285.938);
|
||||
}
|
||||
|
||||
@supports (corner-shape: squircle) {
|
||||
* {
|
||||
corner-shape: superellipse(2);
|
||||
--radius:1.5rem;
|
||||
}
|
||||
/* Inside @layer base so utilities like [corner-shape:round] can override it.
|
||||
Unlayered rules beat every layer, which would make overrides a no-op. */
|
||||
@layer base {
|
||||
@supports (corner-shape: squircle) {
|
||||
* {
|
||||
corner-shape: superellipse(2);
|
||||
--radius:1.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Capsule/circle radii stay round: a superellipse corner on a full radius
|
||||
distorts the pill/circle shape. Merges with Tailwind's built-in rounded-full. */
|
||||
@utility rounded-full {
|
||||
corner-shape: round;
|
||||
}
|
||||
|
||||
@layer base {
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ function QuestionnaireChoice({
|
|||
<span
|
||||
aria-hidden="true"
|
||||
data-slot="questionnaire-choice-indicator"
|
||||
className="pointer-events-none relative flex size-4 shrink-0 translate-y-[--spacing(0.45)] items-center justify-center rounded-[4px] border border-input group-has-data-[slot=questionnaire-choice-description]/questionnaire-choice:translate-y-0.5 group-data-[type=radio]/questionnaire-choice:rounded-full group-data-checked/questionnaire-choice:border-primary group-data-checked/questionnaire-choice:bg-primary group-data-checked/questionnaire-choice:text-primary-foreground dark:bg-input/30 dark:group-data-checked/questionnaire-choice:bg-primary"
|
||||
className="pointer-events-none relative flex size-4 shrink-0 translate-y-[--spacing(0.45)] items-center justify-center rounded-[4px] border border-input group-has-data-[slot=questionnaire-choice-description]/questionnaire-choice:translate-y-0.5 group-data-[type=checkbox]/questionnaire-choice:[corner-shape:round] group-data-[type=radio]/questionnaire-choice:rounded-full group-data-checked/questionnaire-choice:border-primary group-data-checked/questionnaire-choice:bg-primary group-data-checked/questionnaire-choice:text-primary-foreground dark:bg-input/30 dark:group-data-checked/questionnaire-choice:bg-primary"
|
||||
>
|
||||
<span
|
||||
data-slot="questionnaire-choice-indicator-dot"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue