theme-provider

v2.1.3arrow_drop_down
v2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.0.1
v2.0.0
v1.1.0
v1.0.12
v1.0.11
v1.0.10
v1.0.9
v1.0.8
v1.0.7
v1.0.6
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
STATUS
Passing
DOWNLOADS
5,720
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
4 KB
Applies shared styles to all child components.
1 contributor
Install theme-provider as a package?
Copied
npm i @bit/bit.base-ui.theme.theme-provider
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
chevron_left
chevron_right
ThemeProvider ()

Applies shared styles to all child components.

This includes:

  • Colors
  • Headers and paragraphs font-size, margins, etc
  • Brand font
  • Shadows
  • Specific brand related styles
Example
<Theme>
 <Paragraph>I got all the base styles! yippee!</Paragraph>
</Theme>
Help and resources