@master-c8/theme
TypeScript icon, indicating that this package has built-in type declarations

0.1.9 • Public • Published

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'

Package Sidebar

Install

npm i @master-c8/theme

Weekly Downloads

0

Version

0.1.9

License

MIT

Unpacked Size

8.97 kB

Total Files

14

Last publish

Collaborators

  • yadurani
  • kevfarid