diff --git a/website/src/pages/docs.tsx b/website/src/pages/docs.tsx index 377d966..a8bccaf 100644 --- a/website/src/pages/docs.tsx +++ b/website/src/pages/docs.tsx @@ -59,10 +59,18 @@ const PANES: readonly { num?: number; title: string; body: string }[] = [ }, ] +/* + * The keycap's heavier bottom edge is a shadow, not a thicker bottom border. + * + * A 2px border on one side of a rounded box thins out as it turns the corner, + * so the edge tapers exactly where a real keycap looks solid. An unblurred + * 1px shadow sits under the full curve instead, which is the look the design + * system's `.key` rule is after. + */ const KeyRow = ({ combo, description }: { combo: string; description: string }) => (