refactor: use @nuxtjs/color-mode
to manage ssr (#612)
This commit is contained in:
parent
6fdcc558fc
commit
7a36fb8efd
14 changed files with 43 additions and 215 deletions
|
@ -1,5 +1,4 @@
|
|||
import type { InjectionKey, Ref } from 'vue'
|
||||
import type { ColorMode, FontSize } from '~/types'
|
||||
import type { FontSize } from '~/types'
|
||||
|
||||
export const InjectionKeyFontSize = Symbol('font-size') as InjectionKey<Ref<FontSize>>
|
||||
export const InjectionKeyColorMode = Symbol('color-mode') as InjectionKey<Ref<ColorMode>>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue