We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e971da2 commit 1a4a9fdCopy full SHA for 1a4a9fd
src/components/Offcanvas/components/DimmingFade.tsx
@@ -2,7 +2,7 @@ import * as React from 'react';
2
import { CSSTransition } from 'react-transition-group';
3
import styled, { css } from 'styled-components';
4
import { Dimming } from '../../Dimming/Dimming';
5
-import { Colors } from '../../../essentials';
+import { getSemanticValue } from '../../../utils/cssVariables';
6
7
const TRANSITION_KEY = 'dimming-fade-animation';
8
const ANIMATION_DURATION = 200;
@@ -28,7 +28,7 @@ const fadeInAnimation = (maxOpacity = 0.6) => css`
28
`;
29
30
const fullscreenDimming = css`
31
- background-color: ${Colors.WHITE};
+ background-color: ${getSemanticValue('background-primary-default')};
32
opacity: 1;
33
34
0 commit comments