mirror of
https://github.com/hoornet/vega.git
synced 2026-05-07 12:49:13 -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:
@@ -65,7 +65,7 @@ export const NoteCard = memo(function NoteCard({ event, focused, onReplyInThread
|
||||
<article
|
||||
ref={cardRef}
|
||||
data-note-id={event.id}
|
||||
className={`border-b border-border px-4 py-3 hover:bg-bg-hover transition-colors duration-100 cursor-pointer group/card${focused ? " bg-accent/10 border-l-2 border-l-accent" : ""}`}
|
||||
className={`border-b border-border px-4 py-3 hover:bg-bg-hover transition-colors cursor-pointer group/card${focused ? " bg-accent/10 border-l-2 border-l-accent" : ""}`}
|
||||
onClick={(e) => {
|
||||
// Don't navigate if clicking on interactive elements
|
||||
const target = e.target as HTMLElement;
|
||||
|
||||
Reference in New Issue
Block a user