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.
This commit is contained in:
2026-09-11 19:15:46 +02:00
parent 77cd686347
commit ffc9a0bbe5
13 changed files with 65 additions and 35 deletions
@@ -0,0 +1 @@
export const STOREFRONT_THEME_PREFERENCES = ['light', 'dark', 'system'] as const;