mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 21:25:24 +03:00
Add back in colors
This commit is contained in:
parent
ae30e6ecc0
commit
ed76c3c7f1
@ -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:
|
||||||
|
|||||||
@ -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))",
|
||||||
|
|||||||
@ -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%;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user