From f704a89805df67570f564edf1cf40d387efbae73 Mon Sep 17 00:00:00 2001 From: Ali Stump Date: Thu, 7 Dec 2023 10:42:56 -0800 Subject: [PATCH] fix: give modal access to core calcite-tokens --- packages/calcite-components/src/components/modal/modal.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/calcite-components/src/components/modal/modal.scss b/packages/calcite-components/src/components/modal/modal.scss index 1f18e3ed6df..cbfb5d1e8a0 100644 --- a/packages/calcite-components/src/components/modal/modal.scss +++ b/packages/calcite-components/src/components/modal/modal.scss @@ -1,3 +1,5 @@ +@import "~@esri/calcite-design-tokens/dist/scss/core"; + /** * CSS Custom Properties * @@ -21,7 +23,7 @@ transition: visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) $easing-function; // the modal should always use a dark scrim, regardless of light / dark mode - matches value in global.scss - --calcite-modal-scrim-background-internal: #{rgba($calcite-color-neutral-blk-240, 0.85)}; + --calcite-modal-scrim-background-internal: #{rgba($calcite-color-neutral-blk-240, $calcite-opacity-85)}; } .content-top[hidden],