@@ -172,7 +172,7 @@ export function SearchResultsPanel({
)}
{!isAnswerExpanded && (isExpandable || isAnswerLoading) ? (
-
+
) : null}
@@ -199,7 +199,7 @@ export function SearchResultsPanel({
href={citation.href}
target={openLinksInNewTab ? "_blank" : undefined}
rel={openLinksInNewTab ? "noreferrer" : undefined}
- className="max-w-full truncate rounded-md border border-violet-400/40 px-2 py-1 text-xs text-violet-200 hover:bg-violet-500/20"
+ className="max-w-full truncate rounded-md border border-violet-300/28 bg-violet-300/8 px-2 py-1 text-xs text-violet-200 hover:bg-violet-500/20"
>
{citation.index}
{citation.label}
@@ -225,23 +225,23 @@ export function SearchResultsPanel({
- {formatHost(result.url)}
+ {formatHost(result.url)}
{result.title || result.url}
{(result.publishedDate || result.author) && (
{[result.publishedDate, result.author].filter(Boolean).join(" • ")}
)}
- {result.url ? {result.url}
: null}
+ {result.url ? {result.url}
: null}
);
})}
diff --git a/web/src/components/ui/button.tsx b/web/src/components/ui/button.tsx
index b7756b1..818adac 100644
--- a/web/src/components/ui/button.tsx
+++ b/web/src/components/ui/button.tsx
@@ -3,14 +3,16 @@ import type { JSX } from "preact";
import { cn } from "@/lib/utils";
const buttonVariants = cva(
- "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
+ "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
{
variants: {
variant: {
- default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
- secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
- outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
- ghost: "hover:bg-accent hover:text-accent-foreground",
+ default:
+ "border border-violet-300/35 bg-[linear-gradient(135deg,hsl(252_92%_64%_/_0.95),hsl(274_84%_35%_/_0.95))] text-primary-foreground shadow-sm hover:border-violet-200/55 hover:brightness-110",
+ secondary:
+ "border border-violet-300/18 bg-secondary/78 text-secondary-foreground shadow-[inset_0_1px_0_hsl(255_100%_92%_/_0.06)] hover:border-violet-300/32 hover:bg-secondary",
+ outline: "border border-input bg-background/76 hover:border-violet-300/45 hover:bg-accent/65 hover:text-accent-foreground",
+ ghost: "text-muted-foreground hover:bg-accent/65 hover:text-accent-foreground",
},
size: {
default: "h-10 px-4 py-2",
diff --git a/web/src/components/ui/input.tsx b/web/src/components/ui/input.tsx
index 4875e19..431eac6 100644
--- a/web/src/components/ui/input.tsx
+++ b/web/src/components/ui/input.tsx
@@ -5,7 +5,7 @@ export function Input({ className, ...props }: JSX.InputHTMLAttributes