UNPKG

@nbamford123/arwes

Version:

Futuristic Sci-Fi and Cyberpunk Graphical User Interface Framework for Web Apps

41 lines (36 loc) 832 B
import { rgba } from 'polished'; export default (theme) => { return { root: { display: 'block', position: 'relative', backgroundColor: rgba(theme.background.primary.level0, theme.alpha), paddingBottom: 4, '&$exiting, &$exited': { backgroundColor: 'transparent', '& $separator': { width: 0, }, }, }, separator: { position: 'absolute', bottom: 0, left: '50%', transform: 'translateX(-50%)', display: 'block', width: '100%', borderStyle: 'solid', borderColor: theme.color.primary.dark, borderWidth: '0 0 4px', transition: `all ${theme.animTime}ms ease-in`, }, children: { display: 'block', }, entering: {}, entered: {}, exiting: {}, exited: {}, }; };