Closed epoll31 closed 2 months ago
@epoll31 is attempting to deploy a commit to the SyntaxUI Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
syntax-ui | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 2, 2024 6:18am |
@property --shimmer-button-x {
syntax: "<length-percentage>";
inherits: false;
initial-value: 0;
is there is a way to directly integrate this in the button itself? there should be 🤔
I can look into it :)
I was able to
--shimmer-button-x
from src/styles/tailwind.css
tailwind.config.ts
src/showcase/components/button/ShimmerButton.tsx
src/app/docs/components/button/shimmer-button/page.mdx
using ComponentPreview
since it is contained within a single fileThanks for pushing me to do this, it is much cleaner. We can also work on transitioning the Discord Button from multiple file into this format using ShimmerButton
as a reference
man is there is anything you can't do! 😂✨
Nailed it, made the code so much cleaner now.
keep up the good work Ethan 😎
name: Shimmer Button about: Added a Shimmer Button variation title: Shimmer Button labels: 'feature' assignees: 'epoll31'
Description
Added a Shimmer Button variation
Related Issue
Fixes #117
Proposed Changes
src/showcase/components/button/ShimmerButton.tsx
src/app/docs/components/button/shimmer-button/page.mdx
src/showcase/ui-group/ButtonCards.tsx
--shimmer-button-x
property tosrc/styles/tailwind.css
tailwind.config.ts
credits.md
Screenshots
https://github.com/Ansub/SyntaxUI/assets/16091805/b6126aad-4a46-448f-a472-78072bcba4d8
Checklist
Please check the boxes that apply:
npm run build
and build is successfulAdditional Context
Please provide any additional context or information about the pull request here.