dvtng / react-loading-skeleton

Create skeleton screens that automatically adapt to your app!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dark theme animation not visible

henri9813 opened this issue · comments

Describe the bug
Hello,

In light theme, the skeleton animations works as expected.
image

To Reproduce
Setup a tailwind^3

Switch you in dark theme ( prefered-color-scheme ) or using classes dark

Actual Behavior

Animation is not visible, "white on white ?"
image

Expected Behavior

I should have a dark theme for this.

Versions

  • react-loading-skeleton version: ^3.4.0
  • Browser version: Safari latest version

Additional context
Add any other context about the problem here.

The animation is probably still there, but your eyes are having trouble seeing it because of the black background.

You can use <SkeletonTheme> to create a dark theme for your skeletons. There is an example of dark theme in this file.

Hello,

Thank you for your reply;

If I correctly understood, Dark theme is not natively supported by this project ?

Thanks !

Why close the issue ?

You could instead let it open and permit to community to propose a feature for this ?