@brightlayer-ui/react-themes
Version:
React themes for Brightlayer UI applications
26 lines (25 loc) • 856 B
JavaScript
import { BLUIColors } from '@brightlayer-ui/colors';
export default {
styleOverrides: {
root: ({ theme }) => ({
backgroundColor: BLUIColors.black[900],
color: BLUIColors.black[50],
'& .MuiButton-textPrimary': {
color: BLUIColors.blue[200],
},
'& .MuiButton-textSecondary': {
color: BLUIColors.lightBlue[200],
},
...theme.applyStyles('dark', {
color: BLUIColors.black[500],
backgroundColor: BLUIColors.black[50],
'& .MuiButton-textPrimary': {
color: theme.vars.palette.primary.dark,
},
'& .MuiButton-textSecondary': {
color: BLUIColors.lightBlue[500],
},
}),
}),
},
};