Skip to content

Commit 7b2eb4e

Browse files
authored
Add -- prefix to CSS Custom Property for SkeletonBox (#5768)
1 parent 6a85802 commit 7b2eb4e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/fuzzy-walls-tap.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": patch
3+
---
4+
5+
Update CSS Custom Property used in skeletons to fix animation behind feature flag.

packages/react/src/experimental/Skeleton/SkeletonBox.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
mask-image: linear-gradient(75deg, #000 30%, rgba(0, 0, 0, 0.65) 80%);
2020
mask-size: 200%;
2121
animation: shimmer;
22-
animation-duration: var(base-duration-1000);
22+
animation-duration: var(--base-duration-1000);
2323
animation-iteration-count: infinite;
2424
}
2525

0 commit comments

Comments
 (0)