Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update xmas effect details (#11091)
<!-- Before opening a pull request, please read the [contributing guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md) first --> <!-- start pr-codex --> --- ## PR-Codex overview This PR enhances the `SnowflakesWrapper` in the `XmasEffect` component by adding dynamic opacity styles based on the number of snowflakes and updates the animation duration for `Snowflake`. It also adjusts the text shadow based on the theme. ### Detailed summary - Added `$itemCount` prop to `SnowflakesWrapper` for dynamic styling. - Introduced `generateRandomOpacityStyles` function to set random opacity for each snowflake. - Changed `text-shadow` in `Snowflake` based on theme. - Increased animation duration of `Snowflake` from 10s to 15s. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information