Files
pansy/web/src/components/ui/cardActions.ts
T
steve c2dd93a93d
Build image / build-and-push (push) Successful in 8s
Sharing UI: invite by email, roles, read-only viewer mode (#17)
Co-authored-by: Steve Dudenhoeffer <[email protected]>
2026-07-19 04:14:30 +00:00

11 lines
582 B
TypeScript

// Shared footer-action button styling for list cards (garden/plant), so the
// verbatim class strings don't drift between them.
export const cardActionClass =
'rounded-md px-2.5 py-1 text-sm font-medium text-muted outline-none transition-colors ' +
'hover:bg-border/50 hover:text-fg focus-visible:ring-2 focus-visible:ring-accent/40'
export const cardDangerClass =
'rounded-md px-2.5 py-1 text-sm font-medium text-muted outline-none transition-colors ' +
'hover:bg-red-500/10 hover:text-red-600 focus-visible:ring-2 focus-visible:ring-red-500/40 dark:hover:text-red-400'