Skip to content

Commit 2502007

Browse files
committed
fix(test) default value for colors is dark
1 parent 3047a0e commit 2502007

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/composables/useSettings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export function useAccentColor() {
7474

7575
const accentColors = computed(() => {
7676
const mode = (colorMode.value || 'dark') as 'light' | 'dark'
77-
const colors = ACCENT_COLORS[mode]
77+
const colors = ACCENT_COLORS[mode] ?? ACCENT_COLORS.dark
7878

7979
return Object.entries(colors).map(([id, value]) => ({
8080
id: id as AccentColorId,

0 commit comments

Comments
 (0)