Re:Show HN: I spent 2 years designing a mechanical Magic Key...
by allenc on Thursday August 06, 2026 @01:53PM
(#49200011)
That is a silly amount of detail that in many ways is what Apple design is known for.
Re:Show HN: I spent 2 years designing a mechanical Magic Key...
by internetter on Thursday August 06, 2026 @02:12PM
(#49200257)
also see https://caniuse.com/?search=squircle (though no gradient border)
If you'll indulge me for a moment, because I never get to talk about this stuff: the corner radii of the cards on the site are actually "squircles" rather than perfect rounded corners. To me this is much more pleasing to the eye. The squircles are achieved by creating a PNG mask which is then 9-sliced and expanded to mask off the edge of the cards. Another mask is used for the stroke and laid on top of the first mask, to give the gradient border effect.