Files
nullcart/backend/src/consts/storefrontThemePreferences.ts
T
nobswebdev ffc9a0bbe5 Add system theme preference to the storefront.
Default to system when no theme cookie is set so pages follow OS appearance, and expose Light, Dark, and System in the theme switcher.
2026-09-11 19:15:46 +02:00

2 lines
82 B
TypeScript

export const STOREFRONT_THEME_PREFERENCES = ['light', 'dark', 'system'] as const;