UNPKG

@better-auth-ui/core

Version:

Authentication components and data utilities for [Better Auth](https://better-auth.com), available for React and Solid.

24 lines (23 loc) 475 B
import { t as e } from "../../create-auth-plugin-BXWyolC8.js"; //#region src/plugins/theme/theme-localization.ts var t = { appearance: "Appearance", theme: "Theme", system: "System", light: "Light", dark: "Dark" }, n = e("theme", (e) => ({ localization: { ...t, ...e.localization }, theme: e.theme ?? "system", setTheme: e.setTheme, themes: e.themes ?? [ "system", "light", "dark" ] })); //#endregion export { t as themeLocalization, n as themePlugin };