Download next.js/turbopack/benchmark-apps/mui/theme.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/turbopack/benchmark-apps/mui/theme.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/turbopack/benchmark-apps/mui/theme.tsx
-
curl -L -o theme.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/turbopack/benchmark-apps/mui/theme.tsx
353 Bytes
| import { createTheme } from '@mui/material/styles' | |
| import { red } from '@mui/material/colors' | |
| // A custom theme for this app | |
| const theme = createTheme({ | |
| cssVariables: true, | |
| palette: { | |
| primary: { | |
| main: '#556cd6', | |
| }, | |
| secondary: { | |
| main: '#19857b', | |
| }, | |
| error: { | |
| main: red.A400, | |
| }, | |
| }, | |
| }) | |
| export default theme | |