Connect, collaborate, and grow with a community of TypeScript developers
Fixed light mode issue with a skeleton (#743)
Shrikrishna Joisa97054402f687
diff --git a/apps/web/src/app/[locale]/tracks/_components/track-enrolled-section.tsx b/apps/web/src/app/[locale]/tracks/_components/track-enrolled-section.tsxindex bac0a711..651d4a82 100644--- a/apps/web/src/app/[locale]/tracks/_components/track-enrolled-section.tsx+++ b/apps/web/src/app/[locale]/tracks/_components/track-enrolled-section.tsx@@ -15,11 +15,11 @@ const SkeletonTrack = ({ className, ...rest }: HTMLAttributes<HTMLDivElement>) =)}{...rest}>- <div className="h-16 w-16 flex-none rounded-2xl bg-white bg-opacity-5" />+ <div className="h-16 w-16 flex-none rounded-2xl bg-black bg-opacity-5 dark:bg-white dark:bg-opacity-5" /><div className="flex-1 space-y-3 pt-1">- <div className="h-3 w-2/3 rounded-lg bg-white bg-opacity-5" />- <div className="h-2 w-full rounded-lg bg-white bg-opacity-5" />- <div className="h-2 w-full rounded-lg bg-white bg-opacity-5" />+ <div className="h-3 w-2/3 rounded-lg bg-black bg-opacity-5 dark:bg-white dark:bg-opacity-5" />+ <div className="h-2 w-full rounded-lg bg-black bg-opacity-5 dark:bg-white dark:bg-opacity-5 " />+ <div className="h-2 w-full rounded-lg bg-black bg-opacity-5 dark:bg-white dark:bg-opacity-5" /></div></Card>);