Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

feat: update light bg

Gus0f6e785d2291
diff --git a/src/web/src/app/(app)/w/[slug]/agents/[id]/email/page.tsx b/src/web/src/app/(app)/w/[slug]/agents/[id]/email/page.tsx
index a7326183d..ab4a94a0e 100644
--- a/src/web/src/app/(app)/w/[slug]/agents/[id]/email/page.tsx
+++ b/src/web/src/app/(app)/w/[slug]/agents/[id]/email/page.tsx
@@ -202,10 +202,10 @@ export default function AgentEmailPage() {
</div>
{/* Column 2: Email list */}
- <div className="w-[300px] shrink-0 border-r border-border/40 overflow-y-auto">
+ <div className={cn("w-[300px] shrink-0 border-r border-border/40", emails.length > 0 && !loading ? "overflow-y-auto" : "overflow-hidden")}>
{loading ? (
<>
- {Array.from({ length: 5 }).map((_, i) => (
+ {Array.from({ length: 3 }).map((_, i) => (
<div key={i} className="px-4 py-3 border-b border-border/30">
<div className="flex items-center justify-between gap-2 mb-1.5">
<Skeleton className="h-3.5 w-32" />
diff --git a/src/web/src/app/(auth)/sign-in/page.tsx b/src/web/src/app/(auth)/sign-in/page.tsx
index 9de81f56f..a34dc6110 100644
--- a/src/web/src/app/(auth)/sign-in/page.tsx
+++ b/src/web/src/app/(auth)/sign-in/page.tsx
@@ -19,6 +19,7 @@ import {
FieldSeparator,
} from "@/components/ui/field"
import { SiGithub, SiGoogle } from "@icons-pack/react-simple-icons"
+import { GradientBackground } from "@/components/gradient-background"
const isProd = process.env.NEXTJS_ENV === "production"
@@ -267,7 +268,8 @@ function PasswordSignIn() {
export default function SignInPage() {
return (
- <div className="flex min-h-svh flex-col items-center justify-center bg-muted p-6 md:p-10">
+ <div className="relative flex min-h-svh flex-col items-center justify-center p-6 md:p-10">
+ <GradientBackground />
<div className="w-full max-w-sm md:max-w-4xl">
<div className="flex flex-col gap-6">
<Card className="overflow-hidden p-0">
diff --git a/src/web/src/app/(auth)/sign-up/page.tsx b/src/web/src/app/(auth)/sign-up/page.tsx
index 3ed9b8b9e..980cf4f7e 100644
--- a/src/web/src/app/(auth)/sign-up/page.tsx
+++ b/src/web/src/app/(auth)/sign-up/page.tsx
@@ -13,6 +13,7 @@ import {
FieldGroup,
FieldLabel,
} from "@/components/ui/field"
+import { GradientBackground } from "@/components/gradient-background"
const isProd = process.env.NEXTJS_ENV === "production"
@@ -40,7 +41,8 @@ function SignUpForm() {
}
return (
- <div className="flex min-h-svh flex-col items-center justify-center bg-muted p-6 md:p-10">
+ <div className="relative flex min-h-svh flex-col items-center justify-center p-6 md:p-10">
+ <GradientBackground />
<div className="w-full max-w-sm md:max-w-4xl">
<div className="flex flex-col gap-6">
<Card className="overflow-hidden p-0">
diff --git a/src/web/src/app/globals.css b/src/web/src/app/globals.css
index ff359e62e..9f8668cbb 100644
--- a/src/web/src/app/globals.css
+++ b/src/web/src/app/globals.css
@@ -55,7 +55,7 @@
}
:root {
- --background: oklch(0.995 0.005 80);
+ --background: oklch(0.94 0.02 250);
--foreground: oklch(0.18 0.01 60);
--card: oklch(1 0.003 80);
--card-foreground: oklch(0.18 0.01 60);
diff --git a/src/web/src/components/ui/button.tsx b/src/web/src/components/ui/button.tsx
index c751375cc..214c83ec9 100644
--- a/src/web/src/components/ui/button.tsx
+++ b/src/web/src/components/ui/button.tsx
@@ -10,7 +10,7 @@ const buttonVariants = cva(
variant: {
default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
outline:
- "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
+ "border-border bg-card hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
secondary:
"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
ghost: