UNPKG

theme-selector

Version:

A simple Svelte store library that lets you switch between light and dark themes, with support for system theme by default.

12 lines (11 loc) 375 B
import { type ClassValue } from "clsx"; import type { TransitionConfig } from "svelte/transition"; export declare function cn(...inputs: ClassValue[]): string; type FlyAndScaleParams = { y?: number; x?: number; start?: number; duration?: number; }; export declare const flyAndScale: (node: Element, params?: FlyAndScaleParams) => TransitionConfig; export {};