theme/apply
What the @feugene/granularity/theme/apply subpath exports, with signatures from its type declarations.
On this page
Import
import { applyTheme, removeTheme } from '@feugene/granularity/theme/apply'Exports
ApplyThemeOptionsinterfaceinterface ApplyThemeOptionsapplyThemefunctionfunction applyTheme(css: string, options?: ApplyThemeOptions): () => voidremoveThemefunctionfunction removeTheme(name?: string, target?: HTMLElement | null): void