Commit 49baff0
style(docs): polish sidebar, header, focus, and code block UX
- Sidebar: purple highlight on active/hover, remove left border
- Header: full-width on docs pages, constrained on homepage
- Header: Docs link non-clickable when already on docs pages
- Focus: strip background-color changes on focus, only show
purple outline ring on keyboard focus-visible
- Skip to content: purple background on focus
- Code blocks: reduce header padding for less dead space
- Copy button: focus ring tightly wraps icon only (Copied! text
positioned absolutely so it doesn't inflate button size)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 3ada0ad commit 49baff0
File tree
3 files changed
+60
-10
lines changed- docs/src
- components
- styles
3 files changed
+60
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | | - | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
65 | 78 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | | - | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
105 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
106 | 116 | | |
107 | 117 | | |
108 | 118 | | |
109 | 119 | | |
110 | 120 | | |
| 121 | + | |
111 | 122 | | |
112 | 123 | | |
113 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
65 | 85 | | |
66 | 86 | | |
67 | 87 | | |
| |||
1059 | 1079 | | |
1060 | 1080 | | |
1061 | 1081 | | |
1062 | | - | |
| 1082 | + | |
1063 | 1083 | | |
1064 | 1084 | | |
1065 | 1085 | | |
| |||
1250 | 1270 | | |
1251 | 1271 | | |
1252 | 1272 | | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
1253 | 1280 | | |
1254 | 1281 | | |
1255 | 1282 | | |
| |||
1569 | 1596 | | |
1570 | 1597 | | |
1571 | 1598 | | |
1572 | | - | |
| 1599 | + | |
1573 | 1600 | | |
1574 | 1601 | | |
1575 | 1602 | | |
1576 | 1603 | | |
1577 | 1604 | | |
1578 | 1605 | | |
1579 | 1606 | | |
1580 | | - | |
| 1607 | + | |
1581 | 1608 | | |
1582 | 1609 | | |
1583 | 1610 | | |
1584 | 1611 | | |
1585 | 1612 | | |
1586 | | - | |
1587 | 1613 | | |
1588 | 1614 | | |
1589 | 1615 | | |
| |||
0 commit comments