@codecademy/gamut-styles

20.0.220.0.3-alpha.212edd.0
dist/variance/config.js
~dist/variance/config.jsModified
+3
Index: package/dist/variance/config.js
===================================================================
--- package/dist/variance/config.js
+++ package/dist/variance/config.js
@@ -449,8 +449,11 @@
     },
     resolveProperty: getPropertyMode,
     transform: transformSize
   },
+  // Intentionally unscaled: scaled variance props are token-only and reject raw numbers,
+  // which would break the numeric escape hatch and Tip's z-index arithmetic. Use the numeric
+  // `zIndices` token object instead (e.g. zIndex={zIndices.modal}).
   zIndex: {
     property: 'zIndex'
   },
   opacity: {