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

Fix: Correct misspelled variable in Tailwind config for AnimatedShinyText component (#362) #364

Closed

Conversation

notREKASH
Copy link
Contributor

This PR resolves issue #362, where the custom animation for the AnimatedShinyText component was not working due to a misspelled variable in the tailwind.config.js file in documentation.

Changes:

  • Renamed the CSS variable --shimmer-width to --shiny-width in the tailwind.config.js file in documentation to match the variable used in the AnimatedShinyText component.

Testing:

  • Verified that the animation now works as expected after updating the variable.
  • Ensured that the manual installation guide reflects the correct configuration.

Fixes #362

- Component Name: Update to AnimatedGridPattern
- Perf: Fix warning and increased use of useCallback to optimize performance
- Reactivity: Fix warning by using useEffect to properly observe container dimensions and prevent hydration or DOM mismatch issues. Also, used a constant for container to ensure the element exists before applying ResizeObserver.
- Type: Update strokeDasharray to number

These changes improve the component's flexibility, performance, and integration.
Copy link

vercel bot commented Oct 9, 2024

@notREKASH is attempting to deploy a commit to the product-studio Team on Vercel.

A member of the Team first needs to authorize it.

@notREKASH notREKASH closed this Oct 9, 2024
@notREKASH notREKASH deleted the fix/animated-shiny-text#362 branch October 9, 2024 13:35
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

Successfully merging this pull request may close these issues.

[bug]: /docs/components/animated-shiny-text
1 participant