Here’s a strategy I use for more natural looking shadows:
Adjust your shadow stack sizes to account for a negative spread that’s 1/2 the amount of the Y. To make it even easier, I use a matching Y and Blur for each shadow layer and then set every layer to the same color/opacity.
- A 🧵 on how to implement beautiful shadow borders: Yesterday, @jamesm called out our @trycampsite UI bits and how we utilize box shadows as borders to get better border contrast on elements with shadows. Lets talk about how we actually implement this and work around the gotchas:
- Here’s a simple fidelity detail you can add to your dark mode containers to make them look even better: Just a super subtle 1px inner highlight adds just enough edge contrast to visually sharpen container edges. Want a little more detail? -> 🧵
- Replying to @PixelJanitorHere's Campsite's dark mode buttons. Light perception is key to beautiful borders and shadows. It involves many small details, but put together, can result in some really nice UI. Lastly, some real world code for ya to play with...
- Last week, @jamesm and I worked on some slide deck visuals that turned out pretty darn neat 🤩 Going to keep polishing these a bit more to get to use them on the upcoming new Clerk website. Sheesh this is fun.
- Here’s how to CSS the shadow stack I recently shared. I also put together a little codepen to demo both Tailwind and CSS versions to check out: codepen.io/DerekBriggs/pe…
- Here's some detail around how the new @trycampsite switch component was crafted and built. Will share some of the shadow/lighting detail as well as a little code used for the toggle animation:
- Completely unsolicited design feedback but I wish the Things app icon utilized a concentric border radius for the “paper” detail.
- Dropdown is alive ⚒️ Shipping soon to a @trycampsite near you. Later this week I’ll put together another UI breakdown thread around the various design/eng details for these.
00:00 - Big news! @mrncst and I are teaming up with @MavenHQ to teach a course for Designers who want expand their skillsets into UI/Design Engineering. We'll design, we'll code, we'll polish. We'd love to hear more on how it will benefit you: maven.com/forms/57bc39 More about it: 🧵
- Big news: I’ve decided to move on from Clerk. I'll be working with the teams to make this transition as seamless as possible, and then later this year I'll decide what's next. I'm so proud of the transformation of Design at Clerk. The team we built is the best of the best.
- Currently working on being able to attach images to comments in @trycampsite. Prototyping it with just divs at the moment, but the interactions are feeling nice:
GIF - WIP of more featured git ui for @zeddotdev (plus some display font exploration we’re doing for outside of code buffers 😉). Excited for the AI magic in Zed’s upcoming git features ✨















