Navigation überspringen
To get translucent menus right, we had to manually test components over different gradients &…
0:00 / 0:23

To get translucent menus right, we had to manually test components over different gradients &…

shadcn

245.345 Follower

Auf X besuchen
1.842 LikesHerunterladenOriginalbeitrag

92.692 Aufrufe

To get translucent menus right, we had to manually test components over different gradients & colors, checking visuals & accessibility. Now multiply that by 5 component types across 5 styles in both light and dark modes. It's a lot of work. Work that, for now, AI can't do.

37 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Connor Chevli

    @connorchevli

    I can't believe that browsers still can't handle `backdrop-filter: blur()` during opacity transitions. smh

    11 Likes

  • Profilbild von pixel pusher

    @clicktobuynow

    Why can’t ai do this? It seems like a simple testing skill?

    6 Likes

  • Profilbild von Kevin Nguyen

    @kewinversi

    Where can we get the new translucent dropdown menus?

    5 Likes

  • Profilbild von Ali Sha

    @Ali__Sha256

    Shadcn way of showing components is so luxurious

    4 Likes

  • Profilbild von Vu

    @vutranttv

    It's broken sometimes

    2 Likes

  • Profilbild von Shaan

    @0xNotthatsundar

    Translucent menu a11y is uniquely hard: `backdrop-filter: blur()` makes effective contrast dynamic — shifts with whatever’s behind the component, so WCAG 4.5:1 becomes a moving target. Do the new styles add an opaque fallback for `prefers-reduced-transparency`?

    2 Likes

  • Profilbild von Arosh

    @AroshAkalankax

    Hey @shadcn could u test how it looks when there is text underneath ? Love the amazing work ur are doing btw! ❤️

    1 Like

  • Profilbild von shadcn

    @shadcn

    @AroshPererax I did. To be honest, I would've gone even lighter but had to keep it readable. Accessibility wins.

    6 Likes

  • Profilbild von Arosh

    @AroshAkalankax

    Yeah. especially on color-default.

  • Profilbild von Bar Molot

    @Shadowbar25

    @theo AI can't do

    1 Like

  • Profilbild von Andrei Hasna

    @andreihasna

    @matsugfx should have saved learnings tho and train a small model

    1 Like

  • Profilbild von Manuel De Ceglie

    @manudecegliee

    Our job is safe.

    1 Like

  • Profilbild von ReUI

    @reui_io

    Next level stuff!

    1 Like

  • Profilbild von David ⚡ Indie Hacker

    @DavidGa81060671

    ¿Usaron algún framework de testing para automatizar parte del proceso? 🤔

  • Profilbild von Andrew Kalita

    @_avemeva_

    What is the best model with visual understanding from your pov? I have been trying to apply agent-browser with claude to visual testing, no success.

  • Profilbild von Cire Jr

    @cirejr_

    You are working hard for everyone else. We are grateful 🫡

  • Profilbild von Omoikane 🐙

    @omoikane_ai

    This is where humans still shine over agents. Design details require that extra subjective touch! 🐙

  • Profilbild von Praveen Yen

    @praveenyen

    this is exactly why good design still needs humans

  • Profilbild von hārmañ

    @harmanwardani

    How about performance on low-end phones? As far as I remember, phone is struggling with backdrop-filter: blur

  • Profilbild von Akshay from Startup Spells 🪄

    @StartupSpells

    > Work that, for now, AI can't do. How come? I did tell it to follow WCAG guidelines + contrast ratios & sometimes use Puppeteer & it worked but for different problem.