Dev Design Library

Theme Provider

ThemeProvider is a component that provides a theme to all the child components. It supports theme customization, custom stylish objects, and font loading.

Theme Provider preview
Library
Lobe UI
Framework
React
Type
component
License
MIT
Install
pnpm add @lobehub/ui
Files
  • src/ThemeProvider/AppElementContext.tsx
  • src/ThemeProvider/ConfigProvider.tsx
  • src/ThemeProvider/constants.ts
  • src/ThemeProvider/index.ts
  • src/ThemeProvider/Meta.tsx
  • src/ThemeProvider/ThemeProvider.tsx
  • src/ThemeProvider/type.ts
  • src/ThemeProvider/GlobalStyle/antdOverride.ts
Source
https://github.com/lobehub/lobe-ui

Categories

More from Lobe UI