Is there any way to switch colour of the shimmer? Really useful while configuring dark and light mode.
rahulmanas opened this issue · 3 comments
rahulmanas commented
Is there any way to switch colour of the shimmer? Really useful while configuring dark and light mode.
praty22 commented
Upstairs +1
iHaiderAli commented
any update on this?
big-zak commented
Create a new class and name it dark
.shimmer { &.dark { background: linear-gradient(to right, rgba(255,255, 255, 0.05) 8%, rgba(255,255, 255, 0.1) 18%, rgba(255,255, 255, 0.05) 33% ); } }
Then add dark class to the shimmer component you call
<ShimmerThumbnail className="dark" />