UNPKG

@brightlayer-ui/react-themes

Version:
44 lines (43 loc) 1.46 kB
import { BLUIColors } from '@brightlayer-ui/colors'; import Color from 'color'; const WhiteText = BLUIColors.white[50]; export default { styleOverrides: { root: ({ theme }) => ({ color: BLUIColors.white[500], zIndex: 1, '&.Mui-active': { color: theme.vars.palette.primary.dark, '& .MuiStepIcon-text': { fill: WhiteText, fontWeight: 600, }, }, ...theme.applyStyles('dark', { color: Color(BLUIColors.black[300]).alpha(0.36).string(), zIndex: 1, '&.Mui-active': { color: theme.vars.palette.primary.dark, '& .MuiStepIcon-text': { fill: WhiteText, fontWeight: 600, }, }, '&.Mui-completed': { color: theme.vars.palette.primary.dark, '& .MuiStepIcon-text': { fill: WhiteText, fontWeight: 600, }, }, }), }), text: ({ theme }) => ({ fill: theme.vars.palette.text.primary, ...theme.applyStyles('dark', { color: theme.vars.palette.text.primary, fill: BLUIColors.black[300], }), }), }, };