Skip to content

Commit

Permalink
feat(skeleton): migrate to semantic colors
Browse files Browse the repository at this point in the history
  • Loading branch information
nlopin committed Jul 11, 2023
1 parent e8c66f7 commit 16211d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Skeleton/Skeleton.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styled, { css, keyframes } from 'styled-components';
import { borderRadius, BorderRadiusProps, compose, layout, LayoutProps, margin, MarginProps } from 'styled-system';
import { Colors } from '../../essentials';
import { getSemanticValue } from '../../utils/cssVariables';
import { get } from '../../utils/themeGet';

const shimmerAnimation = keyframes`
Expand Down Expand Up @@ -46,7 +46,7 @@ export const Skeleton = styled.span<SkeletonProps>`
position: relative;
overflow: hidden;
border-radius: ${get('radii.2')};
background-color: ${Colors.AUTHENTIC_BLUE_50};
background-color: ${getSemanticValue('background-secondary-default')};
${compose(layout, margin, borderRadius)};
Expand Down

0 comments on commit 16211d9

Please sign in to comment.