radiant-docs 0.1.43 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "radiant-docs",
3
- "version": "0.1.43",
3
+ "version": "0.1.46",
4
4
  "description": "CLI tool for previewing Radiant documentation locally",
5
5
  "type": "module",
6
6
  "bin": {
@@ -324,6 +324,9 @@ export default defineConfig({
324
324
  },
325
325
  vite: {
326
326
  plugins: [tailwindcss(), copyContentAssets()],
327
+ optimizeDeps: {
328
+ include: ["@paper-design/shaders"],
329
+ },
327
330
  },
328
331
  output: "static",
329
332
  build: {
@@ -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] font-[350] no-underline transition-opacity duration-200 hover:opacity-95 focus-visible:outline-none focus-visible:ring-ring/50 focus-visible:ring-[3px] dark:font-[450]"
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: linear-gradient(
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
 
@@ -314,7 +314,7 @@
314
314
 
315
315
  /* Code single-line styling */
316
316
  :is(.prose, .prose-rules) :not(pre) > code {
317
- @apply px-1 py-px bg-neutral-100/90 text-neutral-600 rounded-md font-mono font-medium border border-neutral-200/80 after:hidden before:hidden dark:bg-neutral-800/80 dark:text-neutral-200 dark:border-neutral-700/80;
317
+ @apply px-1.5 bg-neutral-100/80 text-neutral-700/90 rounded-sm leading-none font-mono font-normal border border-neutral-900/6 after:hidden before:hidden dark:bg-neutral-800/80 dark:text-neutral-200 dark:border-neutral-700/80;
318
318
  }
319
319
 
320
320
  [data-rd-code-theme] [data-rd-token] {