Commit d594454
committed
Polish the editor affordance with the existing accent left-rule
Removed the ✎ pencil glyph (icons aren't part of the site's
vocabulary). Replaced it with the 2px accent left-rule the site
already uses on .cell-code-stack, .lesson-step pre, and
.shiki-block — the visual signature for "live code area". The
editor panel is now consistent with the rest of the code chrome:
hairline on three sides, orange accent rule on the left.
Other cues from the previous commit kept:
- background: --surface-2 (lifts the editor over --surface output)
- cursor: text on hover (the native edit affordance)
- focus-within glow: 3px accent ring (matches textarea/cm-focused)
Refinement: dropped the border-color hover state. Cycling a single
border colour added a third moving piece for hover/focus/active.
Hover now shifts background --surface-2 → --surface-3, which is a
quieter and more polished signal that the panel is interactive.
Focus is the loud state.
Output panel keeps its dashed hairline + --surface, so the
editable / read-only contrast still reads at a glance — just
through accent rule vs no rule, and surface-2 vs surface, instead
of a glyph.1 parent 281a1a3 commit d594454
3 files changed
Lines changed: 8 additions & 10 deletions
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
117 | 116 | | |
118 | 117 | | |
119 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
117 | 116 | | |
118 | 117 | | |
119 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
0 commit comments