https://github.com/linka-cloud/mui-theme
https://github.com/linka-cloud/mui-theme
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/linka-cloud/mui-theme
- Owner: linka-cloud
- Created: 2022-02-11T12:40:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-11T12:40:55.000Z (over 3 years ago)
- Last Synced: 2024-12-30T07:23:17.429Z (5 months ago)
- Language: TypeScript
- Size: 220 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @linka-cloud/theme
>
[](https://www.npmjs.com/package/@linka-cloud/theme) [](https://standardjs.com)
## Install
```bash
yarn add @linka-cloud/theme
```## Usage
```tsx
import { ColorModeThemeProvider, UiMode } from '@linka-cloud/theme'
import { Box, Paper } from '@mui/material'
import React, { useState } from 'react'import "@linka-cloud/theme/dist/index.css"
const Home = () => (
Home
)const App = () => {
const [mode, setMode] = useState('light')
return (
)
}export default App
```## License
MIT © [](https://github.com/)