Closed erwstout closed 5 years ago
Looking for feedback on this. Usage example:
const style = (theme) => ({ modal: { zIndex: theme.zIndex['top'] }, mask: { zIndex: theme.zIndex['midTop'] }, elementUnderMask: { zIndex: theme.zIndex['mid'] }, evenLowerElement: { zIndex: theme.zIndex['bottomMid'] }, lowestElement: { zIndex: theme.zIndex['bottom'], }, });
Inspired in part by how Material UI handles their zIndex values. (https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/styles/zIndex.js)
zIndex
Looking for feedback on this. Usage example:
Inspired in part by how Material UI handles their
zIndex
values. (https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/styles/zIndex.js)