fumadocs-ui 16.15.0 → 16.15.2

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/css/vitepress.css CHANGED
@@ -12,7 +12,7 @@
12
12
  --color-fd-ring: hsl(0, 0%, 63.9%);
13
13
 
14
14
  --color-fd-background: hsl(0, 0%, 100%);
15
- --color-fd-card: hsl(0, 0%, 100%);
15
+ --color-fd-card: hsl(240, 8%, 97%);
16
16
  --color-fd-foreground: hsl(240, 6%, 25%);
17
17
  --color-fd-muted-foreground: hsl(240, 6%, 50%);
18
18
  --color-fd-secondary: hsl(240, 6%, 97%);
@@ -25,18 +25,18 @@
25
25
  --color-fd-primary: hsl(234, 100%, 83%);
26
26
  --color-fd-secondary-foreground: hsl(60, 100%, 98%);
27
27
  --color-fd-card-foreground: hsl(60, 100%, 98%);
28
- --color-fd-background: hsl(240, 7%, 11%);
28
+ --color-fd-background: #1b1b1f;
29
29
  --color-fd-foreground: hsl(60, 100%, 98%);
30
30
  --color-fd-popover: hsl(240, 7%, 11%);
31
31
  --color-fd-popover-foreground: hsl(60, 100%, 98%);
32
32
  --color-fd-primary-foreground: hsl(240, 7%, 11%);
33
- --color-fd-card: hsl(240, 7%, 11%);
33
+ --color-fd-card: hsl(240, 4%, 9%);
34
34
  --color-fd-muted: hsl(0, 0%, 13%);
35
- --color-fd-border: hsl(240, 4%, 19%);
36
- --color-fd-accent: hsl(0, 0%, 15%);
37
- --color-fd-secondary: hsl(240, 4%, 9%);
35
+ --color-fd-border: hsl(240, 5.2%, 18%);
36
+ --color-fd-accent: hsl(240, 5.4%, 21%);
37
+ --color-fd-secondary: hsl(240, 5%, 19%);
38
38
  --color-fd-accent-foreground: hsl(0, 0%, 100%);
39
- --color-fd-muted-foreground: hsl(240, 4%, 65%);
39
+ --color-fd-muted-foreground: hsl(240, 5%, 58%);
40
40
  }
41
41
 
42
42
  .prose {
@@ -52,14 +52,21 @@
52
52
  }
53
53
 
54
54
  #nd-sidebar {
55
- background-color: hsl(240, 6%, 97%);
55
+ background-color: hsl(240, 8%, 97%);
56
56
  border-color: transparent;
57
57
  }
58
58
 
59
59
  .dark #nd-sidebar {
60
+ --color-fd-muted-foreground: hsl(240, 6%, 64%);
60
61
  background-color: hsl(240, 4%, 9%);
61
62
  }
62
63
 
63
- button[data-search-full] {
64
- background-color: var(--color-fd-background);
64
+ @layer utilities {
65
+ button[data-search-full] {
66
+ background-color: var(--color-fd-background);
67
+ }
68
+
69
+ figure.shiki {
70
+ background-color: var(--color-fd-card);
71
+ }
65
72
  }
@@ -3,7 +3,7 @@ import { VariantProps } from "class-variance-authority";
3
3
  declare const buttonVariants: (props?: ({
4
4
  variant?: "primary" | "outline" | "ghost" | "secondary" | null | undefined;
5
5
  color?: "primary" | "outline" | "ghost" | "secondary" | null | undefined;
6
- size?: "icon" | "sm" | "icon-sm" | "icon-xs" | null | undefined;
6
+ size?: "sm" | "icon" | "icon-sm" | "icon-xs" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  type ButtonProps = VariantProps<typeof buttonVariants>;
9
9
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import { ComponentProps } from "react";
2
2
  //#region src/layouts/home/slots/header.d.ts
3
3
  declare const navItemVariants: (props?: ({
4
- variant?: "button" | "main" | "icon" | null | undefined;
4
+ variant?: "main" | "icon" | "button" | null | undefined;
5
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
6
  declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>;
7
7
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-ui",
3
- "version": "16.15.0",
3
+ "version": "16.15.2",
4
4
  "description": "The Radix UI version of Fumadocs UI",
5
5
  "keywords": [
6
6
  "Docs",
@@ -147,8 +147,8 @@
147
147
  "@radix-ui/react-tabs": "^1.1.21",
148
148
  "class-variance-authority": "^0.7.1",
149
149
  "cnfast": "^0.1.0",
150
- "lucide-react": "^1.31.0",
151
- "motion": "^13.1.0",
150
+ "lucide-react": "^1.34.0",
151
+ "motion": "^13.1.1",
152
152
  "next-themes": "^0.4.6",
153
153
  "react-remove-scroll": "^2.7.2",
154
154
  "rehype-raw": "^7.0.0",
@@ -163,16 +163,16 @@
163
163
  "@tsdown/css": "^0.22.14",
164
164
  "@types/hast": "^3.0.5",
165
165
  "@types/mdx": "^2.0.14",
166
- "@types/node": "^26.2.0",
166
+ "@types/node": "^26.3.0",
167
167
  "@types/react": "^19.2.18",
168
- "@types/react-dom": "^19.2.4",
168
+ "@types/react-dom": "^19.2.5",
169
169
  "fuma-cli": "^0.1.1",
170
170
  "react-medium-image-zoom": "^5.4.9",
171
171
  "tailwindcss": "^4.3.3",
172
172
  "tsdown": "0.22.14",
173
173
  "unified": "^11.0.5",
174
174
  "@fumadocs/cli": "1.4.1",
175
- "fumadocs-core": "16.15.0",
175
+ "fumadocs-core": "16.15.2",
176
176
  "tsconfig": "0.0.0"
177
177
  },
178
178
  "peerDependencies": {
@@ -182,7 +182,7 @@
182
182
  "react": "^19.2.0",
183
183
  "react-dom": "^19.2.0",
184
184
  "takumi-js": "*",
185
- "fumadocs-core": "16.15.0"
185
+ "fumadocs-core": "16.15.2"
186
186
  },
187
187
  "peerDependenciesMeta": {
188
188
  "next": {