/** * Every setting the theme switcher understands, with its default value. Each * key becomes a `data-bs-` attribute on ``, a `tabler-` * localStorage entry and a `?=` URL parameter, written only when the value * differs from the default. Adding a key here is all the JavaScript a new * setting needs; the switcher loops over this object. */ export const themeDefaults = { 'theme': 'auto', 'theme-base': 'gray', 'theme-font': 'sans-serif', 'theme-primary': 'blue', 'theme-radius': '1', 'layout': 'default', 'navbar': 'default', 'navbar-position': 'horizontal', 'navbar-theme': 'default', 'sidebar': 'default', } as const export type ThemeKey = keyof typeof themeDefaults