radiant-docs 0.1.45 → 0.1.46
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/package.json
CHANGED
|
@@ -377,9 +377,7 @@ const CardGradient = hasCover
|
|
|
377
377
|
"hover:before:-inset-2.5 hover:before:bg-neutral-50 dark:hover:before:bg-(--rd-code-surface)",
|
|
378
378
|
rootIsLink &&
|
|
379
379
|
"cursor-pointer outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
380
|
-
hasCover
|
|
381
|
-
? "before:rounded-t-2xl"
|
|
382
|
-
: "before:rounded-t-xl dark:before:bg-(--rd-code-surface)",
|
|
380
|
+
hasCover ? "before:rounded-t-2xl" : "before:rounded-t-xl",
|
|
383
381
|
]}
|
|
384
382
|
>
|
|
385
383
|
{
|
|
@@ -458,7 +456,7 @@ const CardGradient = hasCover
|
|
|
458
456
|
cardButton && (
|
|
459
457
|
<a
|
|
460
458
|
href={cardButton.href}
|
|
461
|
-
class="rd-card-button relative z-10 inline-flex h-8 shrink-0 items-center justify-center self-center rounded-xl [corner-shape:superellipse(1.2)] px-3 text-[13px]
|
|
459
|
+
class="rd-card-button relative z-10 inline-flex h-8 shrink-0 items-center justify-center self-center rounded-xl [corner-shape:superellipse(1.2)] px-3 text-[13px] no-underline transition-opacity duration-200 hover:opacity-95 focus-visible:outline-none focus-visible:ring-ring/50 focus-visible:ring-[3px]"
|
|
462
460
|
style={cardButtonStyle}
|
|
463
461
|
>
|
|
464
462
|
{cardButton.text}
|
|
@@ -473,11 +471,7 @@ const CardGradient = hasCover
|
|
|
473
471
|
.rd-card-button {
|
|
474
472
|
--rd-card-button-theme: var(--rd-card-button-theme-light);
|
|
475
473
|
--rd-card-button-foreground: var(--rd-card-button-foreground-light);
|
|
476
|
-
background:
|
|
477
|
-
to bottom,
|
|
478
|
-
color-mix(in oklab, var(--rd-card-button-theme) 88%, white),
|
|
479
|
-
color-mix(in oklab, var(--rd-card-button-theme) 90%, black)
|
|
480
|
-
);
|
|
474
|
+
background: var(--rd-card-button-theme);
|
|
481
475
|
color: var(--rd-card-button-foreground);
|
|
482
476
|
}
|
|
483
477
|
|