Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion app/utils/prehydrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@ export function initPreferencesOnPrehydrate() {
// All constants must be hardcoded inside the callback.
onPrehydrate(() => {
// Valid accent color IDs (must match --swatch-* variables defined in main.css)
const accentColorIds = new Set(['coral', 'amber', 'emerald', 'sky', 'violet', 'magenta'])
const accentColorIds = new Set([
'sky',
'coral',
'amber',
'emerald',
'violet',
'magenta',
'neutral',
])

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