@brightlayer-ui/react-themes
Version:
React themes for Brightlayer UI applications
15 lines (14 loc) • 493 B
JavaScript
import { BLUIColors } from '@brightlayer-ui/colors';
import Color from 'color';
export default {
styleOverrides: {
colorDefault: ({ theme }) => ({
backgroundColor: theme.vars.palette.primary.light,
color: theme.vars.palette.primary.main,
...theme.applyStyles('dark', {
backgroundColor: Color(BLUIColors.black[50]).alpha(0.1).string(),
color: theme.vars.palette.text.primary,
}),
}),
},
};