🎨 Palette: Add tactile feedback to interactive elements#25
🎨 Palette: Add tactile feedback to interactive elements#25christopherfoxjr wants to merge 1 commit into
Conversation
This change adds a subtle scale(0.97) transform to buttons, links, and FAQ items on click/tap, providing visual confirmation of interaction. Standardized transition timings and display properties were adjusted to ensure smooth and reliable feedback across all components. Co-authored-by: christopherfoxjr <213370400+christopherfoxjr@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Deploying cybr with
|
| Latest commit: |
aec240b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ac90c781.cybr.pages.dev |
| Branch Preview URL: | https://palette-tactile-feedback-314.cybr.pages.dev |
Deploying foxos with
|
| Latest commit: |
aec240b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://a6569bfa.foxos.pages.dev |
| Branch Preview URL: | https://palette-tactile-feedback-314.foxos.pages.dev |
Deploying wolfos with
|
| Latest commit: |
aec240b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://956aefed.wolfos.pages.dev |
| Branch Preview URL: | https://palette-tactile-feedback-314.wolfos.pages.dev |
This PR implements a "tactile feedback" micro-UX improvement. When a user interacts with a button, navigation link, or FAQ header, the element now subtly scales down (0.97), simulating a physical press.
Key changes:
scale(0.97)transform on:activestate for primary interactive classes including .nav-brand, .nav-links a, .btn-ghost, .btn-solid, .btn-hero-primary, .btn-hero-secondary, .feature-cta, and .faq-q.cubic-bezier(0.4, 0, 0.2, 1)for a responsive feel.display: inline-blockordisplay: flexfor all affected elements to support CSS transforms (specifically for button and link classes).PR created automatically by Jules for task 3148731666133338254 started by @christopherfoxjr