1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-02 23:19:57 +00:00
elk/constants/symbols.ts
2022-12-28 02:06:54 +01:00

6 lines
274 B
TypeScript

import type { InjectionKey, Ref } from 'vue'
import type { ColorMode, FontSize } from '~/types'
export const InjectionKeyFontSize = Symbol('font-size') as InjectionKey<Ref<FontSize>>
export const InjectionKeyColorMode = Symbol('color-mode') as InjectionKey<Ref<ColorMode>>