useTheme
What the @feugene/granularity/composables/useTheme subpath exports, with signatures from its type declarations.
On this page
Import
import { useTheme, GR_THEME_STORAGE_KEY, granularityThemePlugin } from '@feugene/granularity/composables/useTheme'Exports
GR_THEME_STORAGE_KEYconstconst GR_THEME_STORAGE_KEY = "gr-theme"UseThemeOptionstypetype UseThemeOptionsgranularityThemePluginconstconst granularityThemePlugin:resetThemeContextWarningfunctionfunction resetThemeContextWarning(): voidinitThemeEarlyfunctionfunction initThemeEarly(options?: UseThemeOptions): voidUseThemeReturninterfaceinterface UseThemeReturnuseThemefunctionfunction useTheme(options?: UseThemeOptions): UseThemeReturn