💄 Styling backgrounds of widgets

This commit is contained in:
ajnart
2022-05-29 09:11:46 +02:00
parent 0457c91ede
commit c7c76ee22b
4 changed files with 48 additions and 30 deletions

View File

@@ -36,10 +36,11 @@ export default function AppShelfMenu(props: any) {
<Menu
position="right"
radius="md"
shadow="xl"
styles={{
body: {
backgroundColor:
theme.colorScheme === 'dark' ? theme.colors.dark[5] : theme.colors.gray[1],
// Add shadow and elevation to the body
boxShadow: '0 0 14px 14px rgba(0, 0, 0, 0.1), 0 14px 11px rgba(0, 0, 0, 0.1)',
},
}}
>