Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Shimmer] Effect not visible on light backgrounds #20

Open
MrSnoozles opened this issue Oct 28, 2023 · 0 comments
Open

[Shimmer] Effect not visible on light backgrounds #20

MrSnoozles opened this issue Oct 28, 2023 · 0 comments

Comments

@MrSnoozles
Copy link

MrSnoozles commented Oct 28, 2023

I noticed that using @nstudio/nativescript-shimmer the shimmer effect is visible on dark backgrounds, but not on bright backgrounds. This happens on Android, I haven't tested iOS yet.

Example

The markup I use is below. That results in the Shimmer effect being visible on the black and red element, but not on the light gray ones.

<Shimmer>
    <StackLayout>
        <ContentView width="300" height="50" class="bg-gray-200" />
        <ContentView width="300" height="150" class="bg-gray-900" />
        <ContentView width="300" height="50" class="bg-red-400" />
        <ContentView width="300" height="50" class="bg-gray-100" />
    </StackLayout>
</Shimmer>
1698420520195.mp4
@MrSnoozles MrSnoozles changed the title [Shimmer] Effect no visible on light backgrounds [Shimmer] Effect not visible on light backgrounds Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant