7.2.0 • Published 7 months ago

@brightlayer-ui/react-themes v7.2.0

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
7 months ago

Brightlayer UI themes for React applications

npm.io npm.io

This package provides theming support for Eaton applications using the Brightlayer UI design system. It includes resources for developers using React w/ Material UI version 5+ (prior versions of this package will work with Material UI version 4 - check the Changelog for details). This package comes with two theme options: a Blue theme (standard) and a Dark theme.

For other frameworks, check out our related packages:

Installation

Install with npm

npm install --save @brightlayer-ui/react-themes

or yarn

yarn add @brightlayer-ui/react-themes

Usage

To use these themes in your application, simply wrap the app in a ThemeProvider and pass in your desired theme (blue or blueDark). You'll also need to include the Open Sans font resources (included with the themes):

import { ThemeProvider } from '@mui/material/styles';
import * as BLUIThemes from '@brightlayer-ui/react-themes';
import "@brightlayer-ui/react-themes/open-sans";
...
<ThemeProvider theme={BLUIThemes.blue}>
    <App />
</ThemeProvider>

Usage

Read about the usage details at our developer documentation site.

7.2.0

7 months ago

7.1.0-alpha.0

1 year ago

7.1.0

1 year ago

7.0.0-alpha.1

2 years ago

7.0.0

2 years ago

7.0.0-alpha.2

2 years ago

7.0.0-alpha.0

2 years ago

6.1.1-beta.0

2 years ago

6.1.1-beta.1

2 years ago

6.1.1

2 years ago

5.0.3

2 years ago

5.0.3-beta.0

2 years ago

6.1.0

2 years ago

6.1.0-beta.0

2 years ago