clapper / src /services /ui /useTheme.ts
jbilcke-hf's picture
jbilcke-hf HF staff
add linter and prettifier
c1f12bf
raw
history blame
No virus
257 Bytes
import { UITheme } from '@aitube/clapper-services'
import { useUI } from './useUI'
export function useTheme(): UITheme {
const getTheme = useUI((s) => s.getTheme)
const themeName = useUI((s) => s.themeName)
const theme = getTheme()
return theme
}