Add back in colors

This commit is contained in:
Nicolas Mowen 2024-04-09 17:02:39 -06:00
parent ae30e6ecc0
commit ed76c3c7f1
3 changed files with 8 additions and 5 deletions

View File

@ -10,7 +10,7 @@ const buttonVariants = cva(
variants: { variants: {
variant: { variant: {
default: "bg-secondary text-primary hover:bg-secondary/80", default: "bg-secondary text-primary hover:bg-secondary/80",
select: "bg-selected text-white hover:bg-opacity-90", select: "bg-selected text-selected-foreground hover:bg-opacity-90",
destructive: destructive:
"bg-destructive text-destructive-foreground hover:bg-destructive/90", "bg-destructive text-destructive-foreground hover:bg-destructive/90",
outline: outline:

View File

@ -46,7 +46,10 @@ module.exports = {
background: "hsl(var(--background))", background: "hsl(var(--background))",
background_alt: "hsl(var(--background-alt))", background_alt: "hsl(var(--background-alt))",
foreground: "hsl(var(--foreground))", foreground: "hsl(var(--foreground))",
selected: "hsl(var(--selected))", selected: {
DEFAULT: "hsl(var(--selected))",
foreground: "hsl(var(--selected-foreground))",
},
primary: { primary: {
DEFAULT: "hsl(var(--primary))", DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))", foreground: "hsl(var(--primary-foreground))",

View File

@ -72,6 +72,9 @@
--selected: hsl(228, 89%, 63%); --selected: hsl(228, 89%, 63%);
--selected: 228 89% 63%; --selected: 228 89% 63%;
--selected-foreground: hsl(0 0% 100%);
--selected-foreground: 0 0% 100%;
--radius: 0.5rem; --radius: 0.5rem;
--severity_alert: var(--red-800); --severity_alert: var(--red-800);
@ -162,8 +165,5 @@
--ring: hsla(0 0% 25% 0%); --ring: hsla(0 0% 25% 0%);
--ring: 0 0% 25% 0%; --ring: 0 0% 25% 0%;
--selected: hsl(228, 89%, 63%);
--selected: 228 89% 63%;
} }
} }