We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3047a0e commit 2502007Copy full SHA for 2502007
1 file changed
app/composables/useSettings.ts
@@ -74,7 +74,7 @@ export function useAccentColor() {
74
75
const accentColors = computed(() => {
76
const mode = (colorMode.value || 'dark') as 'light' | 'dark'
77
- const colors = ACCENT_COLORS[mode]
+ const colors = ACCENT_COLORS[mode] ?? ACCENT_COLORS.dark
78
79
return Object.entries(colors).map(([id, value]) => ({
80
id: id as AccentColorId,
0 commit comments