Skip to content

Commit 6722945

Browse files
authored
fix: add neutral to accentColorIds in prehydration (#1797)
1 parent b8e8976 commit 6722945

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

app/utils/prehydrate.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,15 @@ export function initPreferencesOnPrehydrate() {
1010
// All constants must be hardcoded inside the callback.
1111
onPrehydrate(() => {
1212
// Valid accent color IDs (must match --swatch-* variables defined in main.css)
13-
const accentColorIds = new Set(['coral', 'amber', 'emerald', 'sky', 'violet', 'magenta'])
13+
const accentColorIds = new Set([
14+
'sky',
15+
'coral',
16+
'amber',
17+
'emerald',
18+
'violet',
19+
'magenta',
20+
'neutral',
21+
])
1422

1523
// Valid package manager IDs
1624
const validPMs = new Set(['npm', 'pnpm', 'yarn', 'bun', 'deno', 'vlt'])

0 commit comments

Comments
 (0)