From 3a0a9b17f8b4c575add179f340f0e4210f81b3ae Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Thu, 9 May 2024 22:08:01 +0300 Subject: [PATCH] Tokens for Skeleton --- components/lib/skeleton/style/SkeletonStyle.js | 2 +- components/lib/themes/aura/skeleton/index.js | 3 +++ components/lib/themes/lara/skeleton/index.js | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/components/lib/skeleton/style/SkeletonStyle.js b/components/lib/skeleton/style/SkeletonStyle.js index 3c655307f..ff108d1c0 100644 --- a/components/lib/skeleton/style/SkeletonStyle.js +++ b/components/lib/skeleton/style/SkeletonStyle.js @@ -4,7 +4,7 @@ const theme = ({ dt }) => ` .p-skeleton { overflow: hidden; background-color: ${dt('skeleton.background')}; - border-radius: ${dt('border.radius.md')}; + border-radius: ${dt('skeleton.border.radius')}; } .p-skeleton::after { diff --git a/components/lib/themes/aura/skeleton/index.js b/components/lib/themes/aura/skeleton/index.js index 16aa0c517..07fc58365 100644 --- a/components/lib/themes/aura/skeleton/index.js +++ b/components/lib/themes/aura/skeleton/index.js @@ -1,4 +1,7 @@ export default { + root: { + borderRadius: '{content.border.radius}' + }, colorScheme: { light: { root: { diff --git a/components/lib/themes/lara/skeleton/index.js b/components/lib/themes/lara/skeleton/index.js index 16aa0c517..07fc58365 100644 --- a/components/lib/themes/lara/skeleton/index.js +++ b/components/lib/themes/lara/skeleton/index.js @@ -1,4 +1,7 @@ export default { + root: { + borderRadius: '{content.border.radius}' + }, colorScheme: { light: { root: {