UNPKG

@datametria/vue-components

Version:

DATAMETRIA Vue.js 3 Component Library with Multi-Brand Theming - 51 components + 10 composables with theming support, WCAG 2.2 AA, dark mode, responsive system

9 lines (8 loc) 270 B
import { ComputedRef } from 'vue'; import { Theme } from './types'; /** * Access the current theme from ThemeProvider * @throws Error if used outside ThemeProvider * @returns Current theme object (reactive) */ export declare function useTheme(): ComputedRef<Theme>;