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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user