Merge pull request #776 from 190km/status-tooltip-colors

fix: Add green color for done status tooltip, and lightens destructive colors
This commit is contained in:
Mauricio Siu
2024-11-28 20:37:05 -06:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ export const StatusTooltip = ({ status, className }: Props) => {
)} )}
{status === "done" && ( {status === "done" && (
<div <div
className={cn("size-3.5 rounded-full bg-primary", className)} className={cn("size-3.5 rounded-full bg-green-500", className)}
/> />
)} )}
{status === "running" && ( {status === "running" && (

View File

@@ -12,7 +12,7 @@ const buttonVariants = cva(
variant: { variant: {
default: "bg-primary text-primary-foreground hover:bg-primary/90", default: "bg-primary text-primary-foreground hover:bg-primary/90",
destructive: destructive:
"bg-destructive text-destructive-foreground hover:bg-destructive/90", "bg-destructive text-destructive-foreground hover:bg-destructive/70",
outline: outline:
"border border-input bg-background hover:bg-accent hover:text-accent-foreground", "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
secondary: secondary:

View File

@@ -64,7 +64,7 @@
--accent: 240 3.7% 15.9%; --accent: 240 3.7% 15.9%;
--accent-foreground: 0 0% 98%; --accent-foreground: 0 0% 98%;
--destructive: 0 62.8% 30.6%; --destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 98%; --destructive-foreground: 0 0% 98%;
--border: 240 3.7% 15.9%; --border: 240 3.7% 15.9%;