Spaces:
Runtime error
Runtime error
Download frontend/src/theme.js from stvident/colorization: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/spaces/stvident/colorization/resolve/main/frontend/src/theme.js
- Command line
-
hf download hf://spaces/stvident/colorization/frontend/src/theme.js
-
curl -L -o theme.js https://huggingface.co/spaces/stvident/colorization/resolve/main/frontend/src/theme.js
1.02 kB
| import { createTheme } from '@mui/material/styles'; | |
| const theme = createTheme({ | |
| palette: { | |
| mode: 'dark', | |
| primary: { | |
| main: '#7C4DFF', | |
| }, | |
| background: { | |
| default: '#121212', | |
| paper: '#1E1E1E', | |
| }, | |
| success: { | |
| main: '#4CAF50', | |
| }, | |
| error: { | |
| main: '#F44336', | |
| }, | |
| }, | |
| typography: { | |
| fontFamily: '"Inter", "Roboto", "Helvetica", "Arial", sans-serif', | |
| h3: { | |
| fontWeight: 700, | |
| }, | |
| h5: { | |
| fontWeight: 600, | |
| }, | |
| }, | |
| shape: { | |
| borderRadius: 12, | |
| }, | |
| components: { | |
| MuiButton: { | |
| styleOverrides: { | |
| root: { | |
| textTransform: 'none', | |
| fontWeight: 600, | |
| borderRadius: 12, | |
| padding: '12px 32px', | |
| fontSize: '1rem', | |
| }, | |
| }, | |
| }, | |
| MuiCard: { | |
| styleOverrides: { | |
| root: { | |
| borderRadius: 16, | |
| backgroundImage: 'none', | |
| }, | |
| }, | |
| }, | |
| }, | |
| }); | |
| export default theme; | |