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.
This commit is contained in:
2026-05-11 09:53:24 -07:00
parent 012c544bdc
commit 38e7c0c4a1

View File

@@ -317,7 +317,7 @@ a.btn:hover {
letter-spacing: 0.02em; letter-spacing: 0.02em;
background: var(--bg); background: var(--bg);
color: var(--fg); color: var(--fg);
border: 1px solid var(--border-color); border: var(--border);
cursor: pointer; cursor: pointer;
white-space: nowrap; white-space: nowrap;
transition: background 0.1s; transition: background 0.1s;
@@ -362,7 +362,7 @@ th {
text-transform: uppercase; text-transform: uppercase;
text-align: left; text-align: left;
background: var(--bg-elevated); background: var(--bg-elevated);
border-bottom: 1px solid var(--border-color); border-bottom: var(--border);
color: var(--fg-muted); color: var(--fg-muted);
} }
@@ -396,7 +396,7 @@ button.copy-link {
letter-spacing: 0.04em; letter-spacing: 0.04em;
background: var(--bg); background: var(--bg);
color: var(--fg); color: var(--fg);
border: 1px solid var(--border-color); border: var(--border);
cursor: pointer; cursor: pointer;
margin-right: 0.4rem; margin-right: 0.4rem;
} }