@master-c8/theme
v0.1.9
Published
Platzi Master C8 Theme
Downloads
20
Readme
Theme Package
Colors, Theme to Default of master-c8 project
ThemeProvider
Example:
import React from 'react';
import { ThemeProvider } from '@master-c8/theme';
import Routes from 'Routes';
import 'Styles/style.scss';
const App = () => (
<React.StrictMode>
<ThemeProvider>
<Routes />
</ThemeProvider>
</React.StrictMode>
);
export default App
THEME
Example:
import { THEME } from '@master-c8/theme';
console.log(THEME.palette.warning.main) // '#FBA618'
COLORS
Example:
import { COLORS } from '@master-c8/theme';
console.log(COLORS.background1) // '#E5E5E5'