Rest sidebar rows dim, brighten them on hover Sidebar rows sat at --text-primary, so every row was as loud as the page content beside it. A sidebar is a list of places you are not: at full brightness they all compete for attention and none of them wins. Rows now rest at --text-muted and go to --text-primary on hover. The selected row stays bright without being hovered, because the place you are is the one row that earns it unprompted. Colour is now in the transition, so the change eases rather than snaps. Applied to .docs-sidebar__link as well, so the two sidebars in the application read as one idea rather than two similar ones. Fixes a latent theme bug while here: both hover rules hardcoded #fff, which became white-on-near-white the moment light mode shipped. They use the ink token now, which flips with the theme. Static and empty rows no longer brighten on hover at all -- they are not destinations, so hovering them should not suggest they are.
Rest sidebar rows dim, brighten them on hover
Deploy story
What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.
Not deployed through the forge lane
No push, promotion, build, or deploy receipt references this commit (receipts are scanned over a bounded recent window). Changes shipped by full node replacement carry their proof in the release gate receipt instead.
Changed files
-
modified
assets/css/app.css
Diff
1 file changed, +19 -6
assets/css/app.css modified +19 -6
@@ -271,17 +271,24 @@
| 271 | 271 |
|
| 272 | 272 |
|
| 273 | 273 |
|
| 274 |
|
|
| 274 |
|
|
| 275 |
|
|
| 276 |
|
|
| 277 |
|
|
| 275 | 278 |
|
| 276 | 279 |
|
| 277 | 280 |
|
| 278 |
|
|
| 281 |
|
|
| 282 |
|
|
| 283 |
|
|
| 279 | 284 |
|
| 280 | 285 |
|
| 281 | 286 |
|
| 282 | 287 |
|
| 283 | 288 |
|
| 284 |
|
|
| 289 |
|
|
| 290 |
|
|
| 291 |
|
|
| 285 | 292 |
|
| 286 | 293 |
|
| 287 | 294 |
|
@@ -291,6 +298,8 @@
| 291 | 298 |
|
| 292 | 299 |
|
| 293 | 300 |
|
| 301 |
|
|
| 302 |
|
|
| 294 | 303 |
|
| 295 | 304 |
|
| 296 | 305 |
|
@@ -301,7 +310,8 @@
| 301 | 310 |
|
| 302 | 311 |
|
| 303 | 312 |
|
| 304 |
|
|
| 313 |
|
|
| 314 |
|
|
| 305 | 315 |
|
| 306 | 316 |
|
| 307 | 317 |
|
@@ -430,16 +440,19 @@
| 430 | 440 |
|
| 431 | 441 |
|
| 432 | 442 |
|
| 433 |
|
|
| 443 |
|
|
| 444 |
|
|
| 445 |
|
|
| 434 | 446 |
|
| 435 | 447 |
|
| 436 | 448 |
|
| 449 |
|
|
| 437 | 450 |
|
| 438 | 451 |
|
| 439 | 452 |
|
| 440 | 453 |
|
| 441 | 454 |
|
| 442 |
|
|
| 455 |
|
|
| 443 | 456 |
|
| 444 | 457 |
|
| 445 | 458 |
|