useThemeConfig #
The theme config of the current route, with the locale's values over the site's.
Usage #
TypeScript
import { useThemeConfig } from 'kawapress/client'
const theme = useThemeConfig()
console.log(Object.keys(theme.value))Returns The theme config.
Full type signature
TypeScript
function useThemeConfig(): ComputedRef<Partial<ThemeConfig>>

Comments