@ryanhelsing/ry-ui
Version:
Framework-agnostic, Light DOM web components. CSS is the source of truth.
25 lines • 693 B
TypeScript
/**
* <ry-theme-panel>
*
* Floating theme/mode selector panel.
* Theme and mode are orthogonal — every theme supports light and dark.
*
* Usage:
* <ry-theme-panel></ry-theme-panel>
*
* Themes: "none" (bare structure), "default", "ocean", "antigravity"
* Modes: "auto" (OS preference), "light", "dark"
*
* Sets data-ry-theme and data-ry-mode on <html>.
* Persists selection in localStorage.
*/
import { RyElement } from '../core/ry-element.js';
export declare class RyThemePanel extends RyElement {
setup(): void;
get theme(): string;
set theme(v: string);
get mode(): string;
set mode(v: string);
}
//# sourceMappingURL=ry-theme-panel.d.ts.map