@os-design/theming
Before you start using the os-design components, you need to add the ThemeProvider that will apply the theme to all the components used.
Usage
Step 1. Install the package
Install the package using the following command:
yarn add @os-design/theming
Install peer dependencies using the following command:
npx install-peerdeps @os-design/theming
Step 2. Wrap your application in ThemeProvider
import React from 'react';
import { ThemeProvider } from '';
import AppRouter from './AppRouter';
const App: React.FC = () => (
<ThemeProvider>
<AppRouter />
</ThemeProvider>
);
export default App;
See all the features in the Storybook.