@codecademy/gamut

72.2.472.2.5-alpha.212edd.0
dist/Toaster/index.js
~dist/Toaster/index.jsModified
+2−1
Index: package/dist/Toaster/index.js
===================================================================
--- package/dist/Toaster/index.js
+++ package/dist/Toaster/index.js
@@ -1,5 +1,5 @@
-import { ColorMode } from '@codecademy/gamut-styles';
+import { ColorMode, zIndices } from '@codecademy/gamut-styles';
 import { AnimatePresence } from 'framer-motion';
 import * as React from 'react';
 import { FadeInSlideOut } from '../Animation/FadeInSlideOut';
 import { BodyPortal } from '../BodyPortal';
@@ -11,8 +11,9 @@
   onClose,
   colorMode = 'light'
 }) => {
   return /*#__PURE__*/_jsx(BodyPortal, {
+    zIndex: zIndices.toaster,
     children: /*#__PURE__*/_jsx(ColorMode, {
       mode: colorMode,
       children: /*#__PURE__*/_jsx(Box, {
         "aria-live": "polite",