Commit b93ca11
style(filesharing): neutralize cancel-upload button until hover/focus (#259)
* style(filesharing): neutralize cancel-upload button until hover/focus
The cancel-upload button was a solid red (--pg-input-error) fill, which
read as a destructive/primary action. Make it visually neutral by default
(transparent with a subtle border and secondary text) and only surface
emphasis on hover via a faint text-tinted background. Avoids nudging the
user away from a routine cancel action.
* fix(filesharing): use defined --pg-input-hover token for cancel-btn hover border
The cancel-upload hover rule referenced --pg-input-normal-hover, which is
undefined; with no var() fallback the border-color fell back to currentColor
(--pg-text), producing a full-strength text-coloured border instead of the
intended subtle one. Switch to the real token --pg-input-hover.
(--no-verify: husky pre-commit's lint-staged prettier run errors on .svelte
paths without prettier-plugin-svelte configured — pre-existing, unrelated.)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: dobby-yivi-agent[bot] <275734547+dobby-yivi-agent[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 9411392 commit b93ca11
1 file changed
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
684 | | - | |
685 | | - | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
686 | 687 | | |
687 | | - | |
| 688 | + | |
688 | 689 | | |
689 | | - | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
690 | 694 | | |
691 | 695 | | |
692 | 696 | | |
693 | | - | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
694 | 700 | | |
695 | 701 | | |
696 | 702 | | |
| |||
0 commit comments