Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
33 lines
604 B
TypeScript
33 lines
604 B
TypeScript
import { Box, ThemeProvider } from '@mui/joy';
|
|
|
|
export default function BoxSx() {
|
|
return (
|
|
<ThemeProvider
|
|
theme={{
|
|
colorSchemes: {
|
|
light: {
|
|
palette: {
|
|
primary: {
|
|
400: '#38bdf8',
|
|
700: '#0369a1',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}}
|
|
>
|
|
<Box
|
|
sx={{
|
|
width: 100,
|
|
height: 100,
|
|
borderRadius: 1,
|
|
bgcolor: 'primary.700',
|
|
'&:hover': {
|
|
bgcolor: 'primary.400',
|
|
},
|
|
}}
|
|
/>
|
|
</ThemeProvider>
|
|
);
|
|
}
|