@brightlayer-ui/react-themes
Version:
React themes for Brightlayer UI applications
31 lines (30 loc) • 872 B
JavaScript
export default {
styleOverrides: {
root: ({ theme }) => ({
backgroundColor: theme.vars.palette.background.paper,
...theme.applyStyles('dark', {
backgroundColor: theme.vars.palette.background.paper,
}),
}),
groupedHorizontal: ({ theme }) => ({
'&:not(:first-child)': {
marginLeft: 0,
},
...theme.applyStyles('dark', {
'&:not(:first-child)': {
marginLeft: 0,
},
}),
}),
groupedVertical: ({ theme }) => ({
'&:not(:first-child)': {
marginTop: 0,
},
...theme.applyStyles('dark', {
'&:not(:first-child)': {
marginTop: 0,
},
}),
}),
},
};