@codecademy/gamut-styles
20.1.020.1.1-alpha.319fdb.0
dist/themes/core.js~
dist/themes/core.jsModified+2−2
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, coreElevation, corePalette, elements, fontFamily, fontSize, fontWeight, lineHeight, mediaQueries, spacing } 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
@@ -128,5 +128,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
+})).addScale('elevation', coreElevation).createScaleVariables('elements').addName('core').build();
\ No newline at end of file