@eyeem-ui/theme
v9.8.0
Published
The EyeEm-UI theme
Downloads
85
Keywords
Readme
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;