Theme package for Mathsy applications
npm install mathsy-themebash
npm install mathsy-theme
or
yarn add mathsy-theme
`
Usage
`typescript
import { ThemeProvider } from '@mui/material/styles';
import mainTheme, { lightTheme } from 'mathsy-theme';
// Use dark theme
{/ Your app components /}
// Or use light theme
{/ Your app components /}
`
Available Exports
- mainTheme: The default dark theme
- lightTheme: The light theme variant
- backgroundDark: Background color for dark mode
- babyBlue: A light blue color
- subjectColors: Object containing subject-specific colors
Development
1. Clone the repository
2. Install dependencies: yarn install
3. Build the package: yarn build`