mirror of
https://github.com/hoornet/vega.git
synced 2026-07-14 12:38:12 -07:00
Polish: reduced motion, toast animation, token consistency
- Add prefers-reduced-motion media query for accessibility - Add slide-in animation for toast notifications - Standardize transition durations across note cards - Replace remaining hard-coded text-white with theme tokens
This commit is contained in:
@@ -182,7 +182,7 @@ export function InlineReplyBox({ event, name, rootEvent }: InlineReplyBoxProps)
|
||||
)}
|
||||
<button
|
||||
onClick={() => removeAttachment(i)}
|
||||
className="absolute -top-1.5 -right-1.5 w-4 h-4 bg-danger text-white text-[10px] rounded-full flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity"
|
||||
className="absolute -top-1.5 -right-1.5 w-4 h-4 bg-danger text-accent-text text-[10px] rounded-full flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity"
|
||||
title="Remove"
|
||||
>
|
||||
x
|
||||
|
||||
Reference in New Issue
Block a user