fix: add correct amber colors and button design (#7413)
* Fix amber color * Fix button and voice assistant button to use correct design and colors * Fixed button design to include bg * remove bg definition from voice assistant
This commit is contained in:
parent
eed0a5c404
commit
0d00fe8f12
3 changed files with 6 additions and 8 deletions
|
|
@ -15,7 +15,7 @@ const buttonVariants = cva(
|
|||
outline:
|
||||
"border border-input hover:bg-input hover:text-accent-foreground ",
|
||||
outlineAmber:
|
||||
"border border-accent-amber-foreground hover:border-accent-amber",
|
||||
"border border-accent-amber-foreground hover:bg-accent-amber",
|
||||
primary:
|
||||
"border bg-background text-secondary-foreground hover:bg-muted hover:shadow-sm",
|
||||
warning:
|
||||
|
|
|
|||
|
|
@ -457,14 +457,12 @@ export function VoiceAssistant({
|
|||
variant={"outlineAmber"}
|
||||
size={"icon"}
|
||||
data-testid="voice-assistant-settings-icon-without-openai"
|
||||
className="group h-8 w-8"
|
||||
className="h-8 w-8"
|
||||
>
|
||||
<IconComponent
|
||||
name="Settings"
|
||||
name="Key"
|
||||
strokeWidth={ICON_STROKE_WIDTH}
|
||||
className={cn(
|
||||
"h-4 w-4 text-accent-amber-foreground group-hover:text-accent-amber",
|
||||
)}
|
||||
className={cn("h-4 w-4 text-accent-amber-foreground")}
|
||||
/>
|
||||
</Button>
|
||||
</>
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@
|
|||
|
||||
--zinc-foreground: 240 5.9% 90%;
|
||||
|
||||
--accent-amber: 21.7 77.8% 26.5%;
|
||||
--accent-amber: 48, 96%, 89%;
|
||||
--accent-amber-foreground: 26 90.5% 37.1%;
|
||||
--red-foreground: 0 90.6% 70.8%;
|
||||
}
|
||||
|
|
@ -447,7 +447,7 @@
|
|||
|
||||
--zinc-foreground: 240 5.2% 33.9%;
|
||||
|
||||
--accent-amber: 48 96.5% 88.8%;
|
||||
--accent-amber: 22, 78%, 26%;
|
||||
--accent-amber-foreground: 45.9 96.7% 64.5%;
|
||||
--red-foreground: 0 72.2% 50.6%;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue