From 38e7c0c4a15d1b56b41fec664532c3045fa2a9c9 Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Mon, 11 May 2026 09:53:24 -0700 Subject: [PATCH] refactor: restore var(--border) shorthand after dark-mode tokenization The dark-mode refactor expanded `border: var(--border);` to `1px solid var(--border-color);` in three rules (.share-box button, th, button.copy-link). The rest of the file still uses the var(--border) shorthand for the same value, so restore it for consistency. `--border` is defined as `1px solid var(--border-color)`, so the substitution is byte-equivalent at the cascade level: same border in light mode, same border in dark mode, identical to the prior commit. Behavior unchanged. 130/130 tests pass; tsc --noEmit clean. --- public/style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/style.css b/public/style.css index 8a662c4..86b7f78 100644 --- a/public/style.css +++ b/public/style.css @@ -317,7 +317,7 @@ a.btn:hover { letter-spacing: 0.02em; background: var(--bg); color: var(--fg); - border: 1px solid var(--border-color); + border: var(--border); cursor: pointer; white-space: nowrap; transition: background 0.1s; @@ -362,7 +362,7 @@ th { text-transform: uppercase; text-align: left; background: var(--bg-elevated); - border-bottom: 1px solid var(--border-color); + border-bottom: var(--border); color: var(--fg-muted); } @@ -396,7 +396,7 @@ button.copy-link { letter-spacing: 0.04em; background: var(--bg); color: var(--fg); - border: 1px solid var(--border-color); + border: var(--border); cursor: pointer; margin-right: 0.4rem; }