0.3.0-alpha.0 • Published 2 years ago

@talves/itui-core v0.3.0-alpha.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@talves/itui-core

Core Emotion and JSX implementation for Theme UI uses an isolated context to return

Note: This package is included in the main itui package, and generally should not be used on its own.

yarn add @talves/itui-core

API

  • ThemeProvider
  • createThemeProvider
const IsolatedContext = createContext() // 
const {
  Context,
  ThemeProvider,
  useIsolatedThemeUI,
  ColorModeProvider,
  useColorMode,
} = createThemeProvider(IsolatedContext)