elk/constants/symbols.ts
2022-12-28 02:06:54 +01:00

5 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>>