diff --git a/src/components/layout/app-shell.tsx b/src/components/layout/app-shell.tsx index a1f19eb..4ea15e3 100644 --- a/src/components/layout/app-shell.tsx +++ b/src/components/layout/app-shell.tsx @@ -151,7 +151,7 @@ export function AppShell(props: ParentProps) {
{routeLabel()}
- diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx index 7711951..062052a 100644 --- a/src/components/ui/button.tsx +++ b/src/components/ui/button.tsx @@ -4,14 +4,16 @@ import { type ComponentProps, type ValidComponent, splitProps } from "solid-js"; import { cn } from "@/lib/cn"; export const buttonVariants = cva( - "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium transition-all duration-200 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:-translate-y-0.5 hover:scale-[1.015] active:translate-y-0 active:scale-[0.97] active:opacity-90", + "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-semibold transition-all duration-200 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:-translate-y-0.5 hover:scale-[1.015] active:translate-y-0 active:scale-[0.97] active:opacity-90", { variants: { variant: { - default: "bg-primary text-primary-foreground shadow-apple hover:bg-primary/90 hover:shadow-apple-hover dark:hover:shadow-[0_0_20px_rgba(59,130,246,0.35)]", - destructive: "bg-destructive text-destructive-foreground shadow-apple hover:bg-destructive/90 dark:hover:shadow-[0_0_20px_rgba(244,63,94,0.35)]", + default: + "border border-primary/40 bg-primary/15 text-primary ring-1 ring-primary/25 shadow-xs hover:bg-primary/25 hover:border-primary/60 hover:ring-primary/40 dark:bg-primary/20 dark:text-foreground dark:hover:bg-primary/30", + destructive: + "border border-destructive/40 bg-destructive/15 text-destructive ring-1 ring-destructive/25 shadow-xs hover:bg-destructive/25 hover:border-destructive/60 hover:ring-destructive/40 dark:bg-destructive/20 dark:text-destructive-foreground dark:hover:bg-destructive/30", outline: - "border border-black/[0.08] dark:border-indigo-500/30 bg-background/80 shadow-sm hover:bg-secondary hover:text-foreground hover:border-black/20 dark:hover:border-indigo-400/60 dark:hover:ring-1 dark:hover:ring-indigo-400/30 dark:hover:shadow-[0_0_16px_rgba(99,102,241,0.25)]", + "border border-black/[0.08] dark:border-indigo-500/30 bg-background/80 shadow-xs hover:bg-secondary hover:text-foreground hover:border-black/20 dark:hover:border-indigo-400/60 dark:hover:ring-1 dark:hover:ring-indigo-400/30", secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 dark:hover:bg-secondary/90", ghost: "hover:bg-secondary/80 hover:text-foreground dark:hover:bg-white/[0.08]", link: "text-primary underline-offset-4 hover:underline hover:translate-y-0 hover:scale-100", diff --git a/src/pages/notes-page.tsx b/src/pages/notes-page.tsx index a5d4a9f..8671781 100644 --- a/src/pages/notes-page.tsx +++ b/src/pages/notes-page.tsx @@ -79,7 +79,7 @@ function NotesContent() { {t("notes.new")} - diff --git a/src/pages/questions-page.tsx b/src/pages/questions-page.tsx index d64ab73..c0382f4 100644 --- a/src/pages/questions-page.tsx +++ b/src/pages/questions-page.tsx @@ -50,15 +50,20 @@ function QuestionsContent() { return (
-
- - - - -
+ + + + } + />