Spaces:
Sleeping
Sleeping
Download frontend/src/theme.js from danielle2035/Intel_classification: direct link, hf CLI and curl.
- Browser
- Download file 1.15 kB
-
https://huggingface.co/spaces/danielle2035/Intel_classification/resolve/main/frontend/src/theme.js
- Command line
-
hf download hf://spaces/danielle2035/Intel_classification/frontend/src/theme.js
-
curl -L -o theme.js https://huggingface.co/spaces/danielle2035/Intel_classification/resolve/main/frontend/src/theme.js
1.15 kB
| import { createTheme } from '@mui/material'; | |
| // Custom theme with fruit-inspired colors | |
| const theme = createTheme({ | |
| palette: { | |
| primary: { | |
| main: '#4caf50', | |
| light: '#80e27e', | |
| dark: '#087f23' | |
| }, | |
| secondary: { | |
| main: '#ff9800', | |
| dark: '#c66900' | |
| }, | |
| error: { | |
| main: '#f44336', | |
| light: '#ff7961', | |
| dark: '#ba000d' | |
| }, | |
| background: { | |
| default: '#f5f5f5', | |
| paper: '#ffffff' | |
| } | |
| }, | |
| typography: { | |
| fontFamily: '"Poppins", "Roboto", "Helvetica", "Arial", sans-serif', | |
| h4: { | |
| fontWeight: 600 | |
| } | |
| }, | |
| shape: { | |
| borderRadius: 12 | |
| }, | |
| components: { | |
| MuiButton: { | |
| styleOverrides: { | |
| root: { | |
| borderRadius: 30, | |
| textTransform: 'none', | |
| fontWeight: 600, | |
| padding: '10px 20px' | |
| } | |
| } | |
| }, | |
| MuiPaper: { | |
| styleOverrides: { | |
| root: { | |
| boxShadow: '0 8px 24px rgba(0, 0, 0, 0.12)' | |
| } | |
| } | |
| }, | |
| MuiChip: { | |
| styleOverrides: { | |
| root: { | |
| fontWeight: 600, | |
| fontSize: '0.9rem' | |
| } | |
| } | |
| } | |
| } | |
| }); | |
| export default theme; |