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

Better pattern for getting color_thief states #183

Open
moonlitgrace opened this issue Jun 4, 2024 · 0 comments
Open

Better pattern for getting color_thief states #183

moonlitgrace opened this issue Jun 4, 2024 · 0 comments

Comments

@moonlitgrace
Copy link
Collaborator

<!-- use Image component for just to get color -->
<Image
src={episode.cover}
class="absolute -z-10"
bind:image_loaded={latest_episodes_mapping[idx].loaded}
bind:color_palette={latest_episodes_mapping[idx].color_palette}
bind:dominant_color={latest_episodes_mapping[idx].dominant_color}
bind:dominant_foreground_color={latest_episodes_mapping[idx]
.dominant_foreground_color}
/>

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