@eyeem-ui/theme

9.8.0 • Public • Published

How to

Here's how to set up your app with ThemeProvider and the global styles. You can pass a color mode (dark (default) or light) to ThemeProvider in order to choose the default color theme.

import { Global } from '@emotion/react';
import { globalStyles, ThemeProvider } from '@eyeem-ui/theme';

const App = () => {
  return (
    <ThemeProvider mode="light">
      <Global styles={globalStyles} />
      {/**
        ... Your app code
      */}
    </ThemeProvider>
  );
};

export default App;

Readme

Keywords

none

Package Sidebar

Install

npm i @eyeem-ui/theme

Weekly Downloads

30

Version

9.8.0

License

ISC

Unpacked Size

87.4 kB

Total Files

48

Last publish

Collaborators

  • vincentvincentvincent
  • clairefritz
  • hanshase2
  • ptrwllrt