Skip to content

Commit 336e8fa

Browse files
ci: apply automated fixes
1 parent e637312 commit 336e8fa

File tree

2 files changed

+29
-19
lines changed

2 files changed

+29
-19
lines changed

src/server/og/colors.ts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ import type { LibraryId } from '~/libraries'
44
// Values are Tailwind v4 default palette (500 shades) with an override
55
// for black/gray-100 libraries so they stay legible on the dark canvas.
66
const LIBRARY_ACCENT_COLORS: Record<string, string> = {
7-
query: '#fb2c36', // red-500
8-
router: '#00bc7d', // emerald-500
9-
start: '#00b8db', // cyan-500
10-
table: '#2b7fff', // blue-500
11-
form: '#f0b100', // yellow-500
12-
db: '#ff6900', // orange-500
13-
ai: '#f6339a', // pink-500
14-
intent: '#00a6f4', // sky-500
15-
virtual: '#ad46ff', // purple-500
16-
pacer: '#7ccf00', // lime-500
17-
hotkeys: '#ff2056', // rose-500
18-
store: '#ae7d44', // twine-500 (custom token in app.css)
19-
ranger: '#f5f5f5', // gray-100 (black/gray-100 library)
20-
config: '#f5f5f5', // gray-100
21-
devtools: '#f5f5f5', // gray-100
22-
cli: '#615fff', // indigo-500
23-
mcp: '#f5f5f5', // gray-100 (hidden library, fallback)
7+
query: '#fb2c36', // red-500
8+
router: '#00bc7d', // emerald-500
9+
start: '#00b8db', // cyan-500
10+
table: '#2b7fff', // blue-500
11+
form: '#f0b100', // yellow-500
12+
db: '#ff6900', // orange-500
13+
ai: '#f6339a', // pink-500
14+
intent: '#00a6f4', // sky-500
15+
virtual: '#ad46ff', // purple-500
16+
pacer: '#7ccf00', // lime-500
17+
hotkeys: '#ff2056', // rose-500
18+
store: '#ae7d44', // twine-500 (custom token in app.css)
19+
ranger: '#f5f5f5', // gray-100 (black/gray-100 library)
20+
config: '#f5f5f5', // gray-100
21+
devtools: '#f5f5f5', // gray-100
22+
cli: '#615fff', // indigo-500
23+
mcp: '#f5f5f5', // gray-100 (hidden library, fallback)
2424
}
2525

2626
const DEFAULT_ACCENT = '#f5f5f5'

src/server/og/generate.server.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,18 @@ export async function generateOgPng(
5050
width: 1200,
5151
height: 630,
5252
fonts: [
53-
{ name: 'Inter', data: assets.interRegular, weight: 700, style: 'normal' },
54-
{ name: 'Inter', data: assets.interExtraBold, weight: 800, style: 'normal' },
53+
{
54+
name: 'Inter',
55+
data: assets.interRegular,
56+
weight: 700,
57+
style: 'normal',
58+
},
59+
{
60+
name: 'Inter',
61+
data: assets.interExtraBold,
62+
weight: 800,
63+
style: 'normal',
64+
},
5565
],
5666
})
5767

0 commit comments

Comments
 (0)