@inkline/inkline
Version:
Inkline is the intuitive UI Components library that gives you a developer-friendly foundation for building high-quality, accessible, and customizable Vue.js 3 Design Systems.
20 lines (19 loc) • 653 B
TypeScript
import type { Plugin } from 'vue';
import type { InklineService } from '@inkline/inkline/plugin';
export interface InklineColorModeOptions {
colorMode: 'system' | 'light' | 'dark' | string;
colorModeStrategy: 'localStorage' | null;
}
export interface InklineColorModePluginOptions {
inkline: InklineService;
renderMode: 'client' | 'universal';
}
/**
* Color mode change handler
*/
export declare const onChangeColorMode: (colorMode: 'system' | 'light' | 'dark' | string) => void;
/**
* Color mode localStorage key
*/
export declare const colorModeLocalStorageKey = "inkline-color-mode";
export declare const ColorModePlugin: Plugin;