@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
15 lines (10 loc) • 354 B
text/typescript
/**
* Theme System Constants
* @author Vander Loto - CTO DATAMETRIA
* @date 13/11/2025
*/
import type { InjectionKey, ComputedRef } from 'vue'
import type { Theme } from './types'
export const THEME_INJECTION_KEY: InjectionKey<ComputedRef<Theme>> = Symbol('theme')
export const DEFAULT_THEME_PREFIX = 'dm'
export const CSS_VARIABLE_PREFIX = '--'