Commit 303ddf8
committed
fix(web/styles): paper-mono focus halo + unified button radius
Two complaints from screenshot review:
1. The CommentForm textarea showed a heavy 2-3px solid orange border
on focus — visually a "filled border" pattern, not the soft halo
paper-mono is designed around. .proto-md-textarea now uses a 1px
hairline idle border that darkens to --accent on focus, plus the
--shadow-focus-ring token (which existed unused) for the 3px
translucent halo. No layout shift on focus.
2. Buttons rendered different shapes across the site: pills (radius-
full = 9999px) for .proto-btn-primary / .proto-btn-secondary /
.proto-mod-btn; rectangles (radius-sm) for .proto-confirm-btn in
modals. design.md mandates "small radii (≤10px)" so the modal
button is the design-correct one. Aligned all four button
families to radius-sm so a Post button and a Revoke-token button
feel like the same control.
Affected surfaces (visual change only, no behavioral change):
- /p/[id] comment form Post button
- /settings/tokens reveal page Copy/Done
- /settings/bots create + mint forms
- /admin/* moderation buttons
- All other primary/secondary buttons site-wide1 parent b56162c commit 303ddf8
1 file changed
Lines changed: 24 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2022 | 2022 | | |
2023 | 2023 | | |
2024 | 2024 | | |
2025 | | - | |
| 2025 | + | |
| 2026 | + | |
2026 | 2027 | | |
2027 | 2028 | | |
2028 | 2029 | | |
| |||
3457 | 3458 | | |
3458 | 3459 | | |
3459 | 3460 | | |
| 3461 | + | |
| 3462 | + | |
| 3463 | + | |
| 3464 | + | |
| 3465 | + | |
| 3466 | + | |
3460 | 3467 | | |
3461 | 3468 | | |
3462 | 3469 | | |
3463 | 3470 | | |
3464 | 3471 | | |
3465 | 3472 | | |
3466 | 3473 | | |
3467 | | - | |
| 3474 | + | |
3468 | 3475 | | |
3469 | 3476 | | |
3470 | 3477 | | |
| |||
3481 | 3488 | | |
3482 | 3489 | | |
3483 | 3490 | | |
3484 | | - | |
| 3491 | + | |
3485 | 3492 | | |
3486 | 3493 | | |
3487 | 3494 | | |
| |||
3761 | 3768 | | |
3762 | 3769 | | |
3763 | 3770 | | |
3764 | | - | |
| 3771 | + | |
| 3772 | + | |
3765 | 3773 | | |
3766 | 3774 | | |
3767 | 3775 | | |
3768 | 3776 | | |
3769 | 3777 | | |
3770 | 3778 | | |
3771 | 3779 | | |
| 3780 | + | |
| 3781 | + | |
3772 | 3782 | | |
3773 | 3783 | | |
| 3784 | + | |
| 3785 | + | |
| 3786 | + | |
| 3787 | + | |
| 3788 | + | |
| 3789 | + | |
| 3790 | + | |
3774 | 3791 | | |
3775 | | - | |
3776 | | - | |
| 3792 | + | |
| 3793 | + | |
| 3794 | + | |
3777 | 3795 | | |
3778 | 3796 | | |
3779 | 3797 | | |
| |||
0 commit comments