mathsy-theme
v1.0.0
Published
Theme package for Mathsy applications
Readme
Mathsy Theme
A Material-UI theme package for Mathsy applications.
Installation
npm install mathsy-theme
# or
yarn add mathsy-themeUsage
import { ThemeProvider } from '@mui/material/styles';
import mainTheme, { lightTheme } from 'mathsy-theme';
// Use dark theme
<ThemeProvider theme={mainTheme}>
{/* Your app components */}
</ThemeProvider>
// Or use light theme
<ThemeProvider theme={lightTheme}>
{/* Your app components */}
</ThemeProvider>Available Exports
mainTheme: The default dark themelightTheme: The light theme variantbackgroundDark: Background color for dark modebabyBlue: A light blue colorsubjectColors: Object containing subject-specific colors
Development
- Clone the repository
- Install dependencies:
yarn install - Build the package:
yarn build
License
MIT
