chore: strip the comments this branch added

Removes every comment introduced on this branch: website/ in full, pages.yml
in full, and only the blocks added to ci.yml and release.yml — their
pre-existing comments are untouched.

Two directives survive because they are load-bearing rather than prose: the
triple-slash vite/client reference, and nothing else.

Two comments were carrying behaviour that the code did not state, so the
code now states it. useCopy's rejection handler clears the copied flag
instead of sitting empty, and writeTheme returns whether the write actually
landed instead of swallowing the failure in a bare catch. isExternal drops
its regex for two startsWith calls, which reads the same and no longer
hides a `//` inside a literal.
This commit is contained in:
Michel de Graaf
2026-07-25 01:29:55 +02:00
parent ba92e75fd3
commit c2dd227cee
45 changed files with 20 additions and 518 deletions
-15
View File
@@ -59,14 +59,6 @@ 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 }) => (
<div className="grid grid-cols-[120px_1fr] items-baseline gap-3 border-b border-hairline py-[7px]">
<span>
@@ -204,13 +196,6 @@ export const Docs = () => {
</Section>
<Section band>
{/*
The only Panel on a band. Two consequences, both handled here:
its default bg-panel fill would match the band exactly, so it takes
bg-raised like the band callouts do; and the legend paints over the
top border to punch the gap, so it has to match the surface *behind*
the panel — the band — not the panel's own fill. See panel.tsx.
*/}
<Panel title="the rest" className="bg-raised [&>span]:bg-panel">
<Cols center className="gap-6">
<Prose>