@brightlayer-ui/react-themes
Version:
React themes for Brightlayer UI applications
17 lines (16 loc) • 476 B
JavaScript
import * as BLUIColors from '@brightlayer-ui/colors';
import Color from 'color';
export default {
styleOverrides: {
root: ({ theme }) => ({
...theme.applyStyles('dark', {
backgroundColor: Color(BLUIColors.darkBlack[900]).alpha(0.7).string(),
}),
}),
invisible: ({ theme }) => ({
...theme.applyStyles('dark', {
backgroundColor: 'transparent',
}),
}),
},
};