feat: add copy-flash visual feedback on click-to-copy
All checks were successful
check / check (push) Successful in 9s

When a user clicks to copy text (addresses, tx hashes, etc.), the copied
element now briefly flashes with inverted colors (bg/fg swap) and fades
back over ~300ms. This provides localized visual feedback in addition to
the existing flash message.

Applied to all click-to-copy elements across all views.

closes #100
This commit is contained in:
user
2026-02-28 15:55:57 -08:00
committed by Jeffrey Paul
parent 09c52b2519
commit ff4b5ee24d
9 changed files with 49 additions and 2 deletions

View File

@@ -19,3 +19,16 @@ body {
width: 396px;
overflow-x: hidden;
}
/* Copy-flash feedback: inverts colors then fades back */
.copy-flash-active {
background-color: var(--color-fg) !important;
color: var(--color-bg) !important;
transition: none;
}
.copy-flash-fade {
transition:
background-color 300ms ease-out,
color 300ms ease-out;
}