@codecademy/gamut-styles
20.0.220.0.3-alpha.212edd.0
dist/themes/core.js~
dist/themes/core.jsModified+4−3
Index: package/dist/themes/core.js
===================================================================
--- package/dist/themes/core.js
+++ package/dist/themes/core.js
@@ -1,6 +1,6 @@
import { createTheme } from '@codecademy/variance';
-import { borderRadii, containerQueries, corePalette, elements, fontFamily, fontSize, fontWeight, lineHeight, mediaQueries, spacing } from '../variables';
+import { borderRadii, containerQueries, corePalette, elements, fontFamily, fontSize, fontWeight, lineHeight, mediaQueries, spacing, zIndices } from '../variables';
/**
* @description This is the core theme that all other Codecademy themes are extended from
* and is the only theme that gamut components are typed to. This ensures that gamut components
@@ -17,9 +17,10 @@
fontFamily,
lineHeight,
fontWeight,
spacing,
- elements
+ elements,
+ zIndices
}).addColors(corePalette).addColorModes('light', {
light: {
text: {
_: 'navy-800',
@@ -128,5 +129,5 @@
colors
}) => ({
1: `1px solid ${colors['border-primary']}`,
2: `2px solid ${colors['border-primary']}`
-})).createScaleVariables('elements').addName('core').build();
\ No newline at end of file
+})).createScaleVariables('elements').createScaleVariables('zIndices').addName('core').build();
\ No newline at end of file