@brightlayer-ui/react-themes
Version:
React themes for Brightlayer UI applications
24 lines (23 loc) • 769 B
JavaScript
import * as BLUIColors from '@brightlayer-ui/colors';
export default {
styleOverrides: {
colorError: ({ theme }) => ({
...theme.applyStyles('dark', {
backgroundColor: theme.vars.palette.error.dark,
color: BLUIColors.white[50],
}),
}),
colorPrimary: ({ theme }) => ({
...theme.applyStyles('dark', {
backgroundColor: theme.vars.palette.primary.dark,
color: BLUIColors.white[50],
}),
}),
colorSecondary: ({ theme }) => ({
...theme.applyStyles('dark', {
backgroundColor: theme.vars.palette.secondary.dark,
color: BLUIColors.white[50],
}),
}),
},
};