UI: update OG border

This commit is contained in:
Fuma Nama
2026-04-23 00:20:45 +08:00
parent 054f30644d
commit 0e8405aeee
5 changed files with 17 additions and 3 deletions
+6
View File
@@ -0,0 +1,6 @@
---
'fumadocs-ui': patch
'@fumadocs/base-ui': patch
---
Update default OG image
+5
View File
@@ -0,0 +1,5 @@
---
'@fumadocs/local-md': patch
---
fix file watcher pattern matching
+1 -1
View File
@@ -62,7 +62,7 @@ export function generate({
color: 'white',
padding: '4rem',
backgroundColor: '#0c0c0c',
border: `8px ${primaryColor}`,
border: `18px ${primaryColor}`,
}}
>
<p
+4 -1
View File
@@ -37,12 +37,15 @@ export async function startDevServer(options: DevServerOptions): Promise<DevServ
let watchOptions: ChokidarOptions = {
ignoreInitial: true,
followSymlinks: false,
ignored(file) {
ignored(file, _stats) {
if (!_stats || !_stats.isFile()) return false;
for (const client of clients) {
for (const [dir, { matcher }] of client.watching) {
if (matcher(path.relative(dir, file))) return false;
}
}
return true;
},
};
+1 -1
View File
@@ -62,7 +62,7 @@ export function generate({
color: 'white',
padding: '4rem',
backgroundColor: '#0c0c0c',
border: `8px ${primaryColor}`,
border: `18px ${primaryColor}`,
}}
>
<p