@codecademy/gamut
72.2.472.2.5-alpha.212edd.0
dist/Box/props.js~
dist/Box/props.jsModified+2−2
Index: package/dist/Box/props.js
===================================================================
--- package/dist/Box/props.js
+++ package/dist/Box/props.js
@@ -1,5 +1,5 @@
-import { system } from '@codecademy/gamut-styles';
+import { system, zIndices } from '@codecademy/gamut-styles';
import { variance } from '@codecademy/variance';
export const boxProps = variance.compose(system.space, system.border, system.layout, system.color, system.shadow, system.positioning, system.background, system.typography, system.flex, system.grid, system.list);
export const sharedStates = system.states({
fit: {
@@ -7,9 +7,9 @@
height: 1
},
context: {
position: 'relative',
- zIndex: 1
+ zIndex: zIndices.foreground
},
'no-select': {
WebkitTouchCallout: 'none',
userSelect: 'none'