Spaces:
Runtime error
Runtime error
File size: 1,071 Bytes
ca10871 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | import { createTheme } from '@mui/material/styles';
const theme = createTheme({
palette: {
mode: 'dark',
primary: {
main: '#BB86FC', // Light purple for primary elements
},
secondary: {
main: '#03DAC6', // Teal for secondary elements
},
background: {
default: '#121212', // Dark background
paper: '#1E1E1E', // Slightly lighter background for cards
},
text: {
primary: '#FFFFFF', // White text for primary
secondary: '#B0BEC5', // Light grey for secondary text
},
},
typography: {
fontFamily: '"Roboto", "Helvetica", "Arial", sans-serif',
h1: {
fontSize: '2rem',
fontWeight: 700,
},
h2: {
fontSize: '1.5rem',
fontWeight: 600,
},
body1: {
fontSize: '1rem',
lineHeight: 1.5,
},
body2: {
fontSize: '0.875rem',
lineHeight: 1.4,
},
caption: {
fontSize: '0.75rem',
lineHeight: 1.2,
},
},
shape: {
borderRadius: 8, // Rounded corners for cards and buttons
},
});
export default theme; |