Create professional demos and 3D mockups in seconds, directly in your browser
refactor: update UI components for improved styling and accessibility
CristianOlivera16cfe1e224ed5
diff --git a/.gitignore b/.gitignoreindex 08deee2..bf27aab 100644--- a/.gitignore+++ b/.gitignore@@ -47,4 +47,5 @@ BACKEND_SPEC.mdBACKEND_TESTING.md/openvid-back/openvid-autozoom-plan-integracion-openvid-autozoom.md\ No newline at end of file+plan-integracion-openvid-autozoom.md+THEME_MIGRATION.md\ No newline at end of filediff --git a/app/[locale]/(auth)/layout.tsx b/app/[locale]/(auth)/layout.tsxindex b8ee58e..f75663e 100644--- a/app/[locale]/(auth)/layout.tsx+++ b/app/[locale]/(auth)/layout.tsx@@ -6,7 +6,7 @@ export default async function AuthLayout({ children }: { children: React.ReactNoreturn (<NextIntlClientProvider messages={messages}>- <div className="min-h-screen bg-neutral-950">+ <div className="min-h-screen bg-neutral-950 dark">{children}</div></NextIntlClientProvider>diff --git a/app/[locale]/(editor)/editor/page.tsx b/app/[locale]/(editor)/editor/page.tsxindex c933853..34f1bfb 100644--- a/app/[locale]/(editor)/editor/page.tsx+++ b/app/[locale]/(editor)/editor/page.tsx@@ -2974,7 +2974,7 @@ export default function Editor() {const effectiveCameraUrl = shouldShowCamera ? cameraUrl : null;return (- <div className="flex flex-col h-screen w-full bg-[#0E0E12] text-white/70 font-sans overflow-hidden select-none">+ <div className="flex flex-col h-screen w-full bg-background text-foreground font-sans overflow-hidden select-none"><div className="flex flex-1 overflow-hidden"><div className="hidden lg:flex"><ToolsSidebar@@ -3006,7 +3006,7 @@ export default function Editor() {transition={{ duration: 0.3, ease: "easeInOut" }}><Suspense fallback={- <div className="w-[320px] h-screen bg-[#141417] border-r border-white/10 flex items-center justify-center">+ <div className="w-[320px] h-screen bg-background border-r border-border flex items-center justify-center"><LoadingSpinner message="Cargando panel..." /></div>}>@@ -3108,7 +3108,7 @@ export default function Editor() {<divref={editorAreaRef}- className="flex-1 bg-[#09090B] flex flex-col relative overflow-hidden min-w-0"+ className="flex-1 bg-background flex flex-col relative overflow-hidden min-w-0"><AnimatePresence>{!isControlPanelOpen && (@@ -3121,7 +3121,7 @@ export default function Editor() {whileHover={{ scale: 1.1 }}whileTap={{ scale: 0.9 }}onClick={() => setIsControlPanelOpen(true)}- className="absolute top-2 left-4 z-50 p-2 flex items-center gap-2 squircle-element bg-[#18181b] border border-white/10 text-white hover:bg-[#252529] transition-all duration-200 shadow-lg"+ className="absolute top-2 left-4 z-50 p-2 flex items-center gap-2 squircle-element bg-muted text-foreground border border-border hover:bg-accent transition-all duration-200 shadow-lg"><Link href="/" className="block sm:hidden"><Image src="/svg/logo-openvid.svg" alt="Logo" width={24} height={24} className="hover:opacity-80 transition-opacity" /></Link><Icon icon="lucide:sidebar-open" width="20" className="hidden sm:block"diff --git a/app/[locale]/(editor)/layout.tsx b/app/[locale]/(editor)/layout.tsxindex 8b3cca7..1e6f4e2 100644--- a/app/[locale]/(editor)/layout.tsx+++ b/app/[locale]/(editor)/layout.tsx@@ -1,16 +1,24 @@-"use client";-+import { cookies } from "next/headers";import { AuthProvider } from "@/app/contexts/useAuth";import RecordingOverlay from "../../components/ui/RecordingOverlay";import { Mockup3dProvider } from "@/app/contexts/Mockup3dContext";import { RecordingProvider } from "@/app/contexts/RecordingContext";-export default function EditorLayout({ children }: { children: React.ReactNode }) {+const THEME_COOKIE = "openvid_theme";++export default async function EditorLayout({ children }: { children: React.ReactNode }) {+ // SSR por cookie: el tema efectivo (light|dark, nunca "system") lo escribe+ // UserMenuDropdown. Sin cookie -> dark (look por defecto). Así el primer+ // paint ya coincide con el tema guardado y no hay flash.+ const cookieStore = await cookies();+ const theme = cookieStore.get(THEME_COOKIE)?.value;+ const isDark = theme !== "light";+return (<AuthProvider><RecordingProvider><Mockup3dProvider>- <div className="min-h-screen bg-neutral-950">+ <div id="editor-root" className={`min-h-screen bg-background${isDark ? " dark" : ""}`}>{children}</div></Mockup3dProvider>diff --git a/app/[locale]/(home)/layout.tsx b/app/[locale]/(home)/layout.tsxindex 5f425f7..7666ccc 100644--- a/app/[locale]/(home)/layout.tsx+++ b/app/[locale]/(home)/layout.tsx@@ -19,7 +19,7 @@ export default function HomeLayout({ children }: { children: React.ReactNode })wheelMultiplier: 1.1,}}>- <div className="flex min-h-screen flex-col text-neutral-300 bg-neutral-950">+ <div className="flex min-h-screen flex-col text-neutral-300 bg-neutral-950 dark"><Header /><main className="flex-1 w-full">{children}diff --git a/app/[locale]/(legal)/layout.tsx b/app/[locale]/(legal)/layout.tsxindex f49cf22..68e0a75 100644--- a/app/[locale]/(legal)/layout.tsx+++ b/app/[locale]/(legal)/layout.tsx@@ -15,7 +15,7 @@ export default function LegalLayout({ children }: { children: React.ReactNode })return (<AuthProvider><RecordingProvider>- <div className="min-h-screen flex flex-col bg-[#09090B]">+ <div className="min-h-screen flex flex-col bg-[#09090B] dark"><Header /><div className="grow pt-24 pb-16">{children}diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsxindex ba1eb4b..180dc91 100644--- a/app/[locale]/layout.tsx+++ b/app/[locale]/layout.tsx@@ -167,7 +167,7 @@ export default async function LocaleLayout({return (<html lang={locale || defaultLocale} suppressHydrationWarning><body- className={`${inter.variable} ${roboto.variable} ${inter.className} antialiased dark`}+ className={`${inter.variable} ${roboto.variable} ${inter.className} antialiased`}><NextIntlClientProviderkey={locale}diff --git a/app/[locale]/not-found.tsx b/app/[locale]/not-found.tsxindex 2f2f142..09fe39c 100644--- a/app/[locale]/not-found.tsx+++ b/app/[locale]/not-found.tsx@@ -14,7 +14,7 @@ export default function NotFound() {<AuthProvider><Header />- <div className="flex flex-col items-center justify-center min-h-dvh bg-[#050505] text-center px-6 relative overflow-hidden">+ <div className="flex flex-col items-center justify-center min-h-dvh bg-[#050505] text-center px-6 relative overflow-hidden dark"><h1 className="text-8xl md:text-[12rem] font-black tracking-tighter animate-reveal opacity-0 [animation-delay:150ms] bg-linear-to-b from-white/20 to-transparent bg-clip-text text-transparent select-none">404diff --git a/app/components/common/MobileMenu.tsx b/app/components/common/MobileMenu.tsxindex 399992e..f212261 100644--- a/app/components/common/MobileMenu.tsx+++ b/app/components/common/MobileMenu.tsx@@ -162,7 +162,7 @@ export function MobileMenu() {)}</button>) : (- <Button variant="primary" asChild className="w-full">+ <Button variant="primary" asChild className="w-full text-white"><Linkhref="/login"onClick={closeMenu}diff --git a/app/components/common/UserMenu.tsx b/app/components/common/UserMenu.tsxindex e337de4..2eba2a0 100644--- a/app/components/common/UserMenu.tsx+++ b/app/components/common/UserMenu.tsx@@ -1,28 +1,15 @@"use client";-import { useState } from "react";import Image from "next/image";import Link from "next/link";import { Icon } from "@iconify/react";import { useAuth } from "@/app/contexts/useAuth";-import * as DropdownMenu from "@radix-ui/react-dropdown-menu";import { Button } from "@/components/ui/button";import { useTranslations } from "next-intl";+import { UserMenuDropdown } from "./UserMenuDropdown";export function UserMenu() {const t = useTranslations('userMenu');- const { user, profile, signOut, loading } = useAuth();- const [isLoggingOut, setIsLoggingOut] = useState(false);-- const handleSignOut = async () => {- setIsLoggingOut(true);- try {- await signOut();- window.location.href = "/";- } catch (error) {- console.error("Error signing out:", error);- setIsLoggingOut(false);- }- };+ const { user, profile, loading } = useAuth();if (loading) {return (@@ -51,11 +38,10 @@ export function UserMenu() {const meta = user.user_metadata || {};const displayName = profile?.first_name || profile?.full_name || meta.full_name || meta.name || user.email?.split("@")[0] || t('defaultUser');const avatarUrl = profile?.avatar_url || meta.avatar_url || meta.picture || `https://api.dicebear.com/7.x/initials/svg?seed=${displayName}`;- const provider = profile?.provider || meta.provider || "email";return (- <DropdownMenu.Root>- <DropdownMenu.Trigger asChild>+ <UserMenuDropdown+ trigger={<buttonclassName="flex items-center gap-2 sm:gap-3 p-1 sm:p-1.5 rounded-full hover:bg-white/5 transition-all focus:outline-none focus:ring-2 focus:ring-blue-500/50"aria-label={t('ariaLabel')}@@ -68,63 +54,7 @@ export function UserMenu() {</span><Icon icon="solar:alt-arrow-down-linear" className="hidden sm:block size-4 text-neutral-400" aria-hidden="true" /></button>- </DropdownMenu.Trigger>-- <DropdownMenu.Portal>- <DropdownMenu.Content- className="min-w-50 bg-black border border-white/25 squircle-element-camera p-1 shadow-2xl z-50 animate-in fade-in slide-in-from-top-2 duration-200"- sideOffset={8}- align="end"- >- <div className="px-3 py-2 mb-1 border-b border-white/10">- <p className="text-sm font-medium text-white truncate">{displayName}</p>- <p className="text-xs text-neutral-400 truncate">{user.email}</p>- <p className="text-xs text-neutral-500 mt-1 capitalize">- {t('connectedWith', { provider })}- </p>- </div>-- <DropdownMenu.Item asChild>- <Link- href="/"- className="flex items-center gap-3 px-3 py-2 text-sm text-neutral-300 hover:text-white hover:bg-white/5 rounded-lg transition-colors cursor-pointer outline-none"- >- <Icon icon="hugeicons:home-11" className="size-4" aria-hidden="true" />- {t('home')}- </Link>- </DropdownMenu.Item>-- <DropdownMenu.Item asChild>- <Link- href="/editor"- className="flex items-center gap-3 px-3 py-2 text-sm text-neutral-300 hover:text-white hover:bg-white/5 rounded-lg transition-colors cursor-pointer outline-none"- >- <Icon icon="solar:video-frame-cut-2-linear" className="size-4" aria-hidden="true" />- <span>{t('editor')}</span>- </Link>- </DropdownMenu.Item>-- <DropdownMenu.Separator className="h-px bg-white/5 my-1" />-- <DropdownMenu.Item- onSelect={handleSignOut}- disabled={isLoggingOut}- className="flex items-center gap-3 px-3 py-2 text-sm text-red-400 hover:text-red-300 hover:bg-red-500/10 rounded-lg transition-colors cursor-pointer outline-none disabled:opacity-50 disabled:cursor-not-allowed"- >- {isLoggingOut ? (- <>- <Icon icon="svg-spinners:ring-resize" className="size-4" aria-hidden="true" />- <span>{t('loggingOut')}</span>- </>- ) : (- <>- <Icon icon="solar:logout-2-linear" className="size-4" aria-hidden="true" />- <span>{t('logout')}</span>- </>- )}- </DropdownMenu.Item>- </DropdownMenu.Content>- </DropdownMenu.Portal>- </DropdownMenu.Root>+ }+ />);-}\ No newline at end of file+}diff --git a/app/components/common/UserMenuDropdown.tsx b/app/components/common/UserMenuDropdown.tsxnew file mode 100644index 0000000..85d1c3e--- /dev/null+++ b/app/components/common/UserMenuDropdown.tsx@@ -0,0 +1,238 @@+"use client";+import { useEffect, useMemo, useRef, useState } from "react";+import Link from "next/link";+import { Icon } from "@iconify/react";+import { useAuth } from "@/app/contexts/useAuth";+import * as DropdownMenu from "@radix-ui/react-dropdown-menu";+import { useTranslations } from "next-intl";+import { createClient } from "@/utils/supabase/client";+import { usePathname } from "@/navigation";++type Theme = "light" | "dark" | "system";++const THEMES: Theme[] = ["light", "dark", "system"];+const DARK_MQ = "(prefers-color-scheme: dark)";+const EDITOR_ROOT_ID = "editor-root";+const THEME_COOKIE = "openvid_theme";+const THEME_COOKIE_MAX_AGE = 60 * 60 * 24 * 365;++const THEME_ICONS: Record<Theme, string> = {+ light: "lucide:sun",+ dark: "lucide:moon",+ system: "lucide:monitor",+};++const itemClasses =+ "flex items-center gap-3 px-3 py-2 text-sm text-popover-foreground/85 hover:text-popover-foreground hover:bg-muted rounded-lg transition-colors cursor-pointer outline-none";++function isDarkResolved(theme: Theme): boolean {+ return (+ theme === "dark" ||+ (theme === "system" &&+ typeof window !== "undefined" &&+ window.matchMedia(DARK_MQ).matches)+ );+}++function applyThemeClass(theme: Theme, isEditorPage: boolean) {+ const dark = isDarkResolved(theme);+ document.documentElement.classList.toggle("dark", !isEditorPage || dark);+ document.getElementById(EDITOR_ROOT_ID)?.classList.toggle("dark", dark);+}++// Persiste el tema *efectivo* resuelto (nunca "system") para que el layout del+// editor pueda renderizarlo en SSR y eliminar el flash de tema.+function writeThemeCookie(theme: Theme) {+ const dark = isDarkResolved(theme);+ document.cookie = `${THEME_COOKIE}=${dark ? "dark" : "light"}; path=/; max-age=${THEME_COOKIE_MAX_AGE}; samesite=lax`;+}++interface UserMenuDropdownProps {+ trigger: React.ReactNode;+ showTheme?: boolean;+}++export function UserMenuDropdown({+ trigger,+ showTheme = false,+}: UserMenuDropdownProps) {+ const t = useTranslations('userMenu');+ const { user, profile } = useAuth();+ const pathname = usePathname();+ const isEditorPage = pathname.startsWith("/editor");+ const [theme, setTheme] = useState<Theme>("system");+ const [isSavingTheme, setIsSavingTheme] = useState(false);+ const themeSyncedRef = useRef(false);+ const supabase = useMemo(() => createClient(), []);++ const themeLabels: Record<Theme, string> = {+ light: t("themeLight"),+ dark: t("themeDark"),+ system: t("themeSystem"),+ };++ useEffect(() => {+ if (!profile || themeSyncedRef.current) return;+ themeSyncedRef.current = true;+ setTheme(profile.theme ?? "system");+ }, [profile]);++ useEffect(() => {+ applyThemeClass(theme, isEditorPage);+ writeThemeCookie(theme);+ }, [theme, isEditorPage]);++ useEffect(() => {+ if (theme !== "system") return;+ const mq = window.matchMedia(DARK_MQ);+ const onChange = () => {+ applyThemeClass("system", isEditorPage);+ writeThemeCookie("system");+ };+ mq.addEventListener("change", onChange);+ return () => mq.removeEventListener("change", onChange);+ }, [theme, isEditorPage]);++ const handleThemeChange = async (next: Theme) => {+ if (next === theme) return;+ setTheme(next);+ if (!user) return;+ setIsSavingTheme(true);+ try {+ const { error } = await supabase+ .from("user_profiles")+ .update({ theme: next })+ .eq("id", user.id);+ if (error) console.error("Error saving theme:", error);+ } finally {+ setIsSavingTheme(false);+ }+ };++ const meta = user?.user_metadata || {};+ const displayName =+ profile?.first_name ||+ profile?.full_name ||+ meta.full_name ||+ meta.name ||+ user?.email?.split("@")[0] ||+ t('defaultUser');+ const provider = profile?.provider || meta.provider || "email";++ return (+ <DropdownMenu.Root>+ <DropdownMenu.Trigger asChild>{trigger}</DropdownMenu.Trigger>++ <DropdownMenu.Portal>+ <DropdownMenu.Content+ className="min-w-55 bg-popover dark:bg-black text-popover-foreground border border-border rounded-lg p-1 shadow-2xl z-50 animate-in fade-in slide-in-from-top-2 duration-200"+ sideOffset={8}+ align="end"+ >+ <div className="px-3 py-2 mb-1 border-b border-border">+ <p className="text-sm font-medium text-popover-foreground truncate">{displayName}</p>+ <p className="text-xs text-muted-foreground truncate">{user?.email}</p>+ <p className="text-xs text-muted-foreground/80 mt-1 capitalize">+ {t('connectedWith', { provider })}+ </p>+ </div>++ <DropdownMenu.Item asChild>+ <Link href="/" className={itemClasses}>+ <Icon icon="hugeicons:home-11" className="size-4" aria-hidden="true" />+ {t('home')}+ </Link>+ </DropdownMenu.Item>++ <DropdownMenu.Item asChild>+ <Link href="/editor" className={itemClasses}>+ <Icon icon="solar:video-frame-cut-2-linear" className="size-4" aria-hidden="true" />+ <span>{t('editor')}</span>+ </Link>+ </DropdownMenu.Item>++ {showTheme && (+ <>+ <DropdownMenu.Separator className="h-px bg-border my-1" />++ <DropdownMenu.Sub>+ <DropdownMenu.SubTrigger className="flex items-center gap-3 px-3 py-2 text-sm text-popover-foreground/85 hover:text-popover-foreground hover:bg-muted data-[state=open]:bg-muted data-[state=open]:text-popover-foreground rounded-lg transition-colors cursor-pointer outline-none">+ <Icon icon={THEME_ICONS[theme]} className="size-4" aria-hidden="true" />+ <span className="flex-1">{t('theme')}</span>+ <span className="text-xs text-muted-foreground/80">{themeLabels[theme]}</span>+ <Icon icon="solar:alt-arrow-right-linear" className="size-3.5 text-muted-foreground" aria-hidden="true" />+ </DropdownMenu.SubTrigger>+ <DropdownMenu.SubContent+ sideOffset={4}+ alignOffset={-4}+ className="min-w-44 bg-popover dark:bg-black border border-border rounded-lg p-1 shadow-2xl z-50 animate-in fade-in slide-in-from-top-2 duration-200"+ >+ <DropdownMenu.RadioGroup+ value={theme}+ onValueChange={(value) => handleThemeChange(value as Theme)}+ >+ {THEMES.map((value) => (+ <DropdownMenu.RadioItem+ key={value}+ value={value}+ disabled={isSavingTheme}+ className="flex items-center gap-3 px-3 py-2 text-sm text-popover-foreground/85 hover:text-popover-foreground hover:bg-muted rounded-lg transition-colors cursor-pointer outline-none data-[disabled]:opacity-50 data-[disabled]:cursor-not-allowed"+ >+ <Icon icon={THEME_ICONS[value]} className="size-4" aria-hidden="true" />+ <span className="flex-1">{themeLabels[value]}</span>+ <DropdownMenu.ItemIndicator>+ <Icon icon="lucide:check" className="size-4 text-blue-400" aria-hidden="true" />+ </DropdownMenu.ItemIndicator>+ </DropdownMenu.RadioItem>+ ))}+ </DropdownMenu.RadioGroup>+ </DropdownMenu.SubContent>+ </DropdownMenu.Sub>+ </>+ )}++<DropdownMenu.Separator className="h-px bg-border my-1" />++ <SignOutItem />+ </DropdownMenu.Content>+ </DropdownMenu.Portal>+ </DropdownMenu.Root>+ );+}++function SignOutItem() {+ const t = useTranslations('userMenu');+ const { signOut } = useAuth();+ const [isLoggingOut, setIsLoggingOut] = useState(false);++ const handleSignOut = async () => {+ setIsLoggingOut(true);+ try {+ await signOut();+ window.location.href = "/";+ } catch (error) {+ console.error("Error signing out:", error);+ setIsLoggingOut(false);+ }+ };++ return (+ <DropdownMenu.Item+ onSelect={handleSignOut}+ disabled={isLoggingOut}+ className="flex items-center gap-3 px-3 py-2 text-sm text-destructive hover:text-destructive hover:bg-destructive/10 rounded-lg transition-colors cursor-pointer outline-none disabled:opacity-50 disabled:cursor-not-allowed"+ >+ {isLoggingOut ? (+ <>+ <Icon icon="svg-spinners:ring-resize" className="size-4" aria-hidden="true" />+ <span>{t('loggingOut')}</span>+ </>+ ) : (+ <>+ <Icon icon="solar:logout-2-linear" className="size-4" aria-hidden="true" />+ <span>{t('logout')}</span>+ </>+ )}+ </DropdownMenu.Item>+ );+}diff --git a/app/components/ui/AspectRatioSelect.tsx b/app/components/ui/AspectRatioSelect.tsxindex 43d2e84..9772586 100644--- a/app/components/ui/AspectRatioSelect.tsx+++ b/app/components/ui/AspectRatioSelect.tsx@@ -111,8 +111,8 @@ export function AspectRatioSelect({key={item.id}onClick={() => handleStandardRatioClick(item.id)}className={`group flex flex-col items-center justify-center gap-2 p-2.5 squircle-element border transition-all ${isSelected- ? "border-primary bg-gradient-radial-primary text-primary"- : "border-white/20 bg-transparent hover:border-border hover:bg-accent text-muted-foreground"+ ? "border-primary text-primary"+ : "border-border/60 bg-transparent hover:border-border hover:bg-accent text-muted-foreground"}`}><div className="h-10 flex items-center justify-center">diff --git a/app/components/ui/BackgroundColorEditor.tsx b/app/components/ui/BackgroundColorEditor.tsxindex 5a59c3e..33c85a1 100644--- a/app/components/ui/BackgroundColorEditor.tsx+++ b/app/components/ui/BackgroundColorEditor.tsx@@ -111,7 +111,7 @@ function SortableStopList({ stops, onReorder, onColorChange, onPositionChange, owidth: `${rect.width}px`, height: `${rect.height}px`, left: `${rect.left}px`, top: `${rect.top}px`,opacity: "0.93", transform: "scale(1.02) rotate(0.5deg)",boxShadow: "0 16px 48px rgba(0,0,0,0.8), 0 2px 8px rgba(0,0,0,0.5)",- borderRadius: "8px", background: "#1c1c1f", border: "1px solid rgba(255,255,255,0.13)", willChange: "left,top",+ borderRadius: "8px", background: "var(--popover)", border: "1px solid var(--border)", willChange: "left,top",});document.body.appendChild(ghost);ghostRef.current = ghost;@@ -169,24 +169,24 @@ function SortableStopList({ stops, onReorder, onColorChange, onPositionChange, o<div ref={listRef} className="space-y-1">{stops.map((stop, index) => (<div key={stop.id} data-drag-row>- <div className="flex items-center gap-2 px-2 py-1.5 rounded-lg bg-white/3 hover:bg-white/5 group/row" style={{ transition: "background 150ms" }}>- <div onPointerDown={(e) => handlePointerDown(e, index)} className="cursor-grab active:cursor-grabbing p-1 text-white/25 hover:text-white/70 transition-colors touch-none select-none flex-shrink-0" >+ <div className="flex items-center gap-2 px-2 py-1.5 rounded-lg bg-muted/50 hover:bg-muted group/row" style={{ transition: "background 150ms" }}>+ <div onPointerDown={(e) => handlePointerDown(e, index)} className="cursor-grab active:cursor-grabbing p-1 text-muted-foreground/40 hover:text-muted-foreground transition-colors touch-none select-none flex-shrink-0" ><Icon icon="icon-park-outline:drag" width="14" /></div>- <div className="group/sw w-7 h-7 rounded-md border border-white/20 shrink-0 relative overflow-hidden">+ <div className="group/sw w-7 h-7 rounded-md border border-border shrink-0 relative overflow-hidden"><div className="w-full h-full" style={{ backgroundColor: stop.color }} /><input type="color" value={stop.color} onChange={(e) => onColorChange(index, e.target.value)} className="absolute inset-0 opacity-0 cursor-pointer z-10 w-full h-full" /><div className="absolute inset-0 flex items-center justify-center pointer-events-none bg-black/0 group-hover/sw:bg-black/20 transition-colors">- <Icon icon="mdi:eyedropper" className="text-white opacity-0 group-hover/sw:opacity-70 transition-opacity" width="11" />+ <Icon icon="mdi:eyedropper" className="text-white opacity-0 group-hover/sw:opacity-70 mix-blend-difference transition-opacity" width="11" /></div></div><div className="flex-1 min-w-0 space-y-0.5">- <div className="text-[9px] font-mono text-white/35 uppercase">{stop.color}</div>- <input type="range" min="0" max="100" value={stop.position} onChange={(e) => onPositionChange(index, parseInt(e.target.value))} className="w-full h-1.5 bg-white/10 rounded-full appearance-none cursor-pointer [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-3 [&::-webkit-slider-thumb]:h-3 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-white/70" />+ <div className="text-[9px] font-mono text-muted-foreground/50 uppercase">{stop.color}</div>+ <input type="range" min="0" max="100" value={stop.position} onChange={(e) => onPositionChange(index, parseInt(e.target.value))} className="w-full h-1.5 bg-muted rounded-full appearance-none cursor-pointer [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-3 [&::-webkit-slider-thumb]:h-3 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-foreground/70" /></div>- <div className="text-[9px] font-mono text-white/35 w-7 text-right flex-shrink-0">{stop.position}%</div>+ <div className="text-[9px] font-mono text-muted-foreground/50 w-7 text-right flex-shrink-0">{stop.position}%</div>{stops.length > 2 && (- <button onClick={() => onRemove(index)} className="text-white/20 hover:text-red-400/80 transition-colors flex-shrink-0 p-0.5 rounded" >+ <button onClick={() => onRemove(index)} className="text-muted-foreground/40 hover:text-red-600 dark:hover:text-red-400/80 transition-colors flex-shrink-0 p-0.5 rounded" ><Icon icon="mdi:close" width="13" /></button>)}@@ -292,16 +292,16 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditorreturn (<div className="space-y-6">- <div className="flex bg-[#09090B] squircle-element p-1 text-xs font-medium">+ <div className="flex bg-muted squircle-element p-1 text-xs font-medium"><button- className={`flex-1 py-1.5 rounded transition ${mode === "gradient" ? "bg-white/10 text-white" : "text-white/70 hover:text-white"}`}+ className={`flex-1 py-1.5 rounded transition ${mode === "gradient" ? "bg-background text-foreground shadow-xs" : "text-muted-foreground hover:text-foreground"}`}onClick={() => { setMode("gradient"); onChange({ type: "gradient", config: currentGradient }); }}aria-pressed={mode === "gradient"}>{t("modes.gradient")}</button><button- className={`flex-1 py-1.5 rounded transition ${mode === "solid" ? "bg-white/10 text-white" : "text-white/70 hover:text-white"}`}+ className={`flex-1 py-1.5 rounded transition ${mode === "solid" ? "bg-background text-foreground shadow-xs" : "text-muted-foreground hover:text-foreground"}`}onClick={() => { setMode("solid"); onChange({ type: "solid", config: { color: currentSolidColor } }); }}aria-pressed={mode === "solid"}>@@ -312,12 +312,12 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditor{mode === "solid" && (<div className="space-y-4"><div>- <div className="text-[11px] uppercase tracking-widest text-white/70 font-bold mb-3">{t("sections.presets")}</div>+ <div className="text-[11px] uppercase tracking-widest text-muted-foreground font-bold mb-3">{t("sections.presets")}</div><div className="grid grid-cols-6 gap-2">{PRESET_SOLID_COLORS.slice(0, 23).map((color) => (<buttonkey={color}- className={`aspect-square squircle-element cursor-pointer hover:ring-2 transition border shadow-sm ${value?.type === "solid" && value.config.color === color ? "ring-2 ring-white/90 shadow-lg shadow-white" : "border-white/10 ring-white/60"}`}+ className={`aspect-square squircle-element cursor-pointer hover:ring-2 transition border shadow-sm ${value?.type === "solid" && value.config.color === color ? "ring-2 ring-foreground/80 shadow-lg shadow-foreground/20" : "border-border ring-foreground/60"}`}style={{ backgroundColor: color }}onClick={() => handleSolidColorSelect(color)}aria-label={`Select color ${color}`}@@ -327,23 +327,23 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditor<Popover><TooltipAction label={t("tooltips.moreColors")}><PopoverTrigger asChild>- <button className="aspect-square squircle-element border border-dashed border-white/30 bg-white/5 flex items-center justify-center hover:bg-white/10 transition group" aria-label={t("tooltips.moreColors")}>- <Icon icon="ph:plus-bold" width="16" className="text-blue-400 group-hover:text-blue-300 transition-colors" aria-hidden="true" />+ <button className="aspect-square squircle-element border border-dashed border-border bg-muted flex items-center justify-center hover:bg-muted transition group" aria-label={t("tooltips.moreColors")}>+ <Icon icon="ph:plus-bold" width="16" className="text-blue-600 dark:text-blue-400 group-hover:text-blue-600 dark:group-hover:text-blue-300 transition-colors" aria-hidden="true" /></button></PopoverTrigger></TooltipAction><PopoverContent side="right" align="start" sideOffset={12} className="w-72 p-0 border-0 shadow-2xl">- <div className="flex flex-col bg-[#111113] border border-white/10 squircle-element-camera overflow-hidden shadow-2xl">- <div className="flex items-center gap-2 px-4 py-3 border-b border-white/10 bg-white/2">- <Icon icon="mdi:palette" width="14" className="text-white/60" aria-hidden="true" />- <span className="text-[11px] font-medium uppercase tracking-[0.15em] text-white/60">{t("sections.moreColors")}</span>- <span className="ml-auto text-[11px] text-white/70">{PRESET_SOLID_COLORS.length} total</span>+ <div className="flex flex-col bg-popover dark:bg-black border border-border squircle-element-camera overflow-hidden shadow-2xl">+ <div className="flex items-center gap-2 px-4 py-3 border-b border-border bg-muted/40">+ <Icon icon="mdi:palette" width="14" className="text-muted-foreground" aria-hidden="true" />+ <span className="text-[11px] font-medium uppercase tracking-[0.15em] text-muted-foreground">{t("sections.moreColors")}</span>+ <span className="ml-auto text-[11px] text-muted-foreground">{PRESET_SOLID_COLORS.length} total</span></div><div className="p-3 grid grid-cols-6 gap-2 max-h-80 overflow-y-auto custom-scrollbar">{PRESET_SOLID_COLORS.slice(23).map((color, idx) => (<buttonkey={`extra-${idx}-${color}`}- className={`aspect-square squircle-element cursor-pointer hover:ring-2 transition border shadow-sm ${value?.type === "solid" && value.config.color === color ? "ring-2 ring-white/90 shadow-lg shadow-white" : "border-white/10 ring-white/60"}`}+ className={`aspect-square squircle-element cursor-pointer hover:ring-2 transition border shadow-sm ${value?.type === "solid" && value.config.color === color ? "ring-2 ring-foreground/80 shadow-lg shadow-foreground/20" : "border-border ring-foreground/60"}`}style={{ backgroundColor: color }}onClick={() => handleSolidColorSelect(color)}aria-label={`Select color ${color}`}@@ -357,17 +357,17 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditor</div></div>- <div className="bg-[#09090B] squircle-element-camera border border-white/10 p-3 space-y-3">- <div className="text-[11px] uppercase tracking-widest text-white/70 font-bold">{t("sections.customize")}</div>+ <div className="bg-muted squircle-element border border-border p-3 space-y-3">+ <div className="text-[11px] uppercase tracking-widest text-muted-foreground font-bold">{t("sections.customize")}</div><div className="flex items-center gap-3">- <div className="w-12 h-12 squircle-element border border-white/20 shadow-lg shrink-0 relative overflow-hidden group">+ <div className="w-12 h-12 squircle-element border border-border shadow-lg shrink-0 relative overflow-hidden group"><div className="w-full h-full" style={{ backgroundColor: currentSolidColor }} />- <input type="color" value={currentSolidColor} onChange={(e) => handleSolidColorChange(e.target.value)} className="absolute inset-0 cursor-pointer opacity-0" aria-label={t("sections.customize")} />- <Icon icon="mdi:eyedropper" className="absolute inset-0 m-auto text-white/0 group-hover:text-white/70 transition-opacity pointer-events-none" width="20" aria-hidden="true" />+ <input type="color" value={currentSolidColor} onChange={(e) => handleSolidColorChange(e.target.value)} className="absolute inset-0 cursor-pointer opacity-0 z-10" aria-label={t("sections.customize")} />+ <Icon icon="mdi:eyedropper" className="absolute inset-0 m-auto text-white mix-blend-difference pointer-events-none" width="20"aria-hidden="true" /></div>- <div className="flex-1 bg-white/5 border border-white/10 squircle-element px-3 py-2.5 flex items-center justify-between transition-colors hover:border-white/20">- <span className="text-sm font-mono text-white/80 uppercase tracking-tight">{currentSolidColor}</span>- <button onClick={handleCopy} className={`transition-all duration-200 ${copied ? "text-green-400" : "text-white/20 hover:text-white/60"}`} aria-label={copied ? "Copied" : "Copy color code"}>+ <div className="flex-1 bg-muted border border-border squircle-element px-3 py-2.5 flex items-center justify-between transition-colors hover:border-border">+ <span className="text-sm font-mono text-foreground/80 uppercase tracking-tight">{currentSolidColor}</span>+ <button onClick={handleCopy} className={`transition-all duration-200 ${copied ? "text-green-600 dark:text-green-400" : "text-muted-foreground/40 hover:text-muted-foreground"}`} aria-label={copied ? "Copied" : "Copy color code"}>{copied ? <Icon icon="line-md:check-all" width="14" aria-hidden="true" /> : <Icon icon="mdi:content-copy" width="14" aria-hidden="true" />}</button></div>@@ -379,7 +379,7 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditor{mode === "gradient" && (<div className="space-y-4"><div>- <div className="text-[11px] uppercase tracking-widest text-white/70 font-bold mb-3">{t("sections.presets")}</div>+ <div className="text-[11px] uppercase tracking-widest text-muted-foreground font-bold mb-3">{t("sections.presets")}</div><div className="grid grid-cols-6 gap-2">{currentPresetGradients.slice(0, 23).map((gradient, i) => {const gradientCss = gradientToCss(gradient);@@ -389,7 +389,7 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditorkey={i}onClick={() => handleGradientSelect(gradient)}style={{ background: gradientCss }}- className={`aspect-square squircle-element cursor-pointer transition-all duration-200 border shadow-sm hover:scale-105 active:scale-95 ${isSelected ? "ring-2 ring-white/90 shadow-lg shadow-white" : "border-white/10 ring-white/60"}`}+ className={`aspect-square squircle-element cursor-pointer transition-all duration-200 border shadow-sm hover:scale-105 active:scale-95 ${isSelected ? "ring-2 ring-foreground/80 shadow-lg shadow-foreground/20" : "border-border ring-foreground/60"}`}aria-label={`Select ${currentGradient.type} gradient preset ${i + 1}`}aria-pressed={isSelected}/>@@ -398,19 +398,19 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditor<Popover><TooltipAction label={t("tooltips.moreGradients")}><PopoverTrigger asChild>- <button className="aspect-square squircle-element border border-dashed border-white/30 bg-white/5 flex items-center justify-center hover:bg-white/10 transition group" aria-label={t("tooltips.moreGradients")}>- <Icon icon="ph:plus-bold" width="16" className="text-blue-400 group-hover:text-blue-300 transition-colors" aria-hidden="true" />+ <button className="aspect-square squircle-element border border-dashed border-border bg-muted flex items-center justify-center hover:bg-muted transition group" aria-label={t("tooltips.moreGradients")}>+ <Icon icon="ph:plus-bold" width="16" className="text-blue-600 dark:text-blue-400 group-hover:text-blue-600 dark:group-hover:text-blue-300 transition-colors" aria-hidden="true" /></button></PopoverTrigger></TooltipAction><PopoverContent side="right" align="start" sideOffset={12} className="w-72 p-0 border-0 shadow-2xl">- <div className="flex flex-col bg-[#111113] border border-white/10 squircle-element-camera overflow-hidden shadow-2xl">- <div className="flex items-center gap-2 px-4 py-3 border-b border-white/10 bg-white/2">- <Icon icon="mdi:gradient-horizontal" width="14" className="text-white/60" aria-hidden="true" />- <span className="text-[11px] font-medium uppercase tracking-[0.15em] text-white/60">+ <div className="flex flex-col bg-popover dark:bg-black border border-border squircle-element-camera overflow-hidden shadow-2xl">+ <div className="flex items-center gap-2 px-4 py-3 border-b border-border bg-muted/40">+ <Icon icon="mdi:gradient-horizontal" width="14" className="text-muted-foreground" aria-hidden="true" />+ <span className="text-[11px] font-medium uppercase tracking-[0.15em] text-muted-foreground">{t("sections.moreGradients", { type: t(`types.${currentGradient.type}`) })}</span>- <span className="ml-auto text-[11px] text-white/70">{currentPresetGradients.length} total</span>+ <span className="ml-auto text-[11px] text-muted-foreground">{currentPresetGradients.length} total</span></div><div className="p-3 grid grid-cols-6 gap-2 max-h-80 overflow-y-auto custom-scrollbar">{currentPresetGradients.slice(23).map((gradient, i) => {@@ -421,7 +421,7 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditorkey={`extra-gradient-${i}`}onClick={() => handleGradientSelect(gradient)}style={{ background: gradientCss }}- className={`aspect-square squircle-element cursor-pointer transition-all duration-200 border shadow-sm hover:scale-105 active:scale-95 ${isSelected ? "ring-2 ring-white/90 shadow-lg shadow-white" : "border-white/10 ring-white/60"}`}+ className={`aspect-square squircle-element cursor-pointer transition-all duration-200 border shadow-sm hover:scale-105 active:scale-95 ${isSelected ? "ring-2 ring-foreground/80 shadow-lg shadow-foreground/20" : "border-border ring-foreground/60"}`}aria-label={`Select ${currentGradient.type} gradient preset ${i + 24}`}aria-pressed={isSelected}/>@@ -435,14 +435,14 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditor</div><div className="space-y-4">- <div className="text-[11px] uppercase tracking-widest text-white/70 font-bold">{t("sections.customize")}</div>+ <div className="text-[11px] uppercase tracking-widest text-muted-foreground font-bold">{t("sections.customize")}</div><div className="space-y-2">- <div className="text-[11px] text-white/70 font-medium">{t("sections.type")}</div>+ <div className="text-[11px] text-muted-foreground font-medium">{t("sections.type")}</div><div className="flex gap-2">{((["linear", "radial", "conic"] as GradientType[]).map((type) => (<buttonkey={type}- className={`flex-1 py-2 flex items-center justify-center gap-1.5 squircle-element text-xs font-medium transition ${currentGradient.type === type ? "bg-white/10 text-white border border-white/20" : "bg-white/10 text-white/70 hover:bg-white/10"}`}+ className={`flex-1 py-2 flex items-center justify-center gap-1.5 squircle-element text-xs font-medium transition ${currentGradient.type === type ? "bg-background text-foreground border border-border shadow-xs" : "bg-muted/60 text-muted-foreground hover:bg-muted"}`}onClick={() => handleGradientTypeChange(type)}aria-pressed={currentGradient.type === type}>@@ -455,15 +455,15 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditor{(currentGradient.type === "linear" || currentGradient.type === "conic") && (<div className="space-y-2">- <div className="flex justify-between items-center text-[11px] text-white/70 font-medium">+ <div className="flex justify-between items-center text-[11px] text-muted-foreground font-medium"><div className="flex items-center gap-1.5"><Icon icon="mdi:rotate-right" width="14" aria-hidden="true" /><span>{t("sections.angle")}</span></div>- <span className="font-mono text-white/60 px-2 py-0.5 rounded">{currentGradient.angle ?? (currentGradient.type === "conic" ? 0 : 135)}°</span>+ <span className="font-mono text-muted-foreground px-2 py-0.5 rounded">{currentGradient.angle ?? (currentGradient.type === "conic" ? 0 : 135)}°</span></div><inputtype="range" min="0" max="360"value={currentGradient.angle ?? (currentGradient.type === "conic" ? 0 : 135)}onChange={(e) => onChange({ type: "gradient", config: { ...currentGradient, angle: parseInt(e.target.value) } })}- className="w-full h-1.5 bg-white/10 rounded-full appearance-none cursor-pointer [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-3 [&::-webkit-slider-thumb]:h-3 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-white/70"+ className="w-full h-1.5 bg-muted rounded-full appearance-none cursor-pointer [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-3 [&::-webkit-slider-thumb]:h-3 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-foreground/70"aria-label={`${t("sections.angle")}: ${currentGradient.angle ?? (currentGradient.type === "conic" ? 0 : 135)} degrees`}/></div>@@ -476,17 +476,17 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditorconst val = currentGradient[key] ?? 50;return (<div key={axis} className="space-y-2">- <div className="flex justify-between items-center text-[11px] text-white/70 font-medium">+ <div className="flex justify-between items-center text-[11px] text-muted-foreground font-medium"><div className="flex items-center gap-1.5"><Icon icon={axis === "X" ? "mdi:arrow-left-right" : "mdi:arrow-up-down"} width="14" aria-hidden="true" /><span>{t(`sections.origin${axis}`)}</span></div>- <span className="font-mono text-white/60 px-2 py-0.5 rounded">{val}%</span>+ <span className="font-mono text-muted-foreground px-2 py-0.5 rounded">{val}%</span></div><inputtype="range" min="0" max="100" value={val}onChange={(e) => onChange({ type: "gradient", config: { ...currentGradient, [key]: parseInt(e.target.value) } })}- className="w-full h-1.5 bg-white/10 rounded-full appearance-none cursor-pointer [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-3 [&::-webkit-slider-thumb]:h-3 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-white/70"+ className="w-full h-1.5 bg-muted rounded-full appearance-none cursor-pointer [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-3 [&::-webkit-slider-thumb]:h-3 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-foreground/70"aria-label={`${t(`sections.origin${axis}`)}: ${val} percent`}/></div>@@ -497,11 +497,11 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditor<div className="space-y-2"><div className="flex justify-between items-center">- <div className="text-[11px] text-white/70 font-medium">+ <div className="text-[11px] text-muted-foreground font-medium">{t("sections.stops", { count: currentGradient.stops.length })}</div>{currentGradient.stops.length < 5 && (- <button onClick={handleAddStop} className="text-[11px] text-white/60 hover:text-white flex items-center gap-1 transition-colors" aria-label={t("sections.add")}>+ <button onClick={handleAddStop} className="text-[11px] text-muted-foreground hover:text-foreground flex items-center gap-1 transition-colors" aria-label={t("sections.add")}><Icon icon="mdi:plus" width="12" aria-hidden="true" />{t("sections.add")}</button>)}@@ -516,7 +516,7 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditor</div><div className="pt-2">- <div className="w-full h-20 squircle-element border border-white/10" style={{ background: gradientToCss(currentGradient) }} />+ <div className="w-full h-20 squircle-element border border-border" style={{ background: gradientToCss(currentGradient) }} /></div></div></div>diff --git a/app/components/ui/ExportDropdown.tsx b/app/components/ui/ExportDropdown.tsxindex 2249e65..80b95fa 100644--- a/app/components/ui/ExportDropdown.tsx+++ b/app/components/ui/ExportDropdown.tsx@@ -39,38 +39,38 @@ export function ExportDropdown({ onExport, exportProgress, hasTransparentBackgroreturn (<button- className={`group flex flex-col items-start gap-1.5 p-4 transition-all text-left border-b border-white/10 ${+ className={`group flex flex-col items-start gap-1.5 p-4 transition-all text-left border-b border-border ${isGif ? (isTransparent ? "opacity-80 hover:bg-orange-500/5" : "hover:bg-orange-500/5") :- (isTransparent ? "hover:bg-cyan-500/5" : "hover:bg-white/5")+ (isTransparent ? "hover:bg-cyan-500/5" : "hover:bg-muted")}`}onClick={() => handleExport(id)}aria-label={`Export as ${id.toUpperCase()} ${resolution}`}><div className="flex items-center justify-between w-full"><span className={`text-sm font-medium transition-colors ${- isGif ? "text-orange-400 group-hover:text-orange-300" :- "text-white group-hover:text-blue-400"+ isGif ? "text-orange-600 dark:text-orange-400 group-hover:text-orange-300" :+ "text-foreground group-hover:text-blue-400"}`}>{isTransparent && !isGif ? (- <>{id.toUpperCase()} WebM · <span className="text-cyan-400 group-hover:text-cyan-300">{t("noBackground")}</span></>+ <>{id.toUpperCase()} WebM · <span className="text-cyan-600 dark:text-cyan-400 group-hover:text-cyan-300">{t("noBackground")}</span></>) : (t(`qualities.${id}.label`))}</span>{isRecommended && !isTransparent && (- <span className="border border-blue-500/30 text-blue-400 text-[9px] px-2 py-0.5 rounded-full font-bold tracking-tight">+ <span className="border border-blue-500/30 text-blue-600 dark:text-blue-400 text-[9px] px-2 py-0.5 rounded-full font-bold tracking-tight">{t("recommended")}</span>)}{isGif && isTransparent && (- <span className="text-[9px] text-red-400/80 font-bold bg-red-500/10 px-2 py-0.5 rounded-full border border-red-500/20">+ <span className="text-[9px] text-red-600 dark:text-red-400/80 font-bold bg-red-500/10 px-2 py-0.5 rounded-full border border-red-500/20">{t("solidBackground")}</span>)}</div>- <span className={`text-[11px] font-mono ${isGif ? "text-orange-400/70" : "text-white/60"}`}>+ <span className={`text-[11px] font-mono ${isGif ? "text-orange-600 dark:text-orange-400/70" : "text-muted-foreground"}`}>{isTransparent ? (- <>{resolution} · <span className="text-cyan-400/70">{isGif ? t("gifNotice") : "VP9 Alpha"}</span></>+ <>{resolution} · <span className="text-cyan-600 dark:text-cyan-400/70">{isGif ? t("gifNotice") : "VP9 Alpha"}</span></>) : (t(`qualities.${id}.desc`))}@@ -84,7 +84,7 @@ export function ExportDropdown({ onExport, exportProgress, hasTransparentBackgro<PopoverTrigger asChild><Buttonvariant="primary"- className="px-3 py-2 text-sm gap-2 min-w-27.5"+ className="px-3 py-2 text-sm gap-2 min-w-27.5 text-white"size="sm"disabled={isExporting}aria-label={t("button")}@@ -93,10 +93,10 @@ export function ExportDropdown({ onExport, exportProgress, hasTransparentBackgro{t("button")}</Button></PopoverTrigger>- <PopoverContent align="end" className="w-72 bg-[#1C1C1F] border-white/10 text-white shadow-2xl p-0 overflow-hidden z-999999">- <div className="flex flex-col bg-black border border-white/10 overflow-hidden shadow-2xl">- <div className="px-4 py-3 border-b border-white/10 bg-white/5">- <span className="text-[11px] font-medium uppercase tracking-[0.15em] text-white/60">+ <PopoverContent align="end" className="w-72 bg-popover dark:bg-black border-border text-foreground shadow-2xl p-0 overflow-hidden z-999999">+ <div className="flex flex-col bg-popover dark:bg-black border border-border overflow-hidden shadow-2xl">+ <div className="px-4 py-3 border-b border-border bg-muted">+ <span className="text-[11px] font-medium uppercase tracking-[0.15em] text-muted-foreground">{t("title")}</span></div>diff --git a/app/components/ui/ExportImageDropdown.tsx b/app/components/ui/ExportImageDropdown.tsxindex 9a93697..27cbf0a 100644--- a/app/components/ui/ExportImageDropdown.tsx+++ b/app/components/ui/ExportImageDropdown.tsx@@ -177,7 +177,7 @@ export function ExportImageDropdown({<PopoverTrigger asChild><Buttonvariant="primary"- className="px-3 py-2 text-sm gap-2 min-w-27.5"+ className="px-3 py-2 text-sm gap-2 min-w-27.5 text-white"size="sm"disabled={isExporting}aria-label={t("button")}@@ -189,17 +189,17 @@ export function ExportImageDropdown({<PopoverContentalign="end"- className="w-80 bg-black border-white/15 text-white shadow-2xl p-0 squircle-element-camera overflow-hidden z-999999"+ className="w-80 bg-popover dark:bg-black border-border text-foreground shadow-2xl p-0 squircle-element-camera overflow-hidden z-999999">- <div className="px-6 py-4 border-b border-white/10 flex justify-between items-center bg-white/3">- <span className="text-[11px] font-medium uppercase tracking-[0.15em] text-white/60">+ <div className="px-6 py-4 border-b border-border flex justify-between items-center bg-muted/50">+ <span className="text-[11px] font-medium uppercase tracking-[0.15em] text-muted-foreground">{t("title") || "Formato"}</span>{isTransparent && (<div className="flex items-center gap-2 px-2 py-0.5 rounded-full bg-cyan-500/10 border border-cyan-500/20 backdrop-blur-md"><div className="size-1 bg-cyan-400 rounded-full animate-pulse shadow-[0_0_8px_rgba(34,211,238,0.8)]" />- <span className="text-[9px] font-bold uppercase tracking-wider text-cyan-400/90">+ <span className="text-[9px] font-bold uppercase tracking-wider text-cyan-600 dark:text-cyan-400/90">Transparente</span></div>@@ -224,7 +224,7 @@ export function ExportImageDropdown({<divclassName={`relative size-12 squircle-element flex items-center justify-center transition-all duration-300 border ${isSelected? "border-white/30 scale-105"- : "border-white/10 hover:border-white/20"+ : "border-border hover:border-foreground/30"}`}style={{background: isSelected@@ -238,7 +238,7 @@ export function ExportImageDropdown({<Iconicon={opt.icon}width="22"- className={`${isSelected ? "text-white" : "text-white/40 group-hover:text-white/70"}`}+ className={`${isSelected ? "text-white" : "text-muted-foreground/60 group-hover:text-muted-foreground"}`}aria-hidden="true"/>@@ -247,7 +247,7 @@ export function ExportImageDropdown({)}</div><span- className={`text-[9px] font-bold tracking-tighter ${isSelected ? "text-white" : "text-white/40"+ className={`text-[9px] font-bold tracking-tighter ${isSelected ? "text-foreground" : "text-muted-foreground/60"}`}>{opt.label}@@ -258,26 +258,26 @@ export function ExportImageDropdown({</div><div className="px-2 pb-2">- <div className="bg-white/3 squircle-element border border-white/10 overflow-hidden max-h-64 overflow-y-auto custom-scrollbar">+ <div className="bg-muted/50 squircle-element border border-border overflow-hidden max-h-64 overflow-y-auto custom-scrollbar">{qualityPresets.map((preset, i) => (<buttonkey={i}onClick={() => handleExport(preset)}- className="w-full flex items-center justify-between p-4 hover:bg-white/5 transition-colors border-b border-white/10 last:border-0 group"+ className="w-full flex items-center justify-between p-4 hover:bg-muted transition-colors border-b border-border last:border-0 group"aria-label={`Export ${preset.label} - ${preset.description}`}><div className="flex flex-col items-start gap-1"><div className="flex items-center gap-2">- <span className="text-[13px] font-medium text-white/90 group-hover:text-white">+ <span className="text-[13px] font-medium text-foreground/90 group-hover:text-foreground">{preset.label}</span>{preset.recommended && (- <span className="border border-blue-500/30 text-blue-400 text-[9px] px-2 py-0.5 rounded-full font-bold tracking- ">+ <span className="border border-blue-500/30 text-blue-600 dark:text-blue-400 text-[9px] px-2 py-0.5 rounded-full font-bold tracking- ">{t("recommended") || "Rec"}</span>)}</div>- <span className="text-[11px] font-mono text-white/30">+ <span className="text-[11px] font-mono text-muted-foreground/40">{preset.description}</span></div>@@ -289,7 +289,7 @@ export function ExportImageDropdown({{showTransparencyWarning && (<div className="p-3 bg-red-500/10 text-center">- <p className="text-[9px] uppercase tracking-widest text-red-400 font-bold">+ <p className="text-[9px] uppercase tracking-widest text-red-600 dark:text-red-400 font-bold">{t("noTransparency") || "Sin Transparencia"}</p></div>diff --git a/app/components/ui/ExportOverlay.tsx b/app/components/ui/ExportOverlay.tsxindex 2bde6d3..1aa6b96 100644--- a/app/components/ui/ExportOverlay.tsx+++ b/app/components/ui/ExportOverlay.tsx@@ -84,14 +84,14 @@ export function ExportOverlay({aria-labelledby="export-overlay-title"className="fixed inset-0 z-50 flex items-center justify-center bg-black/20 backdrop-blur-md transition-all duration-500">- <div className="p-10 bg-black border border-white/10 squircle-element-camera shadow-[0_0_80px_-15px_rgba(0,0,0,1)] w-full max-w-lg mx-4">+ <div className="p-10 bg-popover dark:bg-black border border-border squircle-element-camera shadow-[0_0_80px_-15px_rgba(0,0,0,1)] w-full max-w-lg mx-4"><div className="flex justify-center mb-8">- <div className="flex items-center gap-2.5 px-3 py-1 bg-white/5 border border-white/10 rounded-full">+ <div className="flex items-center gap-2.5 px-3 py-1 bg-muted border border-border rounded-full"><div className="relative flex h-2 w-2"><span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-blue-400 opacity-75"></span><span className="relative inline-flex rounded-full h-2 w-2 bg-blue-500"></span></div>- <span className="text-[11px] font-bold uppercase tracking-[0.3em] text-white/60">+ <span className="text-[11px] font-bold uppercase tracking-[0.3em] text-muted-foreground">{t("processing")}</span></div>@@ -105,16 +105,16 @@ export function ExportOverlay({><h2id="export-overlay-title"- className="text-7xl font-bold tracking-tighter text-white tabular-nums"+ className="text-7xl font-bold tracking-tighter text-foreground tabular-nums">{exportProgress.progress}- <span className="text-2xl text-white/70 ml-1">%</span>+ <span className="text-2xl text-muted-foreground ml-1">%</span></h2></div>- <div className="relative w-full h-1.5 bg-white/15 rounded-full overflow-hidden mb-10">+ <div className="relative w-full h-1.5 bg-muted rounded-full overflow-hidden mb-10"><div- className="absolute inset-0 bg-white origin-left transition-transform duration-300 ease-out shadow-[0_0_15px_rgba(255,255,255,0.5)]"+ className="absolute inset-0 bg-foreground origin-left transition-transform duration-300 ease-out shadow-[0_0_15px_rgba(255,255,255,0.5)]"style={{transform: `scaleX(${Math.min(Math.max(exportProgress.progress, 0), 100) / 100})`,}}@@ -122,30 +122,30 @@ export function ExportOverlay({</div><div className="space-y-4 mb-10">- <div className="flex flex-col gap-2 border-l-2 border-white/10 pl-5 py-1">+ <div className="flex flex-col gap-2 border-l-2 border-border pl-5 py-1"><p className="text-lg font-medium tracking-tight leading-none shimmer-text">{getStatusMessage()}</p>{cleanMessage && (- <p className="text-sm text-white/40 font-mono italic mt-0.5 tracking-wide">+ <p className="text-sm text-muted-foreground/60 font-mono italic mt-0.5 tracking-wide">{cleanMessage}</p>)}</div>- <div className="flex items-start gap-3 p-4 bg-white/5 border border-white/10 squircle-element-camera">+ <div className="flex items-start gap-3 p-4 bg-muted border border-border squircle-element-camera"><Iconicon="lucide:alert-circle"- className="text-blue-500 shrink-0 mt-0.5"+ className="text-blue-600 dark:text-blue-500 shrink-0 mt-0.5"width="18"/>- <p className="text-md text-white/70 leading-relaxed">+ <p className="text-md text-muted-foreground leading-relaxed">{t.rich("warnings.performance", {highlight: (chunks) => (- <span className="relative inline-block whitespace-nowrap font-bold text-white px-1">+ <span className="relative inline-block whitespace-nowrap font-bold text-foreground px-1">{chunks}<svg- className="absolute -bottom-1 left-0 w-full h-2 text-blue-500/90"+ className="absolute -bottom-1 left-0 w-full h-2 text-blue-600 dark:text-blue-500/90"viewBox="0 0 100 10"preserveAspectRatio="none">@@ -167,13 +167,13 @@ export function ExportOverlay({<div className="flex items-start gap-3 p-4 bg-cyan-500/5 border border-cyan-500/20 squircle-element-camera"><Iconicon="lucide:clock"- className="text-cyan-400 shrink-0 mt-0.5"+ className="text-cyan-600 dark:text-cyan-400 shrink-0 mt-0.5"width="18"/>- <p className="text-md text-cyan-400/80 leading-relaxed">+ <p className="text-md text-cyan-600 dark:text-cyan-400/80 leading-relaxed">{t.rich("warnings.transparency", {highlight: (chunks) => (- <span className="font-semibold text-cyan-300">+ <span className="font-semibold text-cyan-700 dark:text-cyan-300">{chunks}</span>),@@ -186,7 +186,7 @@ export function ExportOverlay({<Buttonvariant="outline"onClick={onCancel}- className="w-full h-12 bg-transparent hover:bg-red-500/5 border border-white/10 hover:border-red-500/20 text-white/70 hover:text-red-400 text-sm font-medium transition-all duration-300 squircle-element-camera"+ className="w-full h-12 bg-transparent hover:bg-red-500/5 border border-border hover:border-red-500/20 text-muted-foreground hover:text-red-600 dark:hover:text-red-400 text-sm font-medium transition-all duration-300 squircle-element-camera"><Icon icon="iconoir:cancel" width="16" className="mr-2" />{t("actions.cancel")}diff --git a/app/components/ui/FloatingCameraPreview.tsx b/app/components/ui/FloatingCameraPreview.tsxindex 78986c3..b6c96c1 100644--- a/app/components/ui/FloatingCameraPreview.tsx+++ b/app/components/ui/FloatingCameraPreview.tsx@@ -118,7 +118,7 @@ export default function FloatingCameraPreview({ stream, config, onConfigChange }autoPlaymutedplaysInline- className={`size-full object-cover shadow-[0_10px_40px_rgba(0,0,0,0.55)] ring-1 ring-white/20 ${+ className={`size-full object-cover shadow-[0_10px_40px_rgba(0,0,0,0.55)] ring-1 ring-foreground/20 ${isSquircle ? "squircle-element-camera" : ""}`}style={{diff --git a/app/components/ui/PhotoPickerPopover.tsx b/app/components/ui/PhotoPickerPopover.tsxindex 74c9f2b..d04ca4d 100644--- a/app/components/ui/PhotoPickerPopover.tsx+++ b/app/components/ui/PhotoPickerPopover.tsx@@ -76,7 +76,7 @@ function MasonryGrid({{col.map((h, i) => (<divkey={i}- className="w-full rounded-lg bg-white/3 border border-white/5 animate-pulse"+ className="w-full rounded-lg bg-muted/50 border border-border animate-pulse"style={{ height: h }}/>))}@@ -88,7 +88,7 @@ function MasonryGrid({if (!photos.length) {return (- <div className="flex flex-col items-center justify-center py-20 text-white/30 gap-3">+ <div className="flex flex-col items-center justify-center py-20 text-muted-foreground/40 gap-3"><Icon icon="ph:image-broken-duotone" width="48" className="opacity-50" /><span className="text-xs font-medium tracking-wide">{emptyText}</span></div>@@ -103,7 +103,7 @@ function MasonryGrid({<buttonkey={photo.id}onClick={() => onSelect(photo.urls.regular)}- className="w-full relative text-left cursor-pointer focus:outline-none focus:ring-2 focus:ring-white/80 rounded-lg block"+ className="w-full relative text-left cursor-pointer focus:outline-none focus:ring-2 focus:ring-foreground/80 rounded-lg block"><ProgressiveImage photo={photo} /></button>@@ -243,32 +243,32 @@ export function PhotoPickerPopover({ onSelect }: PhotoPickerPopoverProps) {</PopoverTrigger></TooltipAction><PopoverContent side="right" align="start" sideOffset={12} className="w-115 p-0 border-0 shadow-2xl">- <div className="flex flex-col bg-black border border-white/10 squircle-element-camera overflow-hidden shadow-2xl max-h-150">- <div className="px-4 py-3 border-b border-white/10 bg-white/5 shrink-0">+ <div className="flex flex-col bg-popover dark:bg-black border border-border squircle-element-camera overflow-hidden shadow-2xl max-h-150">+ <div className="px-4 py-3 border-b border-border bg-muted shrink-0"><div className="flex items-center gap-2">- <Icon icon="ph:images-bold" width="13" className="text-white/60" aria-hidden="true" />- <span className="text-[11px] font-medium uppercase tracking-[0.15em] text-white/60">+ <Icon icon="ph:images-bold" width="13" className="text-muted-foreground" aria-hidden="true" />+ <span className="text-[11px] font-medium uppercase tracking-[0.15em] text-muted-foreground">{t("title")}</span>- <span className="ml-auto text-[11px] text-white/30">+ <span className="ml-auto text-[11px] text-muted-foreground/40">{isSearchMode ? `"${activeQuery}"` : t("statusDiscovering")}</span></div></div><div className="px-4 pt-3 pb-2 shrink-0">- <div className="flex items-center gap-2 px-3 py-2 rounded-lg bg-white/6 border border-white/10 focus-within:border-white/20 transition-colors">- <Icon icon="ph:magnifying-glass-bold" width="13" className="text-white/30 shrink-0" aria-hidden="true" />+ <div className="flex items-center gap-2 px-3 py-2 rounded-lg bg-muted border border-border focus-within:border-border transition-colors">+ <Icon icon="ph:magnifying-glass-bold" width="13" className="text-muted-foreground/40 shrink-0" aria-hidden="true" /><inputtype="text"value={inputValue}onChange={handleInputChange}onKeyDown={handleInputKeyDown}placeholder={t("searchPlaceholder")}- className="flex-1 bg-transparent text-[12px] text-white/80 placeholder:text-white/30 outline-none"+ className="flex-1 bg-transparent text-[12px] text-foreground/80 placeholder:text-muted-foreground/40 outline-none"aria-label={t("searchPlaceholder")}/>{inputValue && (- <button onClick={handleClear} className="text-white/30 hover:text-white/70 transition-colors" aria-label="Clear search">+ <button onClick={handleClear} className="text-muted-foreground/40 hover:text-muted-foreground transition-colors" aria-label="Clear search"><Icon icon="mdi:close" width="13" aria-hidden="true" /></button>)}@@ -281,8 +281,8 @@ export function PhotoPickerPopover({ onSelect }: PhotoPickerPopoverProps) {key={badge.id}onClick={() => handleBadgeClick(badge.id)}className={`px-2.5 py-0.5 rounded-full text-[11px] transition-all border ${activeQuery === badge.id- ? "bg-white/15 border-white/30 text-white/90"- : "bg-white/5 border-white/10 text-white/60 hover:text-white/70 hover:border-white/20"+ ? "bg-muted border-border text-foreground"+ : "bg-muted/50 border-border text-muted-foreground hover:text-foreground hover:border-muted-foreground/50"}`}>{t(`badges.${badge.key}`)}@@ -290,7 +290,7 @@ export function PhotoPickerPopover({ onSelect }: PhotoPickerPopoverProps) {))}</div></div>- <div className="h-px bg-white/10 shrink-0" />+ <div className="h-px bg-muted shrink-0" /><divref={scrollRef}onScroll={handleScroll}@@ -300,18 +300,18 @@ export function PhotoPickerPopover({ onSelect }: PhotoPickerPopoverProps) {<MasonryGrid photos={photos} onSelect={handleSelect} loading={loading && photos.length === 0} emptyText={t("noResults")} />{loading && photos.length > 0 && (<div className="flex justify-center py-3">- <Icon icon="mdi:loading" className="text-white/30 animate-spin" width="20" aria-hidden="true" />+ <Icon icon="mdi:loading" className="text-muted-foreground/40 animate-spin" width="20" aria-hidden="true" /></div>)}</div>- <div className="px-4 py-2.5 border-t border-white/10 bg-white/5 shrink-0">- <span className="text-[11px] text-white/30">+ <div className="px-4 py-2.5 border-t border-border bg-muted shrink-0">+ <span className="text-[11px] text-muted-foreground/40">{t("footerPhotosBy")}{" "}<ahref="https://unsplash.com"target="_blank"rel="noopener noreferrer"- className="underline hover:text-white/60 transition-colors"+ className="underline hover:text-muted-foreground transition-colors">Unsplash</a>@@ -320,7 +320,7 @@ export function PhotoPickerPopover({ onSelect }: PhotoPickerPopoverProps) {href="https://www.pexels.com"target="_blank"rel="noopener noreferrer"- className="underline hover:text-white/60 transition-colors"+ className="underline hover:text-muted-foreground transition-colors">Pexels</a>@@ -329,7 +329,7 @@ export function PhotoPickerPopover({ onSelect }: PhotoPickerPopoverProps) {href="https://pixabay.com"target="_blank"rel="noopener noreferrer"- className="underline hover:text-white/60 transition-colors"+ className="underline hover:text-muted-foreground transition-colors">Pixabay</a>diff --git a/app/components/ui/PlaceholderEditor.tsx b/app/components/ui/PlaceholderEditor.tsxindex 68f7272..c696237 100644--- a/app/components/ui/PlaceholderEditor.tsx+++ b/app/components/ui/PlaceholderEditor.tsx@@ -71,40 +71,40 @@ export default function PlaceholderEditor({return (<>- <div className="bg-black/50 backdrop-blur-xl flex flex-col justify-center items-center px-4 shrink-0 w-full h-11 border-b border-white/10 shadow-[inset_0_1px_0_rgba(255,255,255,0.05)] rounded-t-xl">+ <div className="bg-muted backdrop-blur-xl flex flex-col justify-center items-center px-4 shrink-0 w-full h-11 border-b border-border shadow-[inset_0_1px_0_rgba(255,255,255,0.05)] rounded-t-xl"><div className="flex items-center justify-between w-full"><div className="flex items-center gap-4 w-1/3"><div className="flex gap-2">- <div className="size-3 rounded-full bg-white/20 hover:bg-[#FF5F56] transition-colors shadow-inner"></div>- <div className="size-3 rounded-full bg-white/20 hover:bg-[#FFBD2E] transition-colors shadow-inner"></div>- <div className="size-3 rounded-full bg-white/20 hover:bg-[#27C93F] transition-colors shadow-inner"></div>+ <div className="size-3 rounded-full bg-muted-foreground/30 hover:bg-[#FF5F56] transition-colors shadow-inner"></div>+ <div className="size-3 rounded-full bg-muted-foreground/30 hover:bg-[#FFBD2E] transition-colors shadow-inner"></div>+ <div className="size-3 rounded-full bg-muted-foreground/30 hover:bg-[#27C93F] transition-colors shadow-inner"></div></div>- <div className="hidden sm:flex items-center gap-3 text-neutral-400 ml-2">- <Icon icon="lucide:chevron-left" className="size-4 hover:text-neutral-200 transition-colors cursor-pointer" />- <Icon icon="lucide:chevron-right" className="size-4 text-neutral-600" />+ <div className="hidden sm:flex items-center gap-3 text-muted-foreground ml-2">+ <Icon icon="lucide:chevron-left" className="size-4 hover:text-foreground transition-colors cursor-pointer" />+ <Icon icon="lucide:chevron-right" className="size-4 text-muted-foreground/50" /></div></div><div className="flex-1 flex justify-center w-1/3">- <div className="bg-black/40 rounded-md h-7 w-full max-w-sm flex items-center justify-between px-3 border border-white/5 shadow-[inset_0_1px_3px_rgba(0,0,0,0.5)]">- <Icon icon="material-symbols:lock-outline" className="size-3.5 text-neutral-400" />- <span className="flex-1 text-center text-xs font-medium tracking-wide truncate px-3 text-neutral-300">+ <div className="bg-muted/60 rounded-md h-7 w-full max-w-sm flex items-center justify-between px-3 border border-border shadow-[inset_0_1px_3px_rgba(0,0,0,0.2)]">+ <Icon icon="material-symbols:lock-outline" className="size-3.5 text-muted-foreground" />+ <span className="flex-1 text-center text-xs font-medium tracking-wide truncate px-3 text-muted-foreground">{t("browserBar.newTab")}</span>- <Icon icon="solar:restart-linear" className="size-3.5 text-neutral-400 hover:text-neutral-200 cursor-pointer transition-colors" />+ <Icon icon="solar:restart-linear" className="size-3.5 text-muted-foreground hover:text-foreground cursor-pointer transition-colors" /></div></div>- <div className="flex items-center justify-end gap-4 text-neutral-400 w-1/3">- <Icon icon="solar:upload-linear" className="size-4 hover:text-neutral-200 transition-colors cursor-pointer" />- <Icon icon="ic:round-plus" className="size-4 hover:text-neutral-200 transition-colors cursor-pointer" />- <Icon icon="solar:copy-linear" className="size-4 hover:text-neutral-200 transition-colors cursor-pointer" />+ <div className="flex items-center justify-end gap-4 text-muted-foreground w-1/3">+ <Icon icon="solar:upload-linear" className="size-4 hover:text-foreground transition-colors cursor-pointer" />+ <Icon icon="ic:round-plus" className="size-4 hover:text-foreground transition-colors cursor-pointer" />+ <Icon icon="solar:copy-linear" className="size-4 hover:text-foreground transition-colors cursor-pointer" /></div></div></div><div- className="flex-1 flex items-center justify-center p-6 sm:p-12 bg-black/20"+ className="flex-1 flex items-center justify-center p-6 sm:p-12 bg-muted/40"onDragEnter={handleDragEnter}onDragOver={handleDragOver}onDrop={handleDrop}@@ -120,11 +120,11 @@ export default function PlaceholderEditor({/><div- className={`absolute inset-0 z-[1] squircle-element-camera transition-colors duration-300 ${isDragging ? "bg-blue-500/20" : "bg-black/20 group-hover:bg-black/30"+ className={`absolute inset-0 z-[1] squircle-element-camera transition-colors duration-300 ${isDragging ? "bg-blue-500/20" : "bg-muted/70 group-hover:bg-muted/90"}`}/>- <div className="absolute inset-0 z-[2] squircle-element-camera bg-[radial-gradient(circle_at_center,rgba(0,0,0,0.4)_0%,transparent_70%)] pointer-events-none" />+ <div className="absolute inset-0 z-[2] squircle-element-camera bg-[radial-gradient(circle_at_center,rgba(0,0,0,0.25)_0%,transparent_70%)] pointer-events-none" /><div className="absolute inset-0 z-[3] shadow-[inset_1px_1px_1px_0_rgba(255,255,255,0.15),_inset_-1px_-1px_1px_0_rgba(255,255,255,0.05)] squircle-element-camera pointer-events-none" />{isDragging && (@@ -137,9 +137,9 @@ export default function PlaceholderEditor({<div className="relative z-10 flex flex-col items-center pointer-events-none"><div- className={`w-16 h-16 rounded-full border flex items-center justify-center mb-6 transition-all duration-[400ms] ease-out shadow-[0_4px_16px_rgba(0,0,0,0.4)] ${isDragging- ? "bg-blue-500/30 border-blue-400/50 text-white scale-110 shadow-[0_0_20px_rgba(59,130,246,0.5)]"- : "bg-black/40 border-white/20 text-zinc-200 group-hover:scale-105 group-hover:bg-black/50"+ className={`w-16 h-16 rounded-full border flex items-center justify-center mb-6 transition-all duration-[400ms] ease-out shadow-[0_4px_16px_rgba(0,0,0,0.2)] ${isDragging+ ? "bg-blue-500/20 border-blue-400/50 text-blue-500 dark:text-blue-400 scale-110 shadow-[0_0_20px_rgba(59,130,246,0.5)]"+ : "bg-muted/70 border-border text-muted-foreground group-hover:scale-105 group-hover:bg-muted"}`}><Icon@@ -153,8 +153,8 @@ export default function PlaceholderEditor({/></div>- <div className="space-y-2 mb-8 drop-shadow-[0_2px_4px_rgba(0,0,0,0.8)]">- <p className="text-lg font-semibold text-white">+ <div className="space-y-2 mb-8">+ <p className="text-lg font-semibold text-foreground">{isDragging? isImageMode? t("upload.draggingImage")@@ -162,7 +162,7 @@ export default function PlaceholderEditor({: isImageMode? t("upload.titleImage"): t("upload.title")}- <span className="font-normal text-zinc-300 ml-1">+ <span className="font-normal text-muted-foreground ml-1">{!isDragging &&` ${isImageMode? t("upload.subtitleImage")@@ -170,7 +170,7 @@ export default function PlaceholderEditor({}`}</span></p>- <p className="text-sm font-medium text-zinc-300">+ <p className="text-sm font-medium text-muted-foreground">{isImageMode? t("upload.formatsImage"): t("upload.formats")}@@ -182,7 +182,7 @@ export default function PlaceholderEditor({<Buttonvariant="outline"disabled={isUploading}- className="bg-black/30 border-white/20 hover:bg-white/20 hover:border-white/40 hover:text-white text-zinc-100 backdrop-blur-md transition-all shadow-[0_4px_16px_rgba(0,0,0,0.5)] rounded-full px-6 font-medium"+ className="bg-muted/60 border-border hover:bg-muted hover:border-foreground/30 hover:text-foreground text-foreground backdrop-blur-md transition-all shadow-[0_4px_16px_rgba(0,0,0,0.2)] rounded-full px-6 font-medium">{isUploading ? (<>diff --git a/app/components/ui/RecordingSetupDialog.tsx b/app/components/ui/RecordingSetupDialog.tsxindex d88f0e3..8f91ad7 100644--- a/app/components/ui/RecordingSetupDialog.tsx+++ b/app/components/ui/RecordingSetupDialog.tsx@@ -249,20 +249,20 @@ export default function RecordingSetupDialog({ open, onClose, onStart }: Props)return (<div className="fixed inset-0 z-9998 flex items-center justify-center bg-black/70 backdrop-blur-md px-4 py-6 pointer-events-auto"><div- className="relative w-full max-w-4xl overflow-hidden rounded-2xl border border-white/10 bg-[#121214] shadow-2xl"+ className="relative w-full max-w-4xl overflow-hidden rounded-2xl border border-border bg-popover dark:bg-black shadow-2xl"role="dialog"aria-modal="true">- <div className="flex items-center justify-between px-6 py-4 border-b border-white/10">+ <div className="flex items-center justify-between px-6 py-4 border-b border-border"><div>- <h2 className="text-lg font-semibold text-white">{t("title")}</h2>- <p className="text-xs text-neutral-400">+ <h2 className="text-lg font-semibold text-foreground">{t("title")}</h2>+ <p className="text-xs text-muted-foreground">{t("description")}</p></div><buttononClick={handleCancel}- className="size-8 rounded-full text-neutral-400 hover:text-white hover:bg-white/10 transition-colors flex items-center justify-center"+ className="size-8 rounded-full text-muted-foreground hover:text-foreground hover:bg-muted transition-colors flex items-center justify-center"aria-label={t("close")}><Icon icon="material-symbols:close-rounded" className="size-5" />@@ -270,11 +270,11 @@ export default function RecordingSetupDialog({ open, onClose, onStart }: Props)</div><div className="grid gap-0 md:grid-cols-[1.2fr_1fr] h-full">- <div className="relative flex flex-col h-full bg-[#0A0A0C] p-6 border-b md:border-b-0 md:border-r border-white/10">+ <div className="relative flex flex-col h-full bg-muted/40 p-6 border-b md:border-b-0 md:border-r border-border"><div className="relative flex flex-1 w-full items-center justify-center min-h-0"><div className="relative w-full overflow-hidden rounded-[10px] shadow-[0_3px_10px_rgba(0,0,0,0.5)]">- <div className="w-full aspect-video bg-[#1E1E1E] border border-white/10 flex flex-col overflow-hidden">- <div className="bg-[#2D2D2D] flex flex-col justify-center items-center px-4 shrink-0 w-full h-7 rounded-t-[10px] border-b border-white/5">+ <div className="w-full aspect-video bg-card border border-border flex flex-col overflow-hidden">+ <div className="bg-muted flex flex-col justify-center items-center px-4 shrink-0 w-full h-7 rounded-t-[10px] border-b border-border"><div className="flex items-center justify-between w-full"><div className="flex items-center gap-4"><div className="flex gap-1.5">@@ -282,38 +282,38 @@ export default function RecordingSetupDialog({ open, onClose, onStart }: Props)<div className="size-1.5 rounded-full border border-gray-400 bg-gray-400/20"></div><div className="size-1.5 rounded-full border border-gray-400 bg-gray-400/20"></div></div>- <div className="flex items-center gap-2 text-neutral-400">- <Icon icon="lucide:arrow-left" className="size-2 hover:text-neutral-200 transition-colors cursor-pointer" />- <Icon icon="lucide:arrow-right" className="size-2 text-neutral-600" />- <Icon icon="lucide:rotate-cw" className="size-2 hover:text-neutral-200 transition-colors cursor-pointer" />+ <div className="flex items-center gap-2 text-muted-foreground">+ <Icon icon="lucide:arrow-left" className="size-2 hover:text-foreground transition-colors cursor-pointer" />+ <Icon icon="lucide:arrow-right" className="size-2 text-muted-foreground/50" />+ <Icon icon="lucide:rotate-cw" className="size-2 hover:text-foreground transition-colors cursor-pointer" /></div></div><div className="flex-1 max-w-xl mx-4">- <div className="bg-[#1C1C1C] rounded-lg h-5 w-full flex items-center justify-between px-2 border border-white/5 shadow-inner">- <Icon icon="material-symbols:lock" className="size-2.5 text-neutral-500 hover:text-neutral-200 transition-colors cursor-pointer" />- <span className="flex-1 text-center text-[9px] tracking-wide truncate px-2 text-neutral-300 leading-none">+ <div className="bg-muted/60 rounded-lg h-5 w-full flex items-center justify-between px-2 border border-border shadow-inner">+ <Icon icon="material-symbols:lock" className="size-2.5 text-muted-foreground hover:text-foreground transition-colors cursor-pointer" />+ <span className="flex-1 text-center text-[9px] tracking-wide truncate px-2 text-muted-foreground leading-none">openvid.dev</span>- <Icon icon="material-symbols:star-outline" className="size-3 text-neutral-500 hover:text-neutral-200 transition-colors cursor-pointer" />+ <Icon icon="material-symbols:star-outline" className="size-3 text-muted-foreground hover:text-foreground transition-colors cursor-pointer" /></div></div>- <div className="flex items-center gap-3 text-neutral-400">- <Icon icon="solar:puzzle-linear" className="size-2 hover:text-neutral-200 transition-colors cursor-pointer" />- <Icon icon="lucide:panel-right" className="size-2 hover:text-neutral-200 transition-colors cursor-pointer" />+ <div className="flex items-center gap-3 text-muted-foreground">+ <Icon icon="solar:puzzle-linear" className="size-2 hover:text-foreground transition-colors cursor-pointer" />+ <Icon icon="lucide:panel-right" className="size-2 hover:text-foreground transition-colors cursor-pointer" /></div></div></div>- <div ref={previewContainerRef} className="flex-1 flex w-full h-full bg-[#0a0a0a]">+ <div ref={previewContainerRef} className="flex-1 flex w-full h-full bg-muted"><div- className="relative w-full h-full bg-[linear-gradient(135deg,#1a1a1e,#0a0a0c)] overflow-hidden"+ className="relative w-full h-full bg-linear-to-br from-muted to-muted/40 overflow-hidden"style={{ containerType: "size" }}><div className="absolute inset-0 grid grid-cols-4 grid-rows-3 opacity-20">{Array.from({ length: 12 }).map((_, i) => (- <div key={i} className="border border-white/5" />+ <div key={i} className="border border-border" />))}</div>@@ -377,12 +377,12 @@ export default function RecordingSetupDialog({ open, onClose, onStart }: Props)autoPlaymutedplaysInline- className={`size-full object-cover border-2 border-white/20 shadow-[0_8px_40px_rgba(0,163,255,0.25)] transition-all duration-300 ${setup.camera.shape === "squircle" ? "squircle-element-camera" : ""}`}+ className={`size-full object-cover border-2 border-foreground/40 shadow-[0_8px_40px_rgba(0,163,255,0.25)] transition-all duration-300 ${setup.camera.shape === "squircle" ? "squircle-element-camera" : ""}`}style={previewFrameStyle}/>) : (<div- className={`size-full flex items-center justify-center border-2 border-dashed border-white/20 text-neutral-500 transition-all duration-300 ${setup.camera.shape === "squircle" ? "squircle-element-camera" : ""}`}+ className={`size-full flex items-center justify-center border-2 border-dashed border-foreground/40 text-muted-foreground transition-all duration-300 ${setup.camera.shape === "squircle" ? "squircle-element-camera" : ""}`}style={previewFrameStyle}><Icon icon="solar:videocamera-bold" className="size-8" />@@ -396,7 +396,7 @@ export default function RecordingSetupDialog({ open, onClose, onStart }: Props)</div><div className="mt-4 shrink-0">- <div className="text-xs text-neutral-400 mb-2">{t("preview.initialPosition")}</div>+ <div className="text-xs text-muted-foreground mb-2">{t("preview.initialPosition")}</div><div className="grid grid-cols-4 gap-2">{CORNER_BUTTONS.map((c) => {const active = setup.camera.corner === c.id;@@ -411,11 +411,11 @@ export default function RecordingSetupDialog({ open, onClose, onStart }: Props)}disabled={!setup.camera.enabled}className={`group relative flex items-center justify-center aspect-video rounded-md border text-[11px] transition-all- ${active ? "border-[#00A3FF] bg-[#00A3FF]/10 text-white" : "border-white/10 bg-white/5 text-neutral-400 hover:bg-white/10"}+ ${active ? "border-[#00A3FF] bg-[#00A3FF]/10 text-[#00A3FF]" : "border-border bg-muted text-muted-foreground hover:bg-muted"}${!setup.camera.enabled ? "opacity-40 cursor-not-allowed" : ""}`}><span- className={`absolute size-2 rounded-full ${active ? "bg-[#00A3FF]" : "bg-neutral-500"}`}+ className={`absolute size-2 rounded-full ${active ? "bg-[#00A3FF]" : "bg-muted-foreground/50"}`}style={{left: c.id.includes("left") ? "10%" : "auto",right: c.id.includes("right") ? "10%" : "auto",@@ -445,7 +445,7 @@ export default function RecordingSetupDialog({ open, onClose, onStart }: Props)<div className="mt-0.5"><HoverCard openDelay={200} closeDelay={100}><HoverCardTrigger asChild>- <span className="text-red-400 font-medium border-b border-dashed border-red-400/50 cursor-help pb-0.5">+ <span className="text-red-600 dark:text-red-400 font-medium border-b border-dashed border-red-400/50 cursor-help pb-0.5">{t("camera.permissionDenied")}</span></HoverCardTrigger>@@ -456,7 +456,7 @@ export default function RecordingSetupDialog({ open, onClose, onStart }: Props)className="w-auto p-0 border-none shadow-none bg-transparent z-9999"><div className="relative">- <div className="absolute -top-2 left-10 w-4 h-4 bg-white border-t border-l border-white/10 transform rotate-45" />+ <div className="absolute -top-2 left-10 w-4 h-4 bg-muted border-t border-l border-border transform rotate-45" /><BrowserPermissionUI /></div></HoverCardContent>@@ -477,10 +477,10 @@ export default function RecordingSetupDialog({ open, onClose, onStart }: Props)}))}>- <SelectTrigger className="w-full bg-white/5 border-white/10 text-neutral-200">+ <SelectTrigger className="w-full bg-muted border-border text-foreground"><SelectValue placeholder={t("camera.selectPlaceholder")} /></SelectTrigger>- <SelectContent className="bg-[#1E1E20] border-white/10 text-neutral-200 z-9999">+ <SelectContent className="bg-popover dark:bg-black border-border text-foreground z-9999"><SelectItem value="default">{t("camera.default")}</SelectItem>{devices.cameras.filter((cam) => cam.deviceId !== "")@@ -493,7 +493,7 @@ export default function RecordingSetupDialog({ open, onClose, onStart }: Props)</Select><div>- <div className="text-xs text-neutral-400 mb-1.5">{t("camera.shape")}</div>+ <div className="text-xs text-muted-foreground mb-1.5">{t("camera.shape")}</div><div className="grid grid-cols-3 gap-2">{CAMERA_SHAPES.map((shape) => {const active = setup.camera.shape === shape.id;@@ -504,7 +504,7 @@ export default function RecordingSetupDialog({ open, onClose, onStart }: Props)setSetup((s) => ({ ...s, camera: { ...s.camera, shape: shape.id } }))}className={`flex flex-col items-center gap-1 px-2 py-2.5 squircle-element border text-[11px] transition-all- ${active ? "border-[#00A3FF] bg-[#00A3FF]/10 text-white" : "border-white/10 bg-white/5 text-neutral-400 hover:bg-white/10"}+ ${active ? "border-[#00A3FF] bg-[#00A3FF]/10 text-foreground" : "border-border bg-muted text-muted-foreground hover:bg-muted"}`}><Icon icon={shape.icon} className="size-5" />@@ -528,8 +528,8 @@ export default function RecordingSetupDialog({ open, onClose, onStart }: Props)/></div>- <label className="flex items-center justify-between cursor-pointer pt-2 border-t border-white/5">- <span className="text-xs text-neutral-300 flex items-center gap-2">+ <label className="flex items-center justify-between cursor-pointer pt-2 border-t border-border">+ <span className="text-xs text-foreground/80 flex items-center gap-2"><Icon icon="solar:reflection-horisontal-bold" className="size-4" />{t("camera.mirror")}</span>@@ -563,10 +563,10 @@ export default function RecordingSetupDialog({ open, onClose, onStart }: Props)}))}>- <SelectTrigger className="w-full bg-white/5 border-white/10 text-neutral-200">+ <SelectTrigger className="w-full bg-muted border-border text-foreground"><SelectValue placeholder={t("mic.selectPlaceholder")} /></SelectTrigger>- <SelectContent className="bg-[#1E1E20] border-white/10 text-neutral-200 z-9999">+ <SelectContent className="bg-popover dark:bg-black border-border text-foreground z-9999"><SelectItem value="default">{t("mic.default")}</SelectItem>{devices.microphones.filter((mic) => mic.deviceId !== "")@@ -582,10 +582,10 @@ export default function RecordingSetupDialog({ open, onClose, onStart }: Props)<label className="flex items-center justify-between cursor-pointer px-1 py-2 rounded-lg"><div className="flex items-start gap-2.5">- <Icon icon="solar:volume-loud-bold" className="size-5 text-neutral-400 mt-0.5" />+ <Icon icon="solar:volume-loud-bold" className="size-5 text-muted-foreground mt-0.5" /><div>- <div className="text-sm text-neutral-200 font-medium">{t("systemAudio.title")}</div>- <div className="text-[11px] text-neutral-500">+ <div className="text-sm text-foreground font-medium">{t("systemAudio.title")}</div>+ <div className="text-[11px] text-muted-foreground">{t("systemAudio.description")}</div></div>@@ -598,11 +598,11 @@ export default function RecordingSetupDialog({ open, onClose, onStart }: Props)</div></div>- <div className="flex items-center justify-end gap-3 px-6 py-4 border-t border-white/10 bg-[#0E0E10]">+ <div className="flex items-center justify-end gap-3 px-6 py-4 border-t border-border bg-muted"><Button variant="outline" onClick={handleCancel}>{t("actions.cancel")}</Button>- <Button variant="primary" onClick={handleStart} className="gap-2">+ <Button variant="primary" onClick={handleStart} className="gap-2 text-white"><Icon icon="material-symbols:cast-outline-rounded" className="size-4" />{t("actions.shareScreen")}</Button>diff --git a/app/components/ui/Skeleton.tsx b/app/components/ui/Skeleton.tsxindex 11e8cb3..36ea810 100644--- a/app/components/ui/Skeleton.tsx+++ b/app/components/ui/Skeleton.tsx@@ -25,7 +25,7 @@ export function Skeleton({return (<div- className={`bg-white/3 border border-white/5 animate-pulse ${variantClasses[variant]} ${className}`}+ className={`bg-muted/40 border border-border animate-pulse ${variantClasses[variant]} ${className}`}style={{ ...sizeStyle, ...(style ?? {}) }}/>);@@ -177,7 +177,7 @@ export function ZoomGlobalConfigSkeleton() {<Skeleton height={10} width={100} /><div className="space-y-1.5">{Array.from({ length: 3 }).map((_, i) => (- <div key={i} className="flex items-center gap-3 p-2.5 rounded-lg bg-white/3 border border-white/5">+ <div key={i} className="flex items-center gap-3 p-2.5 rounded-lg bg-muted/40 border border-border"><Skeleton variant="square" width={32} height={32} /><div className="flex flex-col gap-1.5 flex-1"><Skeleton height={10} width="50%" />@@ -191,7 +191,7 @@ export function ZoomGlobalConfigSkeleton() {<Skeleton height={36} variant="square" />- <div className="space-y-2 pt-2 border-t border-white/10">+ <div className="space-y-2 pt-2 border-t border-border">{Array.from({ length: 3 }).map((_, i) => (<div key={i} className="flex items-center gap-2"><Skeleton height={20} width={80} />@@ -206,7 +206,7 @@ export function ZoomGlobalConfigSkeleton() {export function ZoomFragmentEditorSkeleton() {return (<div className="flex flex-col h-full">- <div className="flex items-center gap-2 p-3 border-b border-white/6">+ <div className="flex items-center gap-2 p-3 border-b border-border"><Skeleton width={28} height={28} variant="square" /><Skeleton height={14} width={140} /><Skeleton height={12} width={60} className="ml-auto" />@@ -224,7 +224,7 @@ export function ZoomFragmentEditorSkeleton() {<Skeleton height={36} variant="square" /><Skeleton height={36} variant="square" />- <div className="h-px bg-white/10" />+ <div className="h-px bg-border" /><div className="space-y-2">{Array.from({ length: 4 }).map((_, i) => (@@ -265,7 +265,7 @@ export function MockupGridSkeleton() {{skeletons.map((_, i) => (<divkey={i}- className="aspect-video w-full rounded-lg bg-white/3 border border-white/5 animate-pulse"+ className="aspect-video w-full rounded-lg bg-muted/40 border border-border animate-pulse"/>))}</div>@@ -284,7 +284,7 @@ export function BackgroundColorSkeleton() {<div className="space-y-3"><Skeleton height={10} width={90} />- <div className="space-y-2 p-3 squircle-element-camera border border-white/5 bg-white/3">+ <div className="space-y-2 p-3 squircle-element-camera border border-border bg-muted/40"><div className="flex gap-2"><Skeleton height={34} className="flex-1" variant="square" /><Skeleton height={34} className="flex-1" variant="square" />@@ -293,7 +293,7 @@ export function BackgroundColorSkeleton() {<Skeleton height={20} variant="square" /><div className="space-y-1.5 pt-1">{[1, 2].map(i => (- <div key={i} className="flex items-center gap-2 px-2 py-1.5 rounded-lg bg-white/3">+ <div key={i} className="flex items-center gap-2 px-2 py-1.5 rounded-lg bg-muted/40"><Skeleton width={14} height={14} variant="circle" /><Skeleton width={28} height={28} variant="square" /><div className="flex-1 space-y-1">@@ -313,28 +313,28 @@ export function BackgroundColorSkeleton() {export function TimelineSkeleton() {return (- <div className="h-38 shrink-0 bg-[#0D0D11] border-t border-white/10 flex flex-col font-mono text-[11px]">+ <div className="h-38 shrink-0 bg-background border-t border-border flex flex-col font-mono text-[11px]"><div className="flex flex-1 overflow-hidden">- <div className="w-18 shrink-0 flex flex-col border-r border-white/5">- <div className="h-7 border-b border-white/10 bg-zinc-900/40" />- <div className="flex-1 flex items-center px-2 border-b border-white/5">- <div className="h-2 w-10 rounded bg-white/5 animate-pulse" />+ <div className="w-18 shrink-0 flex flex-col border-r border-border">+ <div className="h-7 border-b border-border bg-muted/30" />+ <div className="flex-1 flex items-center px-2 border-b border-border">+ <div className="h-2 w-10 rounded bg-muted animate-pulse" /></div><div className="flex-1 flex items-center px-2">- <div className="h-2 w-8 rounded bg-white/5 animate-pulse" />+ <div className="h-2 w-8 rounded bg-muted animate-pulse" /></div></div><div className="flex-1 flex flex-col overflow-hidden">- <div className="h-7 border-b border-white/10 bg-zinc-900/40 relative shrink-0 flex items-end pb-1 gap-0 overflow-hidden">+ <div className="h-7 border-b border-border bg-muted/30 relative shrink-0 flex items-end pb-1 gap-0 overflow-hidden">{Array.from({ length: 7 }).map((_, i) => (<divkey={i}className="absolute bottom-0 flex flex-col items-start"style={{ left: `${(i / 6) * 100}%` }}>- <div className="w-px h-3 bg-zinc-700/60" />- <div className="h-1.5 w-6 rounded bg-zinc-700/40 animate-pulse mt-1" />+ <div className="w-px h-3 bg-muted-foreground/40" />+ <div className="h-1.5 w-6 rounded bg-muted-foreground/25 animate-pulse mt-1" /></div>))}<div className="absolute top-0 bottom-0 left-[30%] flex flex-col items-center z-10">@@ -343,10 +343,10 @@ export function TimelineSkeleton() {</div></div>- <div className="flex-1 flex items-center py-1.5 px-2 border-b border-white/5">- <div className="h-full w-full rounded-md bg-[#0a1510] border border-white/5 relative overflow-hidden">+ <div className="flex-1 flex items-center py-1.5 px-2 border-b border-border">+ <div className="h-full w-full rounded-md bg-muted/40 dark:bg-[#0a1510] border border-border relative overflow-hidden"><div- className="absolute top-0 bottom-0 rounded-md border border-[#34A853]/30 bg-[#182e20]/80 animate-pulse"+ className="absolute top-0 bottom-0 rounded-md border border-[#34A853]/30 bg-emerald-500/10 dark:bg-[#182e20]/80 animate-pulse"style={{ left: "0%", width: "100%" }}><div@@ -391,7 +391,7 @@ export function AudioMenuSkeleton() {<Skeleton height={14} width={50} /></div>- <div className="bg-[#09090B] border border-white/5 squircle-element p-3">+ <div className="bg-muted/30 border border-border squircle-element p-3"><div className="flex items-center justify-between"><div className="flex items-center gap-2"><Skeleton width={18} height={18} variant="circle" />@@ -421,7 +421,7 @@ export function AudioMenuSkeleton() {{Array.from({ length: 2 }).map((_, i) => (<divkey={i}- className="bg-[#09090B] border border-white/5 squircle-element p-3 flex flex-col gap-2"+ className="bg-muted/30 border border-border squircle-element p-3 flex flex-col gap-2"><div className="flex items-start justify-between gap-2"><div className="flex flex-col gap-1.5 flex-1 min-w-0">@@ -460,7 +460,7 @@ export function VideosMenuSkeleton() {{Array.from({ length: 3 }).map((_, i) => (<divkey={i}- className="bg-[#09090B] border border-white/5 squircle-element overflow-hidden p-2.5 flex items-center gap-3"+ className="bg-muted/30 border border-border squircle-element overflow-hidden p-2.5 flex items-center gap-3"><div className="shrink-0"><Skeleton width={80} height={48} variant="square" className="rounded-md" />@@ -484,7 +484,7 @@ export function VideosMenuSkeleton() {</div></div>- <div className="pt-2 border-t border-white/5 shrink-0 flex justify-center">+ <div className="pt-2 border-t border-border shrink-0 flex justify-center"><Skeleton height={10} width="70%" /></div>@@ -502,7 +502,7 @@ export function HistoryMenuSkeleton() {<Skeleton height={10} width={80} /><div className="grid grid-cols-2 gap-3">{Array.from({ length: 6 }).map((_, i) => (- <div key={i} className="flex flex-col gap-2 p-2 rounded-lg bg-white/3 border border-white/5">+ <div key={i} className="flex flex-col gap-2 p-2 rounded-lg bg-muted/40 border border-border"><Skeletonvariant="square"className="w-full rounded-md"@@ -534,14 +534,14 @@ export function MotionGlobalConfigSkeleton() {<div key={sectionIndex}><div className="flex items-center gap-2 mb-3"><Skeleton height={9} width={60} />- <div className="h-px flex-1 bg-white/5" />+ <div className="h-px flex-1 bg-muted" /></div><div className="grid grid-cols-2 gap-2.5">{Array.from({ length: count }).map((_, i) => (<divkey={i}- className="squircle-element-camera border border-neutral-800 bg-black p-2 flex flex-col gap-2"+ className="squircle-element-camera border border-border bg-card p-2 flex flex-col gap-2"><Skeletonvariant="square"@@ -556,7 +556,7 @@ export function MotionGlobalConfigSkeleton() {</div></div>- <div className="shrink-0 flex flex-col gap-4 pt-4 border-t border-white/5">+ <div className="shrink-0 flex flex-col gap-4 pt-4 border-t border-border">{Array.from({ length: 2 }).map((_, i) => (<div key={i} className="flex items-center gap-3"><Skeleton width={14} height={14} variant="circle" />@@ -573,7 +573,7 @@ export function MotionGlobalConfigSkeleton() {export function MotionFragmentEditorSkeleton() {return (<div className="flex flex-col h-full">- <div className="flex items-center gap-2 p-3 border-b border-white/6 shrink-0">+ <div className="flex items-center gap-2 p-3 border-b border-border shrink-0"><Skeleton width={28} height={28} variant="square" /><Skeleton height={14} width={120} /></div>@@ -585,7 +585,7 @@ export function MotionFragmentEditorSkeleton() {<Skeleton height={44} variant="square" className="rounded-lg w-full" /></div>- <div className="space-y-6 p-4 bg-white/3 border border-white/8 squircle-element">+ <div className="space-y-6 p-4 bg-muted/40 border border-border squircle-element"><div className="flex items-center gap-3"><Skeleton width={20} height={20} variant="circle" />diff --git a/app/components/ui/WallpaperSections.tsx b/app/components/ui/WallpaperSections.tsxindex 3c4be43..37dc262 100644--- a/app/components/ui/WallpaperSections.tsx+++ b/app/components/ui/WallpaperSections.tsx@@ -66,8 +66,8 @@ export function OptionsGrid({ selectedIndex = -1, onSelect, onUnsplashSelect, on<buttononClick={() => onSelect?.(-1)}className={`aspect-square squircle-element cursor-pointer transition-all flex items-center justify-center relative overflow-hidden ${selectedIndex === -1- ? "ring-2 ring-white/90 shadow-lg shadow-black/40"- : "hover:ring-2 ring-white/60"+ ? "ring-2 ring-foreground/80 shadow-lg shadow-black/40"+ : "hover:ring-2 ring-foreground/60"}`}style={{backgroundImage:@@ -94,19 +94,19 @@ function CategoryPopover({ category, selectedIndex, onSelect }: { category: Wall<Popover open={open} onOpenChange={setOpen}><TooltipAction label={t("popover.seeMore", { name: categoryName })}><PopoverTrigger asChild>- <button className="aspect-square rounded-lg border border-white/10 bg-white/5 flex items-center justify-center hover:bg-white/10 transition group" aria-label={t("popover.seeMore", { name: categoryName })}>- <Icon icon="ph:plus-bold" width="16" className="text-blue-400 group-hover:text-blue-300 transition-colors" aria-hidden="true" />+ <button className="aspect-square rounded-lg border border-border bg-muted flex items-center justify-center hover:bg-muted transition group" aria-label={t("popover.seeMore", { name: categoryName })}>+ <Icon icon="ph:plus-bold" width="16" className="text-blue-600 dark:text-blue-400 group-hover:text-blue-600 dark:group-hover:text-blue-300 transition-colors" aria-hidden="true" /></button></PopoverTrigger></TooltipAction><PopoverContent side="right" align="start" sideOffset={12} className="w-126 p-0 border-0 shadow-2xl">- <div className="flex flex-col bg-[#111113] border border-white/10 squircle-element-camera overflow-hidden shadow-2xl">- <div className="flex items-center gap-2 px-4 py-3 border-b border-white/10 bg-white/2">- <Icon icon={category.icon} width="14" className="text-white/60" aria-hidden="true" />- <span className="text-[11px] font-medium uppercase tracking-[0.15em] text-white/60">+ <div className="flex flex-col bg-popover dark:bg-black border border-border squircle-element-camera overflow-hidden shadow-2xl">+ <div className="flex items-center gap-2 px-4 py-3 border-b border-border bg-muted/40">+ <Icon icon={category.icon} width="14" className="text-muted-foreground" aria-hidden="true" />+ <span className="text-[11px] font-medium uppercase tracking-[0.15em] text-muted-foreground">{categoryName}</span>- <span className="ml-auto text-[11px] text-white/70">+ <span className="ml-auto text-[11px] text-muted-foreground">{t("popover.moreCount", { count: category.items.length - PREVIEW_LIMIT })}</span></div>@@ -126,7 +126,7 @@ function PrimaryCategoryGrid({ category, selectedIndex, onSelect }: { category:const visible = category.items.slice(0, PREVIEW_LIMIT);return (<div className="flex flex-col gap-2">- <div className="flex items-center gap-1.5 text-[11px] uppercase tracking-widest text-white/70 font-bold">+ <div className="flex items-center gap-1.5 text-[11px] uppercase tracking-widest text-muted-foreground font-bold"><Icon icon={category.icon} width="12" /><span>{t(`categories.${category.id}`)}</span></div>@@ -151,7 +151,7 @@ function SecondaryCategoryGrid({ category, selectedIndex, onSelect }: { categorytransition={{ duration: 0.3, ease: "easeInOut" }}className="flex flex-col gap-2 overflow-hidden">- <div className="flex items-center gap-1.5 text-[11px] uppercase tracking-widest text-white/70 font-bold">+ <div className="flex items-center gap-1.5 text-[11px] uppercase tracking-widest text-muted-foreground font-bold"><Icon icon={category.icon} width="12" aria-hidden="true" /><span>{t(`categories.${category.id}`)}</span></div>@@ -185,7 +185,7 @@ export function WallpaperCatalogGrid({{secondary.length > 0 && (<motion.buttononClick={() => onShowAllChange?.(!showAll)}- className="flex items-center justify-center gap-1.5 text-[11px] uppercase tracking-widest text-white/70 hover:text-white font-bold transition-colors"+ className="flex items-center justify-center gap-1.5 text-[11px] uppercase tracking-widest text-muted-foreground hover:text-foreground font-bold transition-colors"whileHover={{ scale: 1.05 }}whileTap={{ scale: 0.95 }}>@@ -209,8 +209,8 @@ function WallpaperThumb({ item, isSelected, onSelect }: { item: WallpaperItem; i<buttononClick={() => onSelect?.(item.index)}className={`aspect-square squircle-element cursor-pointer transition-all bg-cover bg-center border ${isSelected- ? "ring-2 ring-white/90 border-white/40 shadow-md shadow-black/50"- : "border-white/10 hover:border-white/30 hover:ring-1 ring-white/20"+ ? "ring-2 ring-foreground/80 border-border shadow-md shadow-black/50"+ : "border-border hover:border-muted-foreground/50 hover:ring-1 ring-foreground/20"}`}style={{ backgroundImage: `url('${item.previewUrl}')` }}aria-label={item.filename}@@ -225,8 +225,8 @@ function WallpaperThumbProgressive({ item, isSelected, onSelect }: { item: Wallp<buttononClick={() => onSelect?.(item.index)}className={`aspect-square squircle-element cursor-pointer transition-all bg-cover bg-center border overflow-hidden relative ${isSelected- ? "ring-2 ring-white/90 border-white/40 shadow-md shadow-black/50"- : "border-white/10 hover:border-white/30 hover:ring-1 ring-white/20"+ ? "ring-2 ring-foreground/80 border-border shadow-md shadow-black/50"+ : "border-border hover:border-muted-foreground/50 hover:ring-1 ring-foreground/20"}`}aria-label={item.filename}aria-pressed={isSelected}diff --git a/app/components/ui/editor/AudioFragmentTrackItem.tsx b/app/components/ui/editor/AudioFragmentTrackItem.tsxindex 70f92d9..24495d3 100644--- a/app/components/ui/editor/AudioFragmentTrackItem.tsx+++ b/app/components/ui/editor/AudioFragmentTrackItem.tsx@@ -204,14 +204,14 @@ export function AudioFragmentTrackItem({aria-valuenow={track.startTime}tabIndex={0}>- <div className={`w-1 h-6 rounded-full transition-all ${isResizing === 'start' ? 'bg-violet-300 scale-110' : 'bg-violet-400/60 group-hover/resize:bg-violet-300'}`} />+ <div className={`w-1 h-6 rounded-full transition-all ${isResizing === 'start' ? 'bg-violet-500 dark:bg-violet-300 scale-110' : 'bg-violet-600/50 group-hover/resize:bg-violet-500 dark:bg-violet-400/60 dark:group-hover/resize:bg-violet-300'}`} /></motion.div><div className="flex-1 flex flex-col items-center justify-center pointer-events-none overflow-hidden px-2">- <span className={`text-[11px] truncate ${isSelected || isInteracting ? 'text-violet-200' : 'text-violet-300/70'}`}>+ <span className={`text-[11px] truncate ${isSelected || isInteracting ? 'text-violet-700 dark:text-violet-200' : 'text-violet-700/70 dark:text-violet-300/70'}`}>Audio</span>- <span className={`text-[9px] truncate ${isSelected || isInteracting ? 'text-violet-300/70' : 'text-violet-400/45'}`}>+ <span className={`text-[9px] truncate ${isSelected || isInteracting ? 'text-violet-700/70 dark:text-violet-300/70' : 'text-violet-700/50 dark:text-violet-400/45'}`}>{(track.duration / speed).toFixed(1)}s</span></div>@@ -233,7 +233,7 @@ export function AudioFragmentTrackItem({aria-valuenow={track.startTime + track.duration}tabIndex={0}>- <div className={`w-1 h-6 rounded-full transition-all ${isResizing === 'end' ? 'bg-violet-300 scale-110' : 'bg-violet-400/60 group-hover/resize:bg-violet-300'}`} />+ <div className={`w-1 h-6 rounded-full transition-all ${isResizing === 'end' ? 'bg-violet-500 dark:bg-violet-300 scale-110' : 'bg-violet-600/50 group-hover/resize:bg-violet-500 dark:bg-violet-400/60 dark:group-hover/resize:bg-violet-300'}`} /></motion.div></motion.div>);diff --git a/app/components/ui/editor/AudioMenu.tsx b/app/components/ui/editor/AudioMenu.tsxindex 7a87664..02d84bc 100644--- a/app/components/ui/editor/AudioMenu.tsx+++ b/app/components/ui/editor/AudioMenu.tsx@@ -93,7 +93,7 @@ export function AudioMenu({return (<div className="p-4 flex flex-col gap-5">- <div className="flex items-center gap-2 text-white font-medium">+ <div className="flex items-center gap-2 text-foreground font-medium"><Icon icon="mdi:volume-high" width="20" aria-hidden="true" /><span>{t("title")}</span></div>@@ -109,11 +109,11 @@ export function AudioMenu({<Icon icon="solar:upload-minimalistic-outline" width="14" /><span>{t("uploadButton")}</span></Button>- <p className="text-xs text-white/40 mt-2 text-center">{t("uploadHint")}</p>+ <p className="text-xs text-muted-foreground/60 mt-2 text-center">{t("uploadHint")}</p></div><div className="flex flex-col gap-2">- <span className="text-xs font-medium text-white/70">{t("timelineTracks", { count: audioTracks.length })}</span>+ <span className="text-xs font-medium text-muted-foreground">{t("timelineTracks", { count: audioTracks.length })}</span>{audioTracks.length > 0 ? (<div className="flex flex-col gap-2">@@ -127,7 +127,7 @@ export function AudioMenu({if (el) trackRefs.current.set(track.id, el);else trackRefs.current.delete(track.id);}}- className={`bg-[#09090B] border squircle-element p-3 transition-all ${isSelected ? "border-blue-500/50 bg-blue-500/5" : "border-white/5 hover:border-white/10"+ className={`bg-muted border squircle-element p-3 transition-all ${isSelected ? "border-blue-500/50 bg-blue-500/5" : "border-border hover:border-muted-foreground/50"}`}onClick={() => onSelectAudioTrack(isSelected ? null : track.id)}role="button"@@ -142,9 +142,9 @@ export function AudioMenu({><div className="flex items-start justify-between gap-2"><div className="flex-1 min-w-0">- <div className="text-sm text-white font-medium truncate">{track.name}</div>+ <div className="text-sm text-foreground font-medium truncate">{track.name}</div>{exceedsVideoDuration && (- <div className="text-xs text-orange-400 flex items-center gap-1">+ <div className="text-xs text-orange-600 dark:text-orange-400 flex items-center gap-1"><Icon icon="mdi:alert" width="12" />{t("exceedsDuration")}</div>@@ -154,7 +154,7 @@ export function AudioMenu({<TooltipAction label={t("trimAction")}><buttononClick={(e) => { e.stopPropagation(); setTrimModalTrack(track); setTrimModalOpen(true); }}- className="p-1.5 rounded text-white/40 hover:text-blue-400 hover:bg-blue-500/10 transition-all"+ className="p-1.5 rounded text-muted-foreground/60 hover:text-blue-600 dark:hover:text-blue-400 hover:bg-blue-500/10 transition-all"><Icon icon="mdi:content-cut" width="16" /></button>@@ -166,7 +166,7 @@ export function AudioMenu({onDeleteAudioTrack(track.id);if (selectedAudioTrackId === track.id) onSelectAudioTrack(null);}}- className="p-1.5 rounded text-white/40 hover:text-red-400 hover:bg-red-500/10 transition-all"+ className="p-1.5 rounded text-muted-foreground/60 hover:text-red-600 dark:hover:text-red-400 hover:bg-red-500/10 transition-all"><Icon icon="material-symbols:delete-outline-rounded" width="16" /></button>@@ -181,7 +181,7 @@ export function AudioMenu({})}</div>) : (- <div className="text-center py-6 px-4 text-white/40 rounded-md border border-dashed border-white/10" role="status">+ <div className="text-center py-6 px-4 text-muted-foreground/60 rounded-md border border-dashed border-border" role="status"><Icon icon="mdi:music-note-off" width="32" className="mx-auto mb-2 opacity-30" aria-hidden="true" /><p className="text-xs">{t("noTracks")}</p><p className="text-[10px] mt-1">{t("noTracksHint")}</p>@@ -190,7 +190,7 @@ export function AudioMenu({</div><div className="flex flex-col gap-3">- <div className="text-xs font-medium text-white/70 uppercase">{t("defaultSounds")}</div>+ <div className="text-xs font-medium text-muted-foreground uppercase">{t("defaultSounds")}</div><SoundLibrary categories={SOUND_CATEGORIES} renderingSound={renderingSound} onAdd={handleAddDefaultSound} /></div>diff --git a/app/components/ui/editor/AudioTrimModal.tsx b/app/components/ui/editor/AudioTrimModal.tsxindex 424ed16..d690274 100644--- a/app/components/ui/editor/AudioTrimModal.tsx+++ b/app/components/ui/editor/AudioTrimModal.tsx@@ -273,7 +273,7 @@ export function AudioTrimModal({animate={{ scale: 1, opacity: 1 }}exit={{ scale: 0.95, opacity: 0 }}transition={{ duration: 0.2 }}- className="p-8 bg-[#09090B] border border-white/20 rounded-2xl shadow-[0_0_80px_-15px_rgba(0,0,0,1)] w-full max-w-2xl mx-4"+ className="p-8 bg-popover dark:bg-black border border-border rounded-2xl shadow-[0_0_80px_-15px_rgba(0,0,0,1)] w-full max-w-2xl mx-4"><div className="flex items-start justify-between mb-6"><div className="flex items-center gap-3">@@ -281,29 +281,29 @@ export function AudioTrimModal({<Icon icon="mdi:content-cut" className="text-blue-400" width="24" aria-hidden="true" /></div><div>- <h2 id="audio-trim-title" className="text-xl font-bold text-white">+ <h2 id="audio-trim-title" className="text-xl font-bold text-foreground">{t("title")}</h2>- <p className="text-sm text-white/60 mt-0.5">+ <p className="text-sm text-muted-foreground mt-0.5">{t("subtitle")}</p></div></div><buttononClick={handleCancel}- className="p-2 rounded-lg text-white/40 hover:text-white hover:bg-white/5 transition-colors"+ className="p-2 rounded-lg text-muted-foreground hover:text-foreground hover:bg-muted transition-colors"aria-label="Close"><Icon icon="lucide:x" width="20" aria-hidden="true" /></button></div>- <div className="mb-6 p-4 bg-white/5 border border-white/10 squircle-element-camera">+ <div className="mb-6 p-4 bg-muted/40 border border-border squircle-element-camera"><div className="flex items-center justify-between">- <div className="flex items-center gap-2 text-sm text-white/70">+ <div className="flex items-center gap-2 text-sm text-muted-foreground"><Icon icon="mdi:music-note" width="16" aria-hidden="true" />- <span className="font-medium text-white">{audioName}</span>+ <span className="font-medium text-foreground">{audioName}</span></div>- <span className="text-xs text-white/40">+ <span className="text-xs text-muted-foreground">{t("totalDuration")} {formatTime(audioDuration)}</span></div>@@ -311,12 +311,12 @@ export function AudioTrimModal({<div className="mb-8"><divref={trackRef}- className="relative h-24 bg-[#141417] border border-white/10 select-none mb-4"+ className="relative h-24 bg-muted border border-border select-none mb-4"><div className="absolute inset-0 flex items-center pointer-events-none"><div className="flex items-end gap-0.5 h-full w-full px-2 pb-2 pt-2">{waveformHeights.map((height, i) => (- <div key={i} className="flex-1 bg-white/10 rounded-full" style={{ height: `${height}%` }} />+ <div key={i} className="flex-1 bg-foreground/15 rounded-full" style={{ height: `${height}%` }} />))}</div></div>@@ -402,19 +402,19 @@ export function AudioTrimModal({</motion.div></div><div className="flex items-center justify-between gap-4">- <div className="flex-1 p-3 bg-[#141417] border border-white/10 rounded-lg">- <div className="text-xs text-white/40 mb-1">{t("start")}</div>- <div className="text-lg font-mono text-white">{formatTime(trimStart)}</div>+ <div className="flex-1 p-3 bg-muted/50 border border-border rounded-lg">+ <div className="text-xs text-muted-foreground mb-1">{t("start")}</div>+ <div className="text-lg font-mono text-foreground">{formatTime(trimStart)}</div></div>- <Icon icon="mdi:arrow-right" width="20" className="text-white/40 shrink-0" aria-hidden="true" />- <div className="flex-1 p-3 bg-[#141417] border border-white/10 rounded-lg">- <div className="text-xs text-white/40 mb-1">{t("end")}</div>- <div className="text-lg font-mono text-white">{formatTime(trimEnd)}</div>+ <Icon icon="mdi:arrow-right" width="20" className="text-muted-foreground shrink-0" aria-hidden="true" />+ <div className="flex-1 p-3 bg-muted/50 border border-border rounded-lg">+ <div className="text-xs text-muted-foreground mb-1">{t("end")}</div>+ <div className="text-lg font-mono text-foreground">{formatTime(trimEnd)}</div></div>- <Icon icon="mdi:equal" width="20" className="text-white/40 shrink-0" aria-hidden="true" />+ <Icon icon="mdi:equal" width="20" className="text-muted-foreground shrink-0" aria-hidden="true" /><div className="flex-1 p-3 bg-blue-500/10 border border-blue-500/20 rounded-lg">- <div className="text-xs text-blue-400/60 mb-1">{t("duration")}</div>- <div className="text-lg font-mono text-blue-400 font-semibold">{formatTime(trimmedDuration)}</div>+ <div className="text-xs text-blue-600/60 dark:text-blue-400/60 mb-1">{t("duration")}</div>+ <div className="text-lg font-mono text-blue-600 dark:text-blue-400 font-semibold">{formatTime(trimmedDuration)}</div></div></div></div>@@ -422,7 +422,7 @@ export function AudioTrimModal({<Buttonvariant="outline"onClick={handleCancel}- className="flex-1 h-11 bg-transparent border-white/10 hover:bg-white/5 text-white/70 hover:text-white"+ className="flex-1 h-11 bg-transparent border-border hover:bg-muted text-muted-foreground hover:text-foreground">{t("cancel")}</Button>diff --git a/app/components/ui/editor/CameraMenu.tsx b/app/components/ui/editor/CameraMenu.tsxindex 0899618..3c43601 100644--- a/app/components/ui/editor/CameraMenu.tsx+++ b/app/components/ui/editor/CameraMenu.tsx@@ -31,14 +31,14 @@ export function CameraMenu({ cameraUrl, cameraConfig, onCameraConfigChange }: Prif (!cameraUrl || !cameraConfig) {return (<div className="p-4 flex flex-col gap-5 text-sm">- <div className="flex items-center gap-2 text-white font-medium">+ <div className="flex items-center gap-2 text-foreground font-medium"><Icon icon="solar:videocamera-record-bold" width="20" aria-hidden="true" /><span>{t("title")}</span></div>- <div className="flex flex-col items-center gap-3 text-neutral-400 bg-[#09090B] border border-dashed border-white/10 squircle-element p-8 text-center" role="status">- <Icon icon="solar:videocamera-record-broken" className="size-8 text-neutral-500" aria-hidden="true" />+ <div className="flex flex-col items-center gap-3 text-muted-foreground bg-muted border border-dashed border-border squircle-element p-8 text-center" role="status">+ <Icon icon="solar:videocamera-record-broken" className="size-8 text-muted-foreground" aria-hidden="true" /><p className="text-sm font-medium">{t("noCamera.title")}</p>- <p className="text-xs text-neutral-500 max-w-52">+ <p className="text-xs text-muted-foreground max-w-52">{t("noCamera.description")}</p></div>@@ -48,14 +48,14 @@ export function CameraMenu({ cameraUrl, cameraConfig, onCameraConfigChange }: Prreturn (<div className="p-4 flex flex-col gap-5 text-sm">- <div className="flex items-center gap-2 text-white font-medium">+ <div className="flex items-center gap-2 text-foreground font-medium"><Icon icon="solar:videocamera-record-bold" width="20" aria-hidden="true" /><span>{t("title")}</span></div><div className={`${cameraConfig.enabled ? "" : "opacity-50 pointer-events-none"} flex flex-col gap-5`}><fieldset>- <legend className="text-[11px] uppercase tracking-widest text-white/70 font-bold mb-2">+ <legend className="text-[11px] uppercase tracking-widest text-muted-foreground font-bold mb-2">{t("shape")}</legend><div className="grid grid-cols-3 gap-2">@@ -67,8 +67,8 @@ export function CameraMenu({ cameraUrl, cameraConfig, onCameraConfigChange }: PronClick={() => onCameraConfigChange({ shape: shape.id as CameraShape })}className={`flex flex-col items-center gap-1 px-2 py-2.5 squircle-element border text-[11px] transition-all ${active- ? "border-[#00A3FF] bg-[#00A3FF]/10 text-white"- : "border-white/10 bg-white/5 text-neutral-400 hover:bg-white/10"+ ? "border-[#00A3FF] bg-[#00A3FF]/10 text-foreground"+ : "border-border bg-muted text-muted-foreground hover:bg-muted"}`}aria-label={`${t(`shapes.${shape.id}`)} shape`}aria-pressed={active}@@ -82,7 +82,7 @@ export function CameraMenu({ cameraUrl, cameraConfig, onCameraConfigChange }: Pr</fieldset><fieldset>- <legend className="text-[11px] uppercase tracking-widest text-white/70 font-bold mb-2">+ <legend className="text-[11px] uppercase tracking-widest text-muted-foreground font-bold mb-2">{t("position")}</legend><div className="grid grid-cols-2 gap-2">@@ -99,14 +99,14 @@ export function CameraMenu({ cameraUrl, cameraConfig, onCameraConfigChange }: Pr}className={`relative flex items-center justify-center gap-2 aspect-2/1 rounded-md border text-[11px] transition-all ${active- ? "border-[#00A3FF] bg-[#00A3FF]/10 text-white"- : "border-white/10 bg-white/5 text-neutral-400 hover:bg-white/10"+ ? "border-[#00A3FF] bg-[#00A3FF]/10 text-foreground"+ : "border-border bg-muted text-muted-foreground hover:bg-muted"}`}aria-label={`${t(`corners.${c.id}`)} position`}aria-pressed={active}><span- className={`absolute size-2 rounded-full ${active ? "bg-[#00A3FF]" : "bg-neutral-500"}`}+ className={`absolute size-2 rounded-full ${active ? "bg-[#00A3FF]" : "bg-muted-foreground"}`}style={{left: c.id.includes("left") ? "12%" : "auto",right: c.id.includes("right") ? "12%" : "auto",@@ -120,7 +120,7 @@ export function CameraMenu({ cameraUrl, cameraConfig, onCameraConfigChange }: Pr})}</div>{cameraConfig.corner === "custom" && (- <div className="mt-2 text-[11px] text-neutral-500 flex items-center gap-1.5" role="status">+ <div className="mt-2 text-[11px] text-muted-foreground flex items-center gap-1.5" role="status"><Icon icon="solar:hand-move-bold" className="size-3.5" aria-hidden="true" />{t("customPosition")}</div>@@ -138,10 +138,10 @@ export function CameraMenu({ cameraUrl, cameraConfig, onCameraConfigChange }: Pr/></div>- <label className="flex items-center justify-between squircle-element-camera border border-white/10 bg-white/3 px-3 py-2.5 cursor-pointer">+ <label className="flex items-center justify-between squircle-element-camera border border-border bg-muted/50 px-3 py-2.5 cursor-pointer"><div className="flex items-center gap-2.5">- <Icon icon="solar:reflection-horisontal-bold" className="size-4 text-neutral-400" />- <span className="text-sm text-neutral-200">{t("mirror")}</span>+ <Icon icon="solar:reflection-horisontal-bold" className="size-4 text-muted-foreground" />+ <span className="text-sm text-foreground">{t("mirror")}</span></div><Toggle checked={cameraConfig.mirror} onChange={(v) => onCameraConfigChange({ mirror: v })} /></label>diff --git a/app/components/ui/editor/CanvasElementsLayer.tsx b/app/components/ui/editor/CanvasElementsLayer.tsxindex f538ca4..96d2015 100644--- a/app/components/ui/editor/CanvasElementsLayer.tsx+++ b/app/components/ui/editor/CanvasElementsLayer.tsx@@ -360,7 +360,7 @@ export function CanvasElementsLayer({const selectionBorder = (isSelected || isHovered) ? (<div- className={`absolute inset-0 border pointer-events-none ${isSelected ? 'border-blue-500' : 'border-white/50'}`}+ className={`absolute inset-0 border pointer-events-none ${isSelected ? 'border-blue-500' : 'border-foreground/40'}`}style={{ borderRadius: '2px' }}aria-hidden="true"/>diff --git a/app/components/ui/editor/ContextMenu.tsx b/app/components/ui/editor/ContextMenu.tsxindex 7c3116c..869fefe 100644--- a/app/components/ui/editor/ContextMenu.tsx+++ b/app/components/ui/editor/ContextMenu.tsx@@ -34,7 +34,7 @@ export default function ContextMenu({<divref={menuRef}data-ctx-menu- className="fixed z-9999 bg-black border border-white/15 squircle-element-camera shadow-2xl py-1 min-w-43 overflow-hidden"+ className="fixed z-9999 bg-popover dark:bg-black border border-border squircle-element-camera shadow-2xl py-1 min-w-43 overflow-hidden"style={{ left: pos.x, top: pos.y }}>{!isMulti && (@@ -55,7 +55,7 @@ export default function ContextMenu({onClose();}}/>- <div className="my-1 h-px bg-white/6" />+<div className="my-1 h-px bg-border" /><CtxMenuItemicon="solar:trash-bin-trash-bold"label="Eliminar capa"@@ -90,7 +90,7 @@ export default function ContextMenu({}}/>)}- {(canGroup || canUngroup) && <div className="my-1 h-px bg-white/6" />}+ {(canGroup || canUngroup) && <div className="my-1 h-px bg-border" />}<CtxMenuItemicon="solar:trash-bin-trash-bold"label={`Eliminar ${selectedIds.length} capas`}diff --git a/app/components/ui/editor/ControlPanel.tsx b/app/components/ui/editor/ControlPanel.tsxindex 98b161d..2a47e56 100644--- a/app/components/ui/editor/ControlPanel.tsx+++ b/app/components/ui/editor/ControlPanel.tsx@@ -134,8 +134,8 @@ export function ControlPanel({const hasMockup2D = mediaType === "video" && !imagePhoneActive;return (- <div className="relative w-full sm:w-[320px] h-screen bg-[#141417] flex flex-col shrink-0" role="complementary" aria-label="Control panel">- <header className="relative flex items-center justify-between h-13 p-2 shrink-0 bg-transparent isolation-isolate" role="banner">+ <div className="relative w-full sm:w-[320px] h-screen bg-background flex flex-col shrink-0" role="complementary" aria-label="Control panel">+ <header className="relative flex items-center justify-between h-13 p-2 border-r shrink-0 bg-transparent isolation-isolate" role="banner"><divclassName="absolute inset-0 z-0 bg-[url('/images/pages/header-gradient2.avif')] bg-cover bg-center bg-no-repeat pointer-events-none opacity-90"style={{@@ -166,7 +166,7 @@ export function ControlPanel({<TooltipAction label={t("header.close")} side="right"><motion.buttononClick={onTogglePanel}- className="relative p-2 rounded-lg text-white/70 hover:text-white hover:bg-white/5 transition-all duration-200 z-10"+ className="relative p-2 rounded-lg text-muted-foreground hover:text-foreground hover:bg-muted transition-all duration-200 z-10"whileHover={{ scale: 1.1 }}whileTap={{ scale: 0.9 }}aria-label={t("header.close")}@@ -180,15 +180,15 @@ export function ControlPanel({</motion.button></TooltipAction></header>- <div className="flex-1 overflow-y-auto custom-scrollbar">+ <div className="flex-1 overflow-y-auto custom-scrollbar border-r">{activeTool === "screenshot" && (<><div className="p-4">- <div className="flex items-center gap-2 text-white font-medium mb-4">+ <div className="flex items-center gap-2 text-foreground font-medium mb-4"><Icon icon="solar:gallery-wide-linear" width="20" /><span>{t("screenshot.background")}</span></div>- <div className="flex bg-[#09090B] rounded-lg p-1 text-xs font-medium">+ <div className="flex bg-muted rounded-lg p-1 text-xs font-medium"><TabButton label={t("screenshot.tabs.wallpaper")} isActive={backgroundTab === "wallpaper"} onClick={() => onBackgroundTabChange("wallpaper")} /><TabButton label={t("screenshot.tabs.color")} isActive={backgroundTab === "color"} onClick={() => onBackgroundTabChange("color")} /></div>@@ -199,7 +199,7 @@ export function ControlPanel({<Suspense fallback={<WallpaperSkeleton />}><div className="flex flex-col gap-5"><div>- <div className="text-[11px] uppercase tracking-widest text-white/70 font-bold mb-2 flex items-center gap-1.5">+ <div className="text-[11px] uppercase tracking-widest text-muted-foreground font-bold mb-2 flex items-center gap-1.5"><span>{t("screenshot.options")}</span></div><OptionsGrid@@ -236,7 +236,7 @@ export function ControlPanel({)}<div className="flex flex-col gap-4 mt-2">- <div className="text-[11px] uppercase tracking-widest text-white/70 font-bold flex items-center gap-1.5">+ <div className="text-[11px] uppercase tracking-widest text-muted-foreground font-bold flex items-center gap-1.5"><span>{t("screenshot.settings")}</span></div>diff --git a/app/components/ui/editor/EditorHoverTooltip.tsx b/app/components/ui/editor/EditorHoverTooltip.tsxindex 68a2467..56f32ad 100644--- a/app/components/ui/editor/EditorHoverTooltip.tsx+++ b/app/components/ui/editor/EditorHoverTooltip.tsx@@ -12,34 +12,34 @@ export function EditorHoverTooltip({ show }: EditorHoverTooltipProps) {return (<div className="flex items-center justify-center pointer-events-none animate-in fade-in zoom-in-95 duration-200">- <div className="flex items-center gap-4 px-4 py-2 w-fit h-auto bg-[#0A0A0A]/90 backdrop-blur-md rounded-full border border-white/30 shadow-2xl">- <span className="text-[11px] text-white/70 font-medium tracking-tight whitespace-nowrap">+ <div className="flex items-center gap-4 px-4 py-2 w-fit h-auto bg-popover/95 dark:bg-black/95 backdrop-blur-md rounded-full border border-border shadow-2xl">+ <span className="text-[11px] text-popover-foreground/70 font-medium tracking-tight whitespace-nowrap">{t("zoom")}</span><div className="flex items-center gap-3 shrink-0"><div className="flex items-center gap-1">- <kbd className="h-5 px-1.5 flex items-center justify-center bg-[#171717] rounded border border-white/30 text-[9px] text-white font-mono">+ <kbd className="h-5 px-1.5 flex items-center justify-center bg-muted rounded border border-border text-[9px] text-foreground font-mono">{t("ctrl")}</kbd>- <span className="text-white/70 text-[11px]">+</span>- <kbd className="h-5 px-1.5 flex items-center justify-center bg-[#171717] rounded border border-white/30 text-[9px] text-white font-mono">+ <span className="text-popover-foreground/70 text-[11px]">+</span>+ <kbd className="h-5 px-1.5 flex items-center justify-center bg-muted rounded border border-border text-[9px] text-foreground font-mono">{t("scroll")}</kbd></div></div>- <div className="w-px h-4 bg-white/30 shrink-0" />+ <div className="w-px h-4 bg-border shrink-0" /><div className="flex items-center gap-3 shrink-0">- <span className="text-[11px] text-white/70 font-medium tracking-tight whitespace-nowrap">+ <span className="text-[11px] text-popover-foreground/70 font-medium tracking-tight whitespace-nowrap">{t("paste")}</span><div className="flex items-center gap-1">- <kbd className="h-5 px-1.5 flex items-center justify-center bg-[#171717] rounded border border-white/30 text-[9px] text-white font-mono">+ <kbd className="h-5 px-1.5 flex items-center justify-center bg-muted rounded border border-border text-[9px] text-foreground font-mono">{t("ctrl")}</kbd>- <span className="text-white/70 text-[11px]">+</span>- <kbd className="w-5 h-5 flex items-center justify-center bg-[#171717] rounded border border-white/30 text-[9px] text-white font-mono">+ <span className="text-popover-foreground/70 text-[11px]">+</span>+ <kbd className="w-5 h-5 flex items-center justify-center bg-muted rounded border border-border text-[9px] text-foreground font-mono">{t("keyV")}</kbd></div>diff --git a/app/components/ui/editor/EditorTopBar.tsx b/app/components/ui/editor/EditorTopBar.tsxindex a7bf9e5..4e89b37 100644--- a/app/components/ui/editor/EditorTopBar.tsx+++ b/app/components/ui/editor/EditorTopBar.tsx@@ -10,10 +10,10 @@ import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";import { useEffect, useState } from "react";import { useAuth } from "@/app/contexts/useAuth";import { useTranslations } from "next-intl";-import * as DropdownMenu from "@radix-ui/react-dropdown-menu";import Image from "next/image";import Link from "next/link";import { TooltipAction } from "@/components/ui/tooltip-action";+import { UserMenuDropdown } from "@/app/components/common/UserMenuDropdown";interface ImageExportProgress {status: "idle" | "preparing" | "rendering" | "complete" | "error";@@ -55,19 +55,7 @@ export function EditorTopBar({const t = useTranslations("editor.topBar");const [showAlert, setShowAlert] = useState(false);const [prevStatus, setPrevStatus] = useState<string>(exportProgress.status);- const { user, profile, signOut, loading } = useAuth();- const [isLoggingOut, setIsLoggingOut] = useState(false);-- const handleSignOut = async () => {- setIsLoggingOut(true);- try {- await signOut();- window.location.href = "/";- } catch (error) {- console.error("Error signing out:", error);- setIsLoggingOut(false);- }- };+ const { user, profile, loading } = useAuth();const meta = user?.user_metadata || {};const displayName =@@ -84,8 +72,6 @@ export function EditorTopBar({meta.picture ||`https://api.dicebear.com/7.x/initials/svg?seed=${displayName}`;- const provider = profile?.provider || meta.provider || "email";-if (exportProgress.status !== prevStatus) {setPrevStatus(exportProgress.status);if (exportProgress.status === "error") {@@ -105,7 +91,7 @@ export function EditorTopBar({}, [showAlert]);return (- <div className="h-13 border-b border-white/10 flex items-center justify-between px-3 shrink-0 relative">+ <div className="h-13 border-b border-border flex items-center justify-between px-3 shrink-0 relative">{showAlert && (<div className="fixed top-6 left-1/2 -translate-x-1/2 w-full max-w-md z-200 px-4 animate-in fade-in zoom-in slide-in-from-top-4 duration-300"><Alert variant="info" className="relative border-red-500/50 bg-red-950/95 backdrop-blur-lg shadow-2xl overflow-hidden">@@ -133,12 +119,12 @@ export function EditorTopBar({<div className="flex-1"></div><div className="flex items-center ml-auto">- <div className="flex items-center gap-2 border-r border-white/10 pr-3">+ <div className="flex items-center gap-2 border-r border-border pr-3"><TooltipAction label={canUndo ? t("history.undo") : t("history.noUndo")}><buttononClick={() => onUndo?.()}disabled={!canUndo}- className={`transition-colors ${canUndo ? "hover:text-white text-white/70" : "opacity-30 cursor-not-allowed text-white/30"+ className={`transition-colors ${canUndo ? "hover:text-foreground text-muted-foreground" : "opacity-40 cursor-not-allowed text-muted-foreground/50"}`}><Icon icon="mdi:undo" width="20" />@@ -148,7 +134,7 @@ export function EditorTopBar({<buttononClick={() => onRedo?.()}disabled={!canRedo}- className={`transition-colors ${canRedo ? "hover:text-white text-white/70" : "opacity-30 cursor-not-allowed text-white/70"+ className={`transition-colors ${canRedo ? "hover:text-foreground text-muted-foreground" : "opacity-40 cursor-not-allowed text-muted-foreground/50"}`}><Icon icon="mdi:redo" width="20" />@@ -157,78 +143,34 @@ export function EditorTopBar({</div>{loading ? (- <div className="flex items-center gap-2 pl-3 border-l border-white/10 ml-1">+ <div className="flex items-center gap-2 pl-3 border-l border-border ml-1"><div className="hidden sm:flex flex-col items-end gap-1.5">- <div className="w-16 h-2.5 bg-white/10 rounded-sm animate-pulse"></div>- <div className="w-24 h-2 bg-white/10 rounded-sm animate-pulse"></div>+ <div className="w-16 h-2.5 bg-muted rounded-sm animate-pulse"></div>+ <div className="w-24 h-2 bg-muted rounded-sm animate-pulse"></div></div>- <div className="h-8 w-8 rounded-full bg-white/10 animate-pulse border border-white/10 shrink-0"></div>+ <div className="h-8 w-8 rounded-full bg-muted animate-pulse border border-border shrink-0"></div></div>) : !user ? (<div className="pr-2 flex items-center h-8">- <Link href="/login" className="text-sm font-medium text-white/80 hover:text-white transition-colors">+ <Link href="/login" className="text-sm font-medium text-foreground/80 hover:text-foreground transition-colors">{t("auth.access")}</Link></div>) : (- <DropdownMenu.Root>- <DropdownMenu.Trigger asChild>+ <UserMenuDropdown+ showTheme+ trigger={<button- className="flex items-center gap-1.5 px-2 border-white/10 hover:opacity-80 transition-opacity focus:outline-none"+ className="flex items-center gap-1.5 px-2 border-border hover:opacity-80 transition-opacity focus:outline-none"aria-label={t("auth.userMenu")}>- <div className="h-8 w-8 rounded-full border border-white/10 bg-neutral-900 overflow-hidden shrink-0 relative">+ <div className="h-8 w-8 rounded-full border border-border bg-muted overflow-hidden shrink-0 relative"><Image src={avatarUrl} alt={displayName} fill sizes="32px" className="object-cover" unoptimized /></div>- <Icon icon="mdi:chevron-down" width="16" className="text-white/70" />+ <Icon icon="mdi:chevron-down" width="16" className="text-muted-foreground" /></button>- </DropdownMenu.Trigger>-- <DropdownMenu.Portal>- <DropdownMenu.Content- className="min-w-55 bg-black border border-white/25 rounded-lg shadow-xl p-1 z-9999"- sideOffset={5}- align="end"- >- <div className="px-3 py-2 border-b border-white/10">- <p className="text-sm font-medium text-white truncate">{displayName}</p>- <p className="text-xs text-neutral-400 truncate">{user.email}</p>- <p className="text-xs text-neutral-500 mt-1 capitalize">- {t("auth.connectedWith", { provider })}- </p>- </div>- <DropdownMenu.Item asChild>- <Link- href="/"- className="flex items-center gap-3 px-3 py-2 text-sm text-neutral-300 hover:text-white hover:bg-white/5 rounded-lg transition-colors cursor-pointer outline-none"- >- <Icon icon="hugeicons:home-11" className="size-4" />- {t("auth.home")}- </Link>- </DropdownMenu.Item>- <DropdownMenu.Item asChild>- <Link- href="/editor"- className="flex items-center gap-3 px-3 py-2 text-sm text-neutral-300 hover:text-white hover:bg-white/5 rounded-lg transition-colors cursor-pointer outline-none"- >- <Icon icon="solar:video-frame-cut-2-linear" className="size-4" />- {t("auth.editor")}- </Link>- </DropdownMenu.Item>- <DropdownMenu.Separator className="h-px bg-white/10 my-1" />- <DropdownMenu.Item asChild>- <button- onClick={handleSignOut}- disabled={isLoggingOut}- className="w-full flex items-center gap-3 px-3 py-2 text-sm text-red-400 hover:text-red-300 hover:bg-red-500/10 rounded-lg transition-colors cursor-pointer outline-none disabled:opacity-50 disabled:cursor-not-allowed"- >- <Icon icon="solar:logout-2-linear" className="size-4" />- {isLoggingOut ? t("auth.signingOut") : t("auth.signOut")}- </button>- </DropdownMenu.Item>- </DropdownMenu.Content>- </DropdownMenu.Portal>- </DropdownMenu.Root>+ }+ />)}{isPhotoMode && onImageExport && imageExportProgress ? (diff --git a/app/components/ui/editor/ElementFragmentTrackItem.tsx b/app/components/ui/editor/ElementFragmentTrackItem.tsxindex cbaa592..68267b0 100644--- a/app/components/ui/editor/ElementFragmentTrackItem.tsx+++ b/app/components/ui/editor/ElementFragmentTrackItem.tsx@@ -165,7 +165,7 @@ export function ElementFragmentTrackItem({onDragEnd={commitResize}onClick={(e) => e.stopPropagation()}>- <div className={`w-1 h-4 rounded-full ${isResizing === "start" ? "bg-white/80" : "bg-white/40"}`} />+ <div className={`w-1 h-4 rounded-full ${isResizing === "start" ? "bg-foreground/80" : "bg-foreground/40"}`} /></motion.div><div className="flex-1 flex items-center justify-center gap-1.5 pointer-events-none overflow-hidden px-3 w-full h-full">@@ -192,7 +192,7 @@ export function ElementFragmentTrackItem({onDragEnd={commitResize}onClick={(e) => e.stopPropagation()}>- <div className={`w-1 h-4 rounded-full ${isResizing === "end" ? "bg-white/80" : "bg-white/40"}`} />+ <div className={`w-1 h-4 rounded-full ${isResizing === "end" ? "bg-foreground/80" : "bg-foreground/40"}`} /></motion.div></motion.div>);diff --git a/app/components/ui/editor/ElementsMenu.tsx b/app/components/ui/editor/ElementsMenu.tsxindex f41c39f..7a84b98 100644--- a/app/components/ui/editor/ElementsMenu.tsx+++ b/app/components/ui/editor/ElementsMenu.tsx@@ -218,7 +218,7 @@ export function ElementsMenu({return (<div className="p-4 flex flex-col gap-5">- <div className="flex items-center gap-2 text-white font-medium">+ <div className="flex items-center gap-2 text-foreground font-medium"><ElementsIconwidth={20}height={20}@@ -228,12 +228,12 @@ export function ElementsMenu({<span>{t("title")}</span></div>- <div className="grid grid-cols-2 bg-[#09090B] squircle-element p-1 text-xs font-medium border border-white/5" role="tablist" aria-label={t("title")}>- <button className={`flex justify-center items-center gap-1.5 py-1.5 rounded transition ${mode === "elements" ? "bg-white/10 text-white" : "text-white/60 hover:text-white/80"}`} onClick={() => setMode("elements")} role="tab" aria-selected={mode === "elements"} aria-controls="elements-panel">+ <div className="grid grid-cols-2 bg-muted squircle-element p-1 text-xs font-medium border border-border" role="tablist" aria-label={t("title")}>+ <button className={`flex justify-center items-center gap-1.5 py-1.5 rounded transition ${mode === "elements" ? "bg-background text-foreground shadow-xs" : "text-muted-foreground hover:text-foreground/80"}`} onClick={() => setMode("elements")} role="tab" aria-selected={mode === "elements"} aria-controls="elements-panel"><Icon icon="iconoir:hexagon" width="14" aria-hidden="true" />{t("tabs.elements")}</button>- <button className={`flex justify-center items-center gap-1.5 py-1.5 rounded transition ${mode === "text" ? "bg-white/10 text-white" : "text-white/60 hover:text-white/80"}`} onClick={() => setMode("text")} role="tab" aria-selected={mode === "text"} aria-controls="text-panel">+ <button className={`flex justify-center items-center gap-1.5 py-1.5 rounded transition ${mode === "text" ? "bg-background text-foreground shadow-xs" : "text-muted-foreground hover:text-foreground/80"}`} onClick={() => setMode("text")} role="tab" aria-selected={mode === "text"} aria-controls="text-panel"><Icon icon="iconoir:text-size" width="14" aria-hidden="true" />{t("tabs.text")}</button>@@ -243,18 +243,18 @@ export function ElementsMenu({<div className="flex flex-col gap-5 animate-in fade-in duration-150" role="tabpanel" id="elements-panel"><div className="space-y-2">- <div className="text-[11px] uppercase tracking-widest text-white/70 font-semibold">{t("sections.shapes")}</div>+ <div className="text-[11px] uppercase tracking-widest text-muted-foreground font-semibold">{t("sections.shapes")}</div><div className="grid grid-cols-6 gap-2">{PINNED_SVG_ITEMS.map((item) => (<TooltipAction label={item.name} key={item.id}>- <button onClick={() => handleAddSvg(item)} className="aspect-square bg-white/3 hover:bg-white/8 border border-white/[0.07] hover:border-white/20 squircle-element flex items-center justify-center transition-all active:scale-90 group" aria-label={`Add ${item.name}`}>+ <button onClick={() => handleAddSvg(item)} className="aspect-square bg-muted/50 hover:bg-muted border border-border hover:border-muted-foreground/50 squircle-element flex items-center justify-center transition-all active:scale-90 group" aria-label={`Add ${item.name}`}>{item.icon ? (- <Icon icon={item.icon} width="18" className="text-white/60 group-hover:text-white transition-colors" aria-hidden="true" />+ <Icon icon={item.icon} width="18" className="text-muted-foreground group-hover:text-foreground transition-colors" aria-hidden="true" />) : (() => {const SvgComponent = SVG_COMPONENTS[item.id];return SvgComponent- ? <SvgComponent color="currentColor" className="w-4 h-4 text-white/60 group-hover:text-white transition-colors" />- : <span className="text-[9px] text-white/40">{item.name}</span>;+ ? <SvgComponent color="currentColor" className="w-4 h-4 text-muted-foreground group-hover:text-foreground transition-colors" />+ : <span className="text-[9px] text-muted-foreground/60">{item.name}</span>;})()}</button></TooltipAction>@@ -263,36 +263,36 @@ export function ElementsMenu({<Popover><TooltipAction label={t("tooltips.allShapes")}><PopoverTrigger asChild>- <button className="aspect-square squircle-element border border-dashed border-white/30 bg-white/5 flex items-center justify-center hover:bg-white/10 transition group">- <Icon icon="ph:plus-bold" width="16" className="text-blue-400 group-hover:text-blue-300 transition-colors" />+ <button className="aspect-square squircle-element border border-dashed border-border bg-muted flex items-center justify-center hover:bg-muted transition group">+ <Icon icon="ph:plus-bold" width="16" className="text-blue-600 dark:text-blue-400 group-hover:text-blue-600 dark:group-hover:text-blue-300 transition-colors" /></button></PopoverTrigger></TooltipAction><PopoverContent side="right" align="start" sideOffset={12} className="w-120 p-0 border-0 shadow-2xl">- <div className="flex flex-col bg-[#111113] border border-white/10 squircle-element-camera overflow-hidden shadow-2xl max-h-125">- <div className="flex items-center gap-2 px-4 py-3 border-b border-white/10 bg-white/2 flex-wrap">- <button onClick={() => setSelectedSvgCategory("all")} className={`flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-[11px] font-medium uppercase tracking-wider transition-all ${selectedSvgCategory === "all" ? "bg-blue-500/20 text-blue-400 border border-blue-500/40" : "bg-white/5 text-white/60 hover:text-white/70 border border-transparent hover:border-white/10"}`}>+ <div className="flex flex-col bg-popover dark:bg-black border border-border squircle-element-camera overflow-hidden shadow-2xl max-h-125">+ <div className="flex items-center gap-2 px-4 py-3 border-b border-border bg-muted/40 flex-wrap">+ <button onClick={() => setSelectedSvgCategory("all")} className={`flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-[11px] font-medium uppercase tracking-wider transition-all ${selectedSvgCategory === "all" ? "bg-blue-500/20 text-blue-600 dark:text-blue-400 border border-blue-500/40" : "bg-muted text-muted-foreground hover:text-muted-foreground border border-transparent hover:border-border"}`}><Icon icon="ph:grid-four-bold" width="12" /><span>{t("filters.all")}</span></button>{SVG_CATEGORIES.map((cat) => (- <button key={cat.id} onClick={() => setSelectedSvgCategory(cat.id)} className={`flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-[11px] font-medium uppercase tracking-wider transition-all ${selectedSvgCategory === cat.id ? "bg-blue-500/20 text-blue-400 border border-blue-500/40" : "bg-white/5 text-white/60 hover:text-white/70 border border-transparent hover:border-white/10"}`}>+ <button key={cat.id} onClick={() => setSelectedSvgCategory(cat.id)} className={`flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-[11px] font-medium uppercase tracking-wider transition-all ${selectedSvgCategory === cat.id ? "bg-blue-500/20 text-blue-600 dark:text-blue-400 border border-blue-500/40" : "bg-muted text-muted-foreground hover:text-muted-foreground border border-transparent hover:border-border"}`}><span>{cat.title}</span></button>))}- <span className="ml-auto text-[11px] text-white/70">{t("counts.shapes", { count: filteredSvgItems.length })}</span>+ <span className="ml-auto text-[11px] text-muted-foreground">{t("counts.shapes", { count: filteredSvgItems.length })}</span></div><div className="p-3 grid grid-cols-6 gap-2 overflow-y-auto custom-scrollbar">{filteredSvgItems.map((item) => (<TooltipAction label={item.name} key={`${item.category}-${item.id}`}>- <button onClick={() => handleAddSvg(item, item.category)} className="aspect-square bg-white/3 hover:bg-white/8 border border-white/[0.07] hover:border-white/20 squircle-element flex items-center justify-center transition-all active:scale-90 group">+ <button onClick={() => handleAddSvg(item, item.category)} className="aspect-square bg-muted/50 hover:bg-muted border border-border hover:border-muted-foreground/50 squircle-element flex items-center justify-center transition-all active:scale-90 group">{item.icon ? (- <Icon icon={item.icon} width="18" className="text-white/60 group-hover:text-white transition-colors" />+ <Icon icon={item.icon} width="18" className="text-muted-foreground group-hover:text-foreground transition-colors" />) : (() => {const SvgComponent = SVG_COMPONENTS[item.id];return SvgComponent- ? <SvgComponent color="currentColor" className="w-4 h-4 text-white/60 scale-200 group-hover:text-white transition-colors" />- : <span className="text-[9px] text-white/40">{item.name}</span>;+ ? <SvgComponent color="currentColor" className="w-4 h-4 text-muted-foreground scale-200 group-hover:text-foreground transition-colors" />+ : <span className="text-[9px] text-muted-foreground/60">{item.name}</span>;})()}</button></TooltipAction>@@ -305,11 +305,11 @@ export function ElementsMenu({</div><div className="space-y-2">- <div className="text-[11px] uppercase tracking-widest text-white/70 font-semibold">{t("sections.images")}</div>+ <div className="text-[11px] uppercase tracking-widest text-muted-foreground font-semibold">{t("sections.images")}</div><div className="grid grid-cols-6 gap-1.5"><UploadImageButton onUpload={handleImageUpload} isUploading={isUploading} />{PINNED_IMAGE_ITEMS.map((item) => (- <button key={item.id} onClick={() => handleAddImage(item)} className="aspect-square bg-white/3 hover:bg-white/8 border border-white/[0.07] hover:border-white/20 squircle-element flex items-center justify-center transition-all active:scale-90 overflow-hidden group">+ <button key={item.id} onClick={() => handleAddImage(item)} className="aspect-square bg-muted/50 hover:bg-muted border border-border hover:border-muted-foreground/50 squircle-element flex items-center justify-center transition-all active:scale-90 overflow-hidden group"><ProgressiveImg src={getImagePreviewPath(item)} alt={item.name} className="w-full h-full object-cover group-hover:scale-110" /></button>))}@@ -319,31 +319,31 @@ export function ElementsMenu({<Popover><TooltipAction label={t("tooltips.allImages")}><PopoverTrigger asChild>- <button className="aspect-square squircle-element border border-dashed border-white/30 bg-white/5 flex items-center justify-center hover:bg-white/10 transition group">- <Icon icon="ph:plus-bold" width="16" className="text-blue-400 group-hover:text-blue-300 transition-colors" />+ <button className="aspect-square squircle-element border border-dashed border-border bg-muted flex items-center justify-center hover:bg-muted transition group">+ <Icon icon="ph:plus-bold" width="16" className="text-blue-600 dark:text-blue-400 group-hover:text-blue-600 dark:group-hover:text-blue-300 transition-colors" /></button></PopoverTrigger></TooltipAction><PopoverContent side="right" align="start" sideOffset={12} className="w-130 p-0 border-0 shadow-2xl">- <div className="flex flex-col bg-[#111113] border border-white/10 squircle-element-camera overflow-hidden shadow-2xl max-h-125">- <div className="flex items-center gap-2 px-4 py-3 border-b border-white/10 bg-white/2 flex-wrap">- <button onClick={() => setSelectedImageCategory("all")} className={`flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-[11px] font-medium uppercase tracking-wider transition-all ${selectedImageCategory === "all" ? "bg-blue-500/20 text-blue-400 border border-blue-500/40" : "bg-white/5 text-white/60 hover:text-white/70 border border-transparent hover:border-white/10"}`}>+ <div className="flex flex-col bg-popover dark:bg-black border border-border squircle-element-camera overflow-hidden shadow-2xl max-h-125">+ <div className="flex items-center gap-2 px-4 py-3 border-b border-border bg-muted/40 flex-wrap">+ <button onClick={() => setSelectedImageCategory("all")} className={`flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-[11px] font-medium uppercase tracking-wider transition-all ${selectedImageCategory === "all" ? "bg-blue-500/20 text-blue-600 dark:text-blue-400 border border-blue-500/40" : "bg-muted text-muted-foreground hover:text-muted-foreground border border-transparent hover:border-border"}`}><Icon icon="ph:grid-four-bold" width="12" /><span>{t("filters.all")}</span></button>{IMAGE_CATEGORIES.map((cat) => (- <button key={cat.id} onClick={() => setSelectedImageCategory(cat.id)} className={`flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-[11px] font-medium uppercase tracking-wider transition-all ${selectedImageCategory === cat.id ? "bg-blue-500/20 text-blue-400 border border-blue-500/40" : "bg-white/5 text-white/60 hover:text-white/70 border border-transparent hover:border-white/10"}`}>+ <button key={cat.id} onClick={() => setSelectedImageCategory(cat.id)} className={`flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-[11px] font-medium uppercase tracking-wider transition-all ${selectedImageCategory === cat.id ? "bg-blue-500/20 text-blue-600 dark:text-blue-400 border border-blue-500/40" : "bg-muted text-muted-foreground hover:text-muted-foreground border border-transparent hover:border-border"}`}><span>{cat.title}</span></button>))}- <span className="ml-auto text-[11px] text-white/70">{t("counts.images", { count: filteredImageItems.length })}</span>+ <span className="ml-auto text-[11px] text-muted-foreground">{t("counts.images", { count: filteredImageItems.length })}</span></div><div className="p-3 grid grid-cols-8 gap-2 overflow-y-auto custom-scrollbar">{filteredImageItems.map((item) => (<div key={`${item.category}-${item.id}`} className="w-full" style={{ paddingBottom: "100%", position: "relative" }}><buttononClick={() => handleAddImage(item, item.category)}- className="absolute inset-0 bg-white/3 hover:bg-white/8 border border-white/[0.07] hover:border-white/20 squircle-element transition-all active:scale-90 overflow-hidden group"+ className="absolute inset-0 bg-muted/50 hover:bg-muted border border-border hover:border-muted-foreground/50 squircle-element transition-all active:scale-90 overflow-hidden group"><ProgressiveImgsrc={getImagePreviewPath(item)}@@ -364,18 +364,18 @@ export function ElementsMenu({<>{selectedElement.type === "svg" && (<div className="space-y-2">- <div className="text-[11px] uppercase tracking-widest text-white/70 font-semibold">{t("properties.color")}</div>+ <div className="text-[11px] uppercase tracking-widest text-muted-foreground font-semibold">{t("properties.color")}</div><div className="flex gap-2"><div className="grid grid-cols-5 gap-2 flex-1">{PRESET_COLORS.map((color) => (<TooltipAction label={color} key={color}>- <button onClick={() => setShapeColor(color)} className={`aspect-square squircle-element cursor-pointer transition-all border border-white/20 ${shapeColor === color ? "ring-2 ring-white/90 border-white/40 shadow-md shadow-black/50" : "border-white/10 hover:border-white/30 hover:ring-1 ring-white/20"}`} style={{ backgroundColor: color }} />+ <button onClick={() => setShapeColor(color)} className={`aspect-square squircle-element cursor-pointer transition-all border border-border ${shapeColor === color ? "ring-2 ring-foreground/80 border-border shadow-md shadow-black/50" : "border-border hover:border-muted-foreground/50 hover:ring-1 ring-foreground/20"}`} style={{ backgroundColor: color }} /></TooltipAction>))}</div><label className="relative cursor-pointer"><input type="color" value={shapeColor} onChange={(e) => setShapeColor(e.target.value)} className="absolute inset-0 opacity-0 cursor-pointer" />- <div className="w-10 h-10 aspect-square squircle-element border border-dashed border-white/30 bg-white/5 flex items-center justify-center hover:bg-white/10 transition group" style={{ backgroundColor: shapeColor }}>+ <div className="w-10 h-10 aspect-square squircle-element border border-dashed border-border bg-muted flex items-center justify-center hover:bg-muted transition group" style={{ backgroundColor: shapeColor }}><Icon icon="mdi:eyedropper" width="18" className="text-white mix-blend-difference" /></div></label>@@ -394,17 +394,17 @@ export function ElementsMenu({{mode === "text" && (<div className="flex flex-col gap-5 animate-in fade-in duration-150"><div className="space-y-2">- <div className="text-[11px] uppercase tracking-widest text-white/70 font-semibold">{t("text.content")}</div>- <input type="text" value={textContent} onChange={(e) => setTextContent(e.target.value)} className="w-full bg-white/4 hover:bg-white/[0.07] transition border border-white/8 squircle-element px-3 py-2 text-sm text-white placeholder:text-white/30 outline-none focus:border-white/20" placeholder={t("text.placeholder")} />+ <div className="text-[11px] uppercase tracking-widest text-muted-foreground font-semibold">{t("text.content")}</div>+ <input type="text" value={textContent} onChange={(e) => setTextContent(e.target.value)} className="w-full bg-muted/60 hover:bg-muted/50 transition border border-border squircle-element px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground/40 outline-none focus:border-border" placeholder={t("text.placeholder")} /></div><div className="space-y-2">- <div className="text-[11px] uppercase tracking-widest text-white/70 font-semibold">{t("text.presets")}</div>+ <div className="text-[11px] uppercase tracking-widest text-muted-foreground font-semibold">{t("text.presets")}</div><div className="grid grid-cols-2 gap-2">{TEXT_PRESETS.map((p) => (- <button key={p.label} onClick={() => { setTextFontSize(p.fontSize); setTextFontWeight(p.weight); }} className="bg-white/3 hover:bg-white/[0.07] border border-white/[0.07] squircle-element px-3 py-2.5 text-left transition-all active:scale-[.98]">- <div className="text-[9px] text-white/40 font-semibold uppercase tracking-wider mb-1.5">{p.label}</div>- <div className="text-white leading-none truncate" style={{ fontSize: `${p.fontSize / 3}px`, fontWeight: p.weight }}>{p.sample}</div>+ <button key={p.label} onClick={() => { setTextFontSize(p.fontSize); setTextFontWeight(p.weight); }} className="bg-muted/50 hover:bg-muted/50 border border-border squircle-element px-3 py-2.5 text-left transition-all active:scale-[.98]">+ <div className="text-[9px] text-muted-foreground/60 font-semibold uppercase tracking-wider mb-1.5">{p.label}</div>+ <div className="text-foreground leading-none truncate" style={{ fontSize: `${p.fontSize / 3}px`, fontWeight: p.weight }}>{p.sample}</div></button>))}</div>@@ -412,22 +412,22 @@ export function ElementsMenu({<div className="flex flex-row justify-between gap-2 space-y-2"><div className="space-y-2">- <div className="text-[11px] uppercase tracking-widest text-white/70 font-semibold">{t("text.size")}</div>+ <div className="text-[11px] uppercase tracking-widest text-muted-foreground font-semibold">{t("text.size")}</div><div className="flex items-center gap-2">- <input type="number" value={textFontSize || ""} onChange={(e) => { const val = e.target.value; if (val === "") { setTextFontSize(0); return; } const num = parseInt(val, 10); if (!isNaN(num)) setTextFontSize(Math.min(200, num)); }} onBlur={() => setTextFontSize((prev) => Math.max(8, Math.min(200, prev || 32)))} className="flex-1 bg-white/4 hover:bg-white/[0.07] transition border border-white/8 squircle-element px-3 py-2 text-sm text-white outline-none focus:border-white/20" min={8} max={200} />- <span className="text-xs text-white/60 w-6">px</span>+ <input type="number" value={textFontSize || ""} onChange={(e) => { const val = e.target.value; if (val === "") { setTextFontSize(0); return; } const num = parseInt(val, 10); if (!isNaN(num)) setTextFontSize(Math.min(200, num)); }} onBlur={() => setTextFontSize((prev) => Math.max(8, Math.min(200, prev || 32)))} className="flex-1 bg-muted/60 hover:bg-muted/50 transition border border-border squircle-element px-3 py-2 text-sm text-foreground outline-none focus:border-border" min={8} max={200} />+ <span className="text-xs text-muted-foreground w-6">px</span></div></div><div className="space-y-2">- <div className="text-[11px] uppercase tracking-widest text-white/70 font-semibold">{t("text.font")}</div>+ <div className="text-[11px] uppercase tracking-widest text-muted-foreground font-semibold">{t("text.font")}</div><Select value={textFontFamily} onValueChange={setTextFontFamily}>- <SelectTrigger className="w-full bg-white/4 hover:bg-white/[0.07] transition border-white/8 squircle-element text-white/80" style={{ fontFamily: textFontFamily }}>+ <SelectTrigger className="w-full bg-muted/60 hover:bg-muted/50 transition border-border squircle-element text-foreground/80" style={{ fontFamily: textFontFamily }}><SelectValue /></SelectTrigger>- <SelectContent className="bg-[#1a1a1e] border-white/10">+ <SelectContent className="bg-popover dark:bg-black border-border">{FONT_FAMILIES.map((f) => (- <SelectItem key={f} value={f} className="text-white/80 hover:bg-white/10 cursor-pointer" style={{ fontFamily: f }}>{f}</SelectItem>+ <SelectItem key={f} value={f} className="text-foreground/80 hover:bg-muted cursor-pointer" style={{ fontFamily: f }}>{f}</SelectItem>))}</SelectContent></Select>@@ -435,18 +435,18 @@ export function ElementsMenu({</div><div className="space-y-2">- <div className="text-[11px] uppercase tracking-widest text-white/70 font-semibold">{t("properties.color")}</div>+ <div className="text-[11px] uppercase tracking-widest text-muted-foreground font-semibold">{t("properties.color")}</div><div className="flex gap-2"><div className="grid grid-cols-5 gap-2 flex-1">{PRESET_COLORS.map((color) => (<TooltipAction label={color} key={color}>- <button onClick={() => setTextColor(color)} className={`aspect-square squircle-element cursor-pointer transition-all border border-white/20 ${textColor === color ? "ring-2 ring-white/90 border-white/40 shadow-md shadow-black/50" : "border-white/10 hover:border-white/30 hover:ring-1 ring-white/20"}`} style={{ backgroundColor: color }} />+ <button onClick={() => setTextColor(color)} className={`aspect-square squircle-element cursor-pointer transition-all border border-border ${textColor === color ? "ring-2 ring-foreground/80 border-border shadow-md shadow-black/50" : "border-border hover:border-muted-foreground/50 hover:ring-1 ring-foreground/20"}`} style={{ backgroundColor: color }} /></TooltipAction>))}</div><label className="relative cursor-pointer"><input type="color" value={textColor} onChange={(e) => setTextColor(e.target.value)} className="absolute inset-0 opacity-0 cursor-pointer" />- <div className="w-10 h-10 aspect-square squircle-element border border-dashed border-white/30 bg-white/5 flex items-center justify-center hover:bg-white/10 transition group" style={{ backgroundColor: textColor }}>+ <div className="w-10 h-10 aspect-square squircle-element border border-dashed border-border bg-muted flex items-center justify-center hover:bg-muted transition group" style={{ backgroundColor: textColor }}><Icon icon="mdi:eyedropper" width="18" className="text-white mix-blend-difference" /></div></label>@@ -454,10 +454,10 @@ export function ElementsMenu({</div><div className="space-y-2">- <div className="text-[11px] uppercase tracking-widest text-white/70 font-semibold">{t("text.weight")}</div>+ <div className="text-[11px] uppercase tracking-widest text-muted-foreground font-semibold">{t("text.weight")}</div><div className="grid grid-cols-3 gap-2">{FONT_WEIGHTS.map((w) => (- <button key={w.key} onClick={() => setTextFontWeight(w.key)} className={`px-3 py-2 rounded-lg text-xs transition-all squircle-element ${textFontWeight === w.key ? "bg-white/10 text-white border border-white/15" : "bg-white/3 text-white/35 hover:text-white/70 border border-white/6"}`}>+ <button key={w.key} onClick={() => setTextFontWeight(w.key)} className={`px-3 py-2 rounded-lg text-xs transition-all squircle-element ${textFontWeight === w.key ? "bg-muted text-foreground border border-border" : "bg-muted/50 text-muted-foreground/50 hover:text-muted-foreground border border-border"}`}>{w.label}</button>))}@@ -511,13 +511,13 @@ function UploadImageButton({ onUpload, isUploading }: { onUpload: (files: FileLi<buttononClick={() => inputRef.current?.click()}disabled={isUploading}- className="aspect-square bg-white/3 hover:bg-white/8 border border-dashed border-white/30 squircle-element flex items-center justify-center transition-all active:scale-90 group disabled:opacity-50"+ className="aspect-square bg-muted/50 hover:bg-muted border border-dashed border-border squircle-element flex items-center justify-center transition-all active:scale-90 group disabled:opacity-50"aria-label={t("uploads.selectFile")}>{isUploading ? (- <Icon icon="svg-spinners:180-ring-with-bg" width="16" className="text-white/60" aria-hidden="true" />- ) : (- <Icon icon="material-symbols:upload-rounded" width="24" className="text-white-70 group-hover:text-white transition-colors" aria-hidden="true" />+ <Icon icon="svg-spinners:180-ring-with-bg" width="16" className="text-muted-foreground" aria-hidden="true" />+) : (+ <Icon icon="material-symbols:upload-rounded" width="24" className="text-muted-foreground group-hover:text-foreground transition-colors" aria-hidden="true" />)}</button></TooltipAction>diff --git a/app/components/ui/editor/FeedbackWidget.tsx b/app/components/ui/editor/FeedbackWidget.tsxindex 33ad66f..f7c27cf 100644--- a/app/components/ui/editor/FeedbackWidget.tsx+++ b/app/components/ui/editor/FeedbackWidget.tsx@@ -104,12 +104,12 @@ export function FeedbackWidget() {if (e.target === e.currentTarget) handleClose();}}>- <div className="p-8 bg-black border border-white/10 squircle-element-camera shadow-[0_0_80px_-15px_rgba(0,0,0,1)] w-full max-w-md mx-4">- <div className="flex items-center justify-between mb-6 pb-4 border-b border-white/10">+ <div className="p-8 bg-popover dark:bg-black border border-border squircle-element-camera shadow-[0_0_80px_-15px_rgba(0,0,0,1)] w-full max-w-md mx-4">+ <div className="flex items-center justify-between mb-6 pb-4 border-b border-border"><div className="flex items-center gap-2.5 px-3 py-1 "><spanid="feedback-dialog-title"- className="text-[11px] font-bold uppercase tracking-[0.25em] text-white/70"+ className="text-[11px] font-bold uppercase tracking-[0.25em] text-muted-foreground">{t("title")}</span>@@ -117,7 +117,7 @@ export function FeedbackWidget() {<buttononClick={handleClose}- className="flex items-center justify-center w-8 h-8 rounded-full bg-white/5 hover:bg-white/10 border border-white/10 text-white/50 hover:text-white transition-all duration-200"+ className="flex items-center justify-center w-8 h-8 rounded-full bg-muted hover:bg-muted border border-border text-muted-foreground/70 hover:text-foreground transition-all duration-200"aria-label={t("close")}><Icon icon="lucide:x" className="size-4" aria-hidden="true" />@@ -126,10 +126,10 @@ export function FeedbackWidget() {{status === "success" ? (<div className="flex flex-col items-center justify-center gap-3 py-12 px-4 text-center">- <div className="flex items-center justify-center w-12 h-12 rounded-full bg-emerald-500/10 border border-emerald-500/20 text-emerald-400 mb-2">+ <div className="flex items-center justify-center w-12 h-12 rounded-full bg-emerald-500/10 border border-emerald-500/20 text-emerald-600 dark:text-emerald-400 mb-2"><Icon icon="solar:check-circle-bold" className="size-6" /></div>- <p className="text-base font-medium text-white tracking-tight">+ <p className="text-base font-medium text-foreground tracking-tight">{t("successMessage")}</p></div>@@ -155,12 +155,12 @@ export function FeedbackWidget() {onClick={() => setType(opt.value)}className={`group relative flex flex-col items-center justify-center gap-1.5 p-3 rounded-xl border text-xs font-medium transition-all duration-200 squircle-element-camera cursor-pointer focus:outline-none w-full h-full min-h-[90px]${isSelected- ? "border-blue-500/40 text-blue-400"- : "bg-transparent border-white/10 text-white/60 hover:bg-white/5 hover:text-white hover:border-white/20"+ ? "border-transparent text-white"+ : "bg-transparent border-border text-muted-foreground hover:bg-muted hover:text-foreground hover:border-muted-foreground/50"}`}style={isSelected ? {- background: "radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.2) 0%, rgba(29, 78, 216, 0.1) 64%)",- boxShadow: "rgb(255, 255, 255) 0px 0.5rem 0.2rem -0.5rem inset, rgba(59, 130, 246, 0.25) 0px 0px 20px 0px, rgba(0, 0, 0, 0.4) 0px 4px 6px 0px",+ background: "radial-gradient(circle at 50% 0%, #555555 0%, #454545 64%)",+ boxShadow: "inset 0 1.01rem 0.2rem -1rem #fff, 0 0 0 1px #fff4, 0 4px 4px 0 #0004, 0 0 0 1px #333",} : undefined}><div className="flex items-center justify-center transition-transform duration-300 scale-110 group-hover:scale-115 size-5">@@ -168,7 +168,7 @@ export function FeedbackWidget() {</div>{isSelected && (- <div className="absolute left-3 w-16 h-6 top-3 bg-white rounded-full blur-[10px] rotate-45 pointer-events-none opacity-20" />+ <div className="absolute left-3 w-8 h-2 top-3 bg-white rounded-full blur-[5px] rotate-45 pointer-events-none opacity-50" />)}<span className="whitespace-nowrap overflow-hidden text-ellipsis max-w-full text-center mt-0.5">@@ -188,10 +188,10 @@ export function FeedbackWidget() {minLength={7}maxLength={MESSAGE_MAX_LENGTH}rows={7}- className="w-full resize-none bg-white/5 border border-white/10 rounded-xl px-4 py-3 text-sm text-white placeholder:text-white/30 focus:outline-none focus:border-blue-500/50 focus:ring-1 focus:ring-blue-500/50 transition-all duration-200"+ className="w-full resize-none bg-muted border border-border rounded-xl px-4 py-3 text-sm text-foreground placeholder:text-muted-foreground/40 focus:outline-none focus:border-blue-500/50 focus:ring-1 focus:ring-blue-500/50 transition-all duration-200"/><div className="flex justify-end px-1">- <span className="text-[11px] font-mono text-white/40 tabular-nums">+ <span className="text-[11px] font-mono text-muted-foreground/60 tabular-nums">{message.length}/{MESSAGE_MAX_LENGTH}</span></div>@@ -203,12 +203,12 @@ export function FeedbackWidget() {value={email}onChange={(e) => setEmail(e.target.value)}placeholder={t("emailPlaceholder")}- className="w-full bg-white/5 border border-white/10 rounded-xl px-4 py-2.5 text-sm text-white placeholder:text-white/30 focus:outline-none focus:border-blue-500/50 focus:ring-1 focus:ring-blue-500/50 transition-all duration-200"+ className="w-full bg-muted border border-border rounded-xl px-4 py-2.5 text-sm text-foreground placeholder:text-muted-foreground/40 focus:outline-none focus:border-blue-500/50 focus:ring-1 focus:ring-blue-500/50 transition-all duration-200"/>)}{status === "error" && (- <div className="flex items-center gap-2 p-3 bg-red-500/10 border border-red-500/20 rounded-xl text-red-400 text-xs">+ <div className="flex items-center gap-2 p-3 bg-red-500/10 border border-red-500/20 rounded-xl text-red-600 dark:text-red-400 text-xs"><Icon icon="lucide:alert-circle" className="size-4 shrink-0" /><span>{t("errorMessage")}</span></div>@@ -218,7 +218,7 @@ export function FeedbackWidget() {type="submit"variant="primary"disabled={status === "sending" || message.trim().length < 4}- className="w-full h-11 text-sm font-semibold rounded-xl active:scale-[0.99] disabled:opacity-40 disabled:cursor-not-allowed"+ className="w-full h-11 text-sm font-semibold rounded-xl active:scale-[0.99] disabled:opacity-40 disabled:cursor-not-allowed text-white">{status === "sending" ? (<Icon icon="svg-spinners:180-ring" className="size-4" />@@ -240,7 +240,7 @@ export function FeedbackWidget() {<TooltipAction label={t("tooltip")}><buttononClick={() => setIsOpen(true)}- className="flex items-center justify-center w-10 h-10 rounded-full bg-white/10 hover:bg-white/15 border border-white/15 text-white hover:text-white transition-all duration-200 shrink-0 shadow-gray-700 shadow-lg hover:scale-105 active:scale-95"+ className="flex items-center justify-center w-10 h-10 rounded-full bg-muted hover:bg-muted border border-border text-foreground hover:text-foreground transition-all duration-200 shrink-0 shadow-foreground/20 shadow-lg hover:scale-105 active:scale-95"aria-label={t("tooltip")}><Icon icon="solar:chat-round-dots-bold" className="size-6" aria-hidden="true" />diff --git a/app/components/ui/editor/HistoryMenu.tsx b/app/components/ui/editor/HistoryMenu.tsxindex 0579969..05ca348 100644--- a/app/components/ui/editor/HistoryMenu.tsx+++ b/app/components/ui/editor/HistoryMenu.tsx@@ -72,19 +72,19 @@ export function HistoryMenu({return (<div className="p-4 flex flex-col gap-4 h-full"><div className="flex items-center justify-between">- <div className="flex items-center gap-2 text-white font-medium">+ <div className="flex items-center gap-2 text-foreground font-medium"><Icon icon="material-symbols:history" width="20" aria-hidden="true" /><span>{t("title")}</span></div>- <span className="text-xs text-white/40" aria-live="polite">+ <span className="text-xs text-muted-foreground/60" aria-live="polite">{projects.length} {t("items")}</span></div><divclassName={`relative squircle-element border-2 border-dashed transition-all cursor-pointer ${isDragging- ? "border-gray-500 bg-gray-500/10"- : "border-white/20 hover:border-gray-500/50 hover:bg-gray-500/5"+ ? "border-muted-foreground/50 bg-muted/60"+ : "border-border hover:border-muted-foreground/50 hover:bg-muted/40"}`}onDragOver={handleDragOver}onDragLeave={handleDragLeave}@@ -99,15 +99,15 @@ export function HistoryMenu({onChange={handleFileSelect}/><div className="p-4 flex flex-col items-center gap-2 text-center">- <div className={`p-2 rounded-full transition-colors ${isDragging ? "bg-gray-500/20 text-gray-400" : "bg-white/5 text-white/70"+ <div className={`p-2 rounded-full transition-colors ${isDragging ? "bg-muted text-muted-foreground" : "bg-muted/50 text-muted-foreground/70"}`}>- <Icon icon="solar:upload-minimalistic-outline" width="24" className="text-white/40 group-hover:text-white/70 transition-colors" />+ <Icon icon="solar:upload-minimalistic-outline" width="24" className="text-muted-foreground/60 group-hover:text-muted-foreground transition-colors" /></div><div>- <p className="text-sm text-white/70">+ <p className="text-sm text-muted-foreground">{isDragging ? t("upload.drop") : t("upload.dragOrClick")}</p>- <p className="text-xs text-white/40 mt-1">+ <p className="text-xs text-muted-foreground/60 mt-1">PNG, JPG ...</p></div>@@ -120,26 +120,26 @@ export function HistoryMenu({{[...Array(2)].map((_, i) => (<divkey={i}- className="relative aspect-video squircle-element bg-white/5 border border-white/10 overflow-hidden"+ className="relative aspect-video squircle-element bg-muted border border-border overflow-hidden">- <div className="absolute inset-0 bg-linear-to-t from-white/5 to-transparent" />+ <div className="absolute inset-0 bg-linear-to-t from-muted-foreground/10 to-transparent" /><div className="absolute inset-0 flex items-center justify-center">- <Icon icon="solar:image-linear" width="24" className="text-white/10" aria-hidden="true" />+ <Icon icon="solar:image-linear" width="24" className="text-muted-foreground/20" aria-hidden="true" /></div><div className="absolute inset-x-0 bottom-0 p-2.5">- <div className="h-2 w-2/3 bg-white/10 rounded-full" />+ <div className="h-2 w-2/3 bg-muted rounded-full" /></div></div>))}</div>) : projects.length === 0 ? (- <div className="flex flex-col items-center justify-center py-12 text-white/40 animate-in fade-in" role="status">- <div className="w-16 h-16 squircle-element bg-white/5 flex items-center justify-center mb-4 border border-white/10">+ <div className="flex flex-col items-center justify-center py-12 text-muted-foreground/60 animate-in fade-in" role="status">+ <div className="w-16 h-16 squircle-element bg-muted flex items-center justify-center mb-4 border border-border"><Icon icon="solar:gallery-linear" width="32" className="opacity-50" aria-hidden="true" /></div>- <p className="text-sm font-medium text-white/70">{t("empty.title")}</p>+ <p className="text-sm font-medium text-muted-foreground">{t("empty.title")}</p><p className="text-xs mt-1 text-center max-w-50 leading-relaxed">{t("empty.description")}</p></div>) : (@@ -149,8 +149,8 @@ export function HistoryMenu({key={project.id}onClick={() => onSelectProject(project.id)}className={`group relative aspect-video squircle-element overflow-hidden cursor-pointer transition-all duration-300 ${currentProjectId === project.id- ? "ring-2 ring-gray-400 ring-offset-2 ring-offset-[#0A0A0A] shadow-[0_0_15px_rgba(168,85,247,0.4)]"- : "border border-white/10 hover:border-white/30 hover:shadow-xl"+ ? "ring-2 ring-foreground/60 ring-offset-2 ring-offset-background shadow-[0_0_15px_rgba(168,85,247,0.4)]"+ : "border border-border hover:border-muted-foreground/50 hover:shadow-xl"} ${deletingId === project.id ? "opacity-50 scale-95" : "scale-100"}`}>{project.thumbnailDataUrl ? (@@ -160,13 +160,13 @@ export function HistoryMenu({className="absolute inset-0 w-full h-full object-cover transition-transform duration-700 group-hover:scale-110"/>) : (- <div className="absolute inset-0 flex items-center justify-center bg-[#171717]">- <Icon icon="solar:image-linear" width="24" className="text-white/20" aria-hidden="true" />+ <div className="absolute inset-0 flex items-center justify-center bg-muted">+ <Icon icon="solar:image-linear" width="24" className="text-muted-foreground/40" aria-hidden="true" /></div>)}{currentProjectId === project.id && (- <div className="absolute top-2 left-2 z-10 bg-black border border-white/30 rounded-full p-0.5 shadow-lg animate-in zoom-in">+ <div className="absolute top-2 left-2 z-10 bg-black border border-border rounded-full p-0.5 shadow-lg animate-in zoom-in"><Icon icon="mdi:check" width="14" className="text-white" aria-hidden="true" /></div>)}@@ -180,7 +180,7 @@ export function HistoryMenu({e.stopPropagation();handleDelete(project.id);}}- className="size-6 flex items-center justify-center squircle-element bg-[#0A0A0A]/80 backdrop-blur-md border border-white/20 text-white/70 hover:text-white hover:bg-red-500 hover:border-red-500 transition-all"+ className="size-6 flex items-center justify-center squircle-element bg-[#0A0A0A]/80 backdrop-blur-md border border-border text-white/70 hover:text-white hover:bg-red-500 hover:border-red-500 transition-all"><Icon icon="solar:trash-bin-trash-linear" width="16" /></button>diff --git a/app/components/ui/editor/ImageCropperModal.tsx b/app/components/ui/editor/ImageCropperModal.tsxindex 4552ba6..09899e3 100644--- a/app/components/ui/editor/ImageCropperModal.tsx+++ b/app/components/ui/editor/ImageCropperModal.tsx@@ -226,23 +226,23 @@ export function ImageCropperModal({animate={{ scale: 1, opacity: 1, y: 0 }}exit={{ scale: 0.96, opacity: 0, y: 8 }}transition={{ duration: 0.18, ease: [0.16, 1, 0.3, 1] }}- className="bg-[#0a0a0b] rounded-2xl border border-white/10 w-[92vw] max-w-5xl max-h-[88vh] flex flex-col overflow-hidden shadow-2xl"+ className="bg-popover dark:bg-black rounded-2xl border border-border w-[92vw] max-w-5xl max-h-[88vh] flex flex-col overflow-hidden shadow-2xl">- <div className="flex items-center justify-between px-5 py-3.5 border-b border-white/10">+ <div className="flex items-center justify-between px-5 py-3.5 border-b border-border"><div className="flex items-center gap-2.5">- <div className="w-6 h-6 rounded-md bg-white/10 flex items-center justify-center">- <Icon icon="mdi:crop" className="text-sm text-white/70" />+ <div className="w-6 h-6 rounded-md bg-muted flex items-center justify-center">+ <Icon icon="mdi:crop" className="text-sm text-muted-foreground" /></div>- <span className="text-sm font-medium text-white">{t2("cropper.button")}</span>+ <span className="text-sm font-medium text-foreground">{t2("cropper.button")}</span>{imageDimensions.width > 0 && (- <span className="text-[11px] font-mono text-white/70 bg-white/4 px-2 py-0.5 rounded-md border border-white/10">+ <span className="text-[11px] font-mono text-muted-foreground bg-muted px-2 py-0.5 rounded-md border border-border">{imageDimensions.width} × {imageDimensions.height}</span>)}</div><buttononClick={onClose}- className="w-7 h-7 flex items-center justify-center rounded-lg hover:bg-white/10 transition-colors text-white/40 hover:text-white/70"+ className="w-7 h-7 flex items-center justify-center rounded-lg hover:bg-muted transition-colors text-muted-foreground hover:text-foreground"><Icon icon="mdi:close" className="text-base" /></button>@@ -340,9 +340,9 @@ export function ImageCropperModal({</div></div>- <div className="w-64 bg-[#0a0a0b] border-l border-white/10 flex flex-col">- <div className="p-4 border-b border-white/10">- <p className="text-[11px] uppercase tracking-widest font-semibold text-white/70 mb-3">+ <div className="w-64 bg-card border-l border-border flex flex-col">+ <div className="p-4 border-b border-border">+ <p className="text-[11px] uppercase tracking-widest font-semibold text-muted-foreground mb-3">{t("sections.ratio")}</p><div className="grid grid-cols-3 gap-1">@@ -352,7 +352,7 @@ export function ImageCropperModal({onClick={() => handleAspectRatioSelect(ratio.value)}className={`w-full py-1.5 text-[11px] font-medium rounded-lg transition-all ${selectedAspectRatio === ratio.value? "text-white border-transparent"- : "bg-white/4 text-white/40 hover:bg-white/8 hover:text-white/70 border border-white/10"+ : "bg-muted/60 text-muted-foreground hover:bg-muted hover:text-foreground border border-border"}`}style={selectedAspectRatio === ratio.value@@ -373,8 +373,8 @@ export function ImageCropperModal({</div></div>- <div className="p-4 border-b border-white/10">- <p className="text-[11px] uppercase tracking-widest font-semibold text-white/70 mb-3">+ <div className="p-4 border-b border-border">+ <p className="text-[11px] uppercase tracking-widest font-semibold text-muted-foreground mb-3">{t("sections.area")}</p><div className="space-y-2">@@ -385,9 +385,9 @@ export function ImageCropperModal({{ label: t("labels.height"), value: cropArea.height },].map(({ label, value }) => (<div key={label} className="flex items-center justify-between">- <span className="text-[11px] text-white/25 font-mono w-4">{label}</span>- <div className="flex-1 mx-3 h-px bg-white/4" />- <span className="text-[11px] font-mono text-white/60">{value.toFixed(1)}%</span>+ <span className="text-[11px] text-muted-foreground/60 font-mono w-4">{label}</span>+ <div className="flex-1 mx-3 h-px bg-border/60" />+ <span className="text-[11px] font-mono text-muted-foreground">{value.toFixed(1)}%</span></div>))}</div>@@ -399,7 +399,7 @@ export function ImageCropperModal({<Button variant="outline" onClick={handleReset}>{t("buttons.reset")}</Button>- <Button variant="primary" onClick={handleApply}>+ <Button variant="primary" className="text-white" onClick={handleApply}>{t("buttons.apply")}</Button></div>diff --git a/app/components/ui/editor/ImageMaskEditor.tsx b/app/components/ui/editor/ImageMaskEditor.tsxindex d556e92..0ae76c7 100644--- a/app/components/ui/editor/ImageMaskEditor.tsx+++ b/app/components/ui/editor/ImageMaskEditor.tsx@@ -97,23 +97,23 @@ export function ImageMaskEditor({</PopoverTrigger></TooltipAction>- <PopoverContent align="end" className="w-100 bg-[#0A0A0A] border-white/10 shadow-2xl p-0 squircle-element-camera overflow-hidden">+ <PopoverContent align="end" className="w-100 bg-popover dark:bg-black border-border shadow-2xl p-0 squircle-element-camera overflow-hidden"><div className="flex flex-col">- <PopoverHeader className="px-4 py-3 border-b border-white/10 bg-white/5">+ <PopoverHeader className="px-4 py-3 border-b border-border bg-muted/40"><div className="flex items-center justify-between">- <PopoverTitle className="text-xs font-semibold text-white/80 tracking-wide uppercase flex items-center gap-2">+ <PopoverTitle className="text-xs font-semibold text-popover-foreground/90 tracking-wide uppercase flex items-center gap-2"><Icon icon="material-symbols:gradient-outline" width="14" className="text-blue-400" aria-hidden="true" />{t("title")}</PopoverTitle></div></PopoverHeader>- <div className="flex border-b border-white/10 bg-black/20">+ <div className="flex border-b border-border bg-muted/40"><buttononClick={() => setActiveTab("presets")}className={`flex-1 px-4 py-2.5 text-xs font-medium transition-all ${activeTab === "presets"- ? "text-blue-400 border-b-2 border-blue-400 bg-blue-500/5"- : "text-white/60 hover:text-white/80 hover:bg-white/5"+ ? "text-blue-600 dark:text-blue-400 border-b-2 border-blue-500 bg-blue-500/5"+ : "text-muted-foreground hover:text-popover-foreground hover:bg-muted"}`}><Icon icon="mdi:palette-outline" width="14" className="inline mr-1.5" />@@ -122,8 +122,8 @@ export function ImageMaskEditor({<buttononClick={() => setActiveTab("custom")}className={`flex-1 px-4 py-2.5 text-xs font-medium transition-all ${activeTab === "custom"- ? "text-blue-400 border-b-2 border-blue-400 bg-blue-500/5"- : "text-white/60 hover:text-white/80 hover:bg-white/5"+ ? "text-blue-600 dark:text-blue-400 border-b-2 border-blue-500 bg-blue-500/5"+ : "text-muted-foreground hover:text-popover-foreground hover:bg-muted"}`}><Icon icon="mdi:tune" width="14" className="inline mr-1.5" />@@ -144,7 +144,7 @@ export function ImageMaskEditor({onClick={() => handlePresetClick(preset)}className={`group relative flex flex-col squircle-element border transition-all overflow-hidden ${active? "border-blue-500 bg-blue-500/10"- : "border-white/10 hover:border-white/30 bg-white/5 hover:bg-white/10"+ : "border-border hover:border-foreground/30 bg-muted/40 hover:bg-muted"}`}><div className="relative w-full aspect-video bg-zinc-900">@@ -186,13 +186,13 @@ export function ImageMaskEditor({<div className="space-y-4"><div className="space-y-2"><div className="flex items-center justify-between">- <label className="text-xs font-medium text-white/70">{t("controls.top")}</label>+ <label className="text-xs font-medium text-muted-foreground">{t("controls.top")}</label><buttononClick={() => onMaskConfigChange({...maskConfig,top: maskConfig.top ? undefined : { from: 0, to: 30 },})}- className="text-[11px] text-blue-400 hover:text-blue-300"+ className="text-[11px] text-blue-600 dark:text-blue-400 hover:text-blue-500 dark:hover:text-blue-300">{maskConfig.top ? t("controls.remove") : t("controls.add")}</button>@@ -228,15 +228,15 @@ export function ImageMaskEditor({</div><div className="space-y-2">- <hr className="border-white/10" />+ <hr className="border-border" /><div className="flex items-center justify-between">- <label className="text-xs font-medium text-white/70">{t("controls.bottom")}</label>+ <label className="text-xs font-medium text-muted-foreground">{t("controls.bottom")}</label><buttononClick={() => onMaskConfigChange({...maskConfig,bottom: maskConfig.bottom ? undefined : { from: 0, to: 30 },})}- className="text-[11px] text-blue-400 hover:text-blue-300"+ className="text-[11px] text-blue-600 dark:text-blue-400 hover:text-blue-500 dark:hover:text-blue-300">{maskConfig.bottom ? t("controls.remove") : t("controls.add")}</button>@@ -270,17 +270,17 @@ export function ImageMaskEditor({</>)}</div>- <hr className="border-white/10" />+ <hr className="border-border" /><div className="grid grid-cols-2 gap-4"><div className="space-y-2"><div className="flex items-center justify-between">- <label className="text-xs font-medium text-white/70">{t("controls.left")}</label>+ <label className="text-xs font-medium text-muted-foreground">{t("controls.left")}</label><buttononClick={() => onMaskConfigChange({...maskConfig,left: maskConfig.left ? undefined : { from: 0, to: 20 },})}- className="text-sm text-blue-400 hover:text-blue-300"+ className="text-sm text-blue-600 dark:text-blue-400 hover:text-blue-500 dark:hover:text-blue-300">{maskConfig.left ? "x" : "+"}</button>@@ -303,13 +303,13 @@ export function ImageMaskEditor({<div className="space-y-2"><div className="flex items-center justify-between">- <label className="text-xs font-medium text-white/70">{t("controls.right")}</label>+ <label className="text-xs font-medium text-muted-foreground">{t("controls.right")}</label><buttononClick={() => onMaskConfigChange({...maskConfig,right: maskConfig.right ? undefined : { from: 0, to: 20 },})}- className="text-sm text-blue-400 hover:text-blue-300"+ className="text-sm text-blue-600 dark:text-blue-400 hover:text-blue-500 dark:hover:text-blue-300">{maskConfig.right ? "x" : "+"}</button>diff --git a/app/components/ui/editor/LabelSidebar.tsx b/app/components/ui/editor/LabelSidebar.tsxindex 8623ef8..2a3d697 100644--- a/app/components/ui/editor/LabelSidebar.tsx+++ b/app/components/ui/editor/LabelSidebar.tsx@@ -15,42 +15,42 @@ export default function LabelSidebar({const hasAdditionalRows = audioTracksCount > 0 || motionTracksCount > 0 || elementsCount > 0;return (- <div className="absolute left-0 top-0 bottom-0 w-14 shrink-0 border-r border-white/5 flex flex-col bg-[#0D0D11] z-30">- <div className="h-5.5 border-b border-white/5" />+ <div className="absolute left-0 top-0 bottom-0 w-14 shrink-0 border-r border-border flex flex-col bg-background z-30">+ <div className="h-5.5 border-b border-border" /><div className="flex-1 flex items-center px-3">- <span className="text-[9px] uppercase font-semibold tracking-wider text-zinc-500">+ <span className="text-[9px] uppercase font-semibold tracking-wider text-muted-foreground">{t('video')}</span></div>- <div className={`flex items-center px-3 border-t border-white/5 transition-all duration-300 ${+ <div className={`flex items-center px-3 border-t border-border transition-all duration-300 ${hasAdditionalRows ? 'h-14' : 'h-16'}`}>- <span className="text-[9px] uppercase font-semibold tracking-wider text-zinc-500">+ <span className="text-[9px] uppercase font-semibold tracking-wider text-muted-foreground">{t('zoom')}</span></div>{elementsCount > 0 && (- <div className="h-14 flex items-center px-3 border-t border-white/5 bg-white/1">- <span className="text-[9px] uppercase font-semibold tracking-wider text-zinc-500">+ <div className="h-14 flex items-center px-3 border-t border-border bg-muted/40">+ <span className="text-[9px] uppercase font-semibold tracking-wider text-muted-foreground">{t('elements')}</span></div>)}{audioTracksCount > 0 && (- <div className="h-14 flex items-center px-3 border-t border-white/5 bg-white/1">- <span className="text-[9px] uppercase font-semibold tracking-wider text-zinc-500">+ <div className="h-14 flex items-center px-3 border-t border-border bg-muted/40">+ <span className="text-[9px] uppercase font-semibold tracking-wider text-muted-foreground">{t('audio')}</span></div>)}{motionTracksCount > 0 && (- <div className="h-14 flex items-center px-3 border-t border-white/5 bg-white/1">- <span className="text-[9px] uppercase font-semibold tracking-wider text-zinc-500">+ <div className="h-14 flex items-center px-3 border-t border-border bg-muted/40">+ <span className="text-[9px] uppercase font-semibold tracking-wider text-muted-foreground">{t('motion')}</span></div>diff --git a/app/components/ui/editor/LayersPanel.tsx b/app/components/ui/editor/LayersPanel.tsxindex 02a76e1..3184fdf 100644--- a/app/components/ui/editor/LayersPanel.tsx+++ b/app/components/ui/editor/LayersPanel.tsx@@ -481,8 +481,8 @@ export function LayersPanelInner({className={["group relative flex items-center gap-1.5 h-7 px-2 rounded-md cursor-pointer select-none transition-all duration-100",isSelected- ? "bg-[#00A3FF]/15 text-white"- : "text-neutral-400 hover:bg-white/5 hover:text-neutral-200",+ ? "bg-[#00A3FF]/15 text-foreground"+ : "text-muted-foreground hover:bg-muted hover:text-foreground",].join(" ")}>{isDropTarget && (@@ -491,7 +491,7 @@ export function LayersPanelInner({<div className="shrink-0 w-3 opacity-0" /><Iconicon={mediaType === "video" ? TYPE_ICON.video : TYPE_ICON.image}- className={`size-4.5 shrink-0 ${isSelected ? "text-[#00A3FF]" : "text-neutral-500"}`}+ className={`size-4.5 shrink-0 ${isSelected ? "text-[#00A3FF]" : "text-muted-foreground"}`}aria-hidden="true"/><span className="flex-1 text-[11px] truncate">@@ -552,8 +552,8 @@ export function LayersPanelInner({isGroupChild ? "pl-5 pr-2" : "px-2",isDraggingThis ? "opacity-30 pointer-events-none" : "",isSelected- ? "bg-[#00A3FF]/15 text-white"- : "text-neutral-400 hover:bg-white/5 hover:text-neutral-200",+ ? "bg-[#00A3FF]/15 text-foreground"+ : "text-muted-foreground hover:bg-muted hover:text-foreground",].join(" ")}>{isDropTarget && (@@ -563,11 +563,11 @@ export function LayersPanelInner({className={`shrink-0 cursor-grab active:cursor-grabbing transition-opacity opacity-0 group-hover:opacity-100 ${isLocked ? "invisible" : ""}`}>- <Icon icon="icon-park-outline:drag" className="size-4 text-neutral-500" />+ <Icon icon="icon-park-outline:drag" className="size-4 text-muted-foreground" /></div><Iconicon={TYPE_ICON[el.type]}- className={`size-4.5 shrink-0 ${isSelected ? "text-[#00A3FF]" : "text-neutral-500"}`}+ className={`size-4.5 shrink-0 ${isSelected ? "text-[#00A3FF]" : "text-muted-foreground"}`}/><span className={`flex-1 text-[11px] truncate ${isVisible ? "" : "opacity-40 line-through"}`}>{layerNames.get(id) ?? id}@@ -579,7 +579,7 @@ export function LayersPanelInner({e.stopPropagation();onToggleVisible(id, !isVisible);}}- className="flex items-center justify-center w-5 h-5 rounded hover:bg-white/10"+ className="flex items-center justify-center w-5 h-5 rounded hover:bg-muted"aria-label={isVisible ? t("layerPanel.tooltips.hide") : t("layerPanel.tooltips.show")}><Icon@@ -595,7 +595,7 @@ export function LayersPanelInner({e.stopPropagation();onToggleLock(id, !isLocked);}}- className="flex items-center justify-center w-5 h-5 rounded hover:bg-white/10"+ className="flex items-center justify-center w-5 h-5 rounded hover:bg-muted"aria-label={isLocked ? t("layerPanel.tooltips.unlock") : t("layerPanel.tooltips.lock")}><Icon@@ -615,21 +615,21 @@ export function LayersPanelInner({className="flex items-center justify-center w-5 h-5 rounded hover:bg-red-500/20"aria-label={t("layerPanel.tooltips.delete")}>- <Icon icon="ic:baseline-delete" className="size-4 hover:text-red-400" aria-hidden="true" />+ <Icon icon="ic:baseline-delete" className="size-4 hover:text-red-600 dark:hover:text-red-400" aria-hidden="true" /></button></TooltipAction></div>{!isVisible && (<Iconicon="solar:eye-closed-bold"- className="size-4 text-neutral-500 shrink-0 group-hover:hidden"+ className="size-4 text-muted-foreground shrink-0 group-hover:hidden"aria-hidden="true"/>)}{isLocked && (<Iconicon="solar:lock-bold"- className="size-4 text-neutral-500 shrink-0 group-hover:hidden"+ className="size-4 text-muted-foreground shrink-0 group-hover:hidden"aria-hidden="true"/>)}@@ -654,16 +654,16 @@ export function LayersPanelInner({if (!isOpen) {return (- <div className="flex flex-col items-center py-2 px-1 bg-[#111113] border-l border-white/6 gap-1">+ <div className="flex flex-col items-center py-2 px-1 bg-card border-l border-border gap-1"><TooltipAction label={t("layerPanel.tooltips.showLayers")}><buttononClick={() => setIsOpen(true)}- className="flex items-center justify-center w-6 h-6 rounded hover:bg-white/10 transition-colors text-neutral-500 hover:text-neutral-200"+ className="flex items-center justify-center w-6 h-6 rounded hover:bg-muted transition-colors text-muted-foreground hover:text-foreground"><Icon icon="solar:layers-minimalistic-bold" className="size-4.5" /></button></TooltipAction>- <span className="text-[9px] text-neutral-500 [writing-mode:vertical-rl] rotate-180 mt-1 tracking-widest uppercase">+ <span className="text-[9px] text-muted-foreground [writing-mode:vertical-rl] rotate-180 mt-1 tracking-widest uppercase">{t("layerPanel.layers")}</span></div>@@ -672,18 +672,18 @@ export function LayersPanelInner({return (<div- className="flex flex-col bg-[#111113] border-l border-white/6 select-none h-full"+ className="flex flex-col bg-card border-l border-border select-none h-full"style={{ width: toolbar ? "auto" : "210px", minWidth: "210px" }}>- {toolbar && <div className="shrink-0 border-b border-white/6">{toolbar}</div>}- <div className="flex items-center justify-between px-3 py-2 border-b border-white/6 shrink-0">- <span className="text-[11px] font-semibold text-neutral-300 tracking-wide uppercase">+ {toolbar && <div className="shrink-0 border-b border-border">{toolbar}</div>}+ <div className="flex items-center justify-between px-3 py-2 border-b border-border shrink-0">+ <span className="text-[11px] font-semibold text-foreground/80 tracking-wide uppercase">{t("layerPanel.layers")}</span><TooltipAction label={t("layerPanel.tooltips.hideLayers")}><buttononClick={() => setIsOpen(false)}- className="flex items-center justify-center w-5 h-5 rounded hover:bg-white/10 transition-colors text-neutral-500 hover:text-neutral-200"+ className="flex items-center justify-center w-5 h-5 rounded hover:bg-muted transition-colors text-muted-foreground hover:text-foreground"><Icon icon="solar:sidebar-minimalistic-bold" className="size-4.5" /></button>@@ -700,7 +700,7 @@ export function LayersPanelInner({}}>{displayOrder.length === 0 ? (- <div className="flex flex-col items-center justify-center h-16 gap-2 text-neutral-500">+ <div className="flex flex-col items-center justify-center h-16 gap-2 text-muted-foreground"><Icon icon="solar:layers-minimalistic-bold" className="size-5" /><span className="text-[11px]">{t("layerPanel.noLayers")}</span></div>@@ -763,7 +763,7 @@ export function LayersPanelInner({}}data-layer-row={groupKey}className={[- "group relative flex items-center gap-1.5 h-7 px-2 rounded-md cursor-pointer select-none transition-all duration-100 text-neutral-400 hover:bg-white/5 hover:text-neutral-200",+ "group relative flex items-center gap-1.5 h-7 px-2 rounded-md cursor-pointer select-none transition-all duration-100 text-muted-foreground hover:bg-muted hover:text-foreground",isDraggingThisGroup ? "opacity-30 pointer-events-none" : "",pointerDrag?.active && pointerDrag.dropTargetGroupId === gid? "ring-1 ring-blue-400 bg-blue-400/10"@@ -774,7 +774,7 @@ export function LayersPanelInner({<div className="absolute -top-px left-0 right-0 h-0.5 rounded-full bg-blue-400 pointer-events-none z-10" />)}<div className="shrink-0 cursor-grab active:cursor-grabbing transition-opacity opacity-0 group-hover:opacity-100">- <Icon icon="icon-park-outline:drag" className="size-4 text-neutral-500" />+ <Icon icon="icon-park-outline:drag" className="size-4 text-muted-foreground" /></div><buttononClick={(e) => {@@ -790,7 +790,7 @@ export function LayersPanelInner({><Iconicon={isCollapsed ? "solar:alt-arrow-right-bold" : "solar:alt-arrow-down-bold"}- className="size-4 text-neutral-500"+ className="size-4 text-muted-foreground"/></button><Icon icon="solar:folder-bold" className="size-4.5 shrink-0 text-yellow-500/70" />@@ -807,11 +807,11 @@ export function LayersPanelInner({}}className="flex items-center justify-center w-5 h-5 rounded hover:bg-red-500/20">- <Icon icon="solar:trash-bin-trash-bold" className="size-4 hover:text-red-400" />+ <Icon icon="solar:trash-bin-trash-bold" className="size-4 hover:text-red-600 dark:hover:text-red-400" /></button></TooltipAction></div>- <span className="text-[9px] text-neutral-500 group-hover:hidden">+ <span className="text-[9px] text-muted-foreground group-hover:hidden">{groupMembers.length}</span></div>@@ -844,15 +844,15 @@ export function LayersPanelInner({<FeedbackWidget /></div>{selectedIds.length > 1 && (- <div className="shrink-0 border-t border-white/6 px-2 py-1.5 flex items-center gap-1">- <span className="flex-1 text-[11px] text-neutral-500">+ <div className="shrink-0 border-t border-border px-2 py-1.5 flex items-center gap-1">+ <span className="flex-1 text-[11px] text-muted-foreground">{selectedIds.length} {t("layerPanel.selected")}</span>{onGroup && (<TooltipAction label={t("layerPanel.tooltips.groupSelected")}><buttononClick={() => onGroup(selectedIds)}- className="flex items-center gap-1 px-1.5 py-0.5 text-[11px] text-neutral-400 hover:text-white hover:bg-white/10 rounded transition-colors"+ className="flex items-center gap-1 px-1.5 py-0.5 text-[11px] text-muted-foreground hover:text-foreground hover:bg-muted rounded transition-colors"><Icon icon="solar:layers-minimalistic-bold" className="size-4" />{t("layerPanel.groupAction")}@@ -863,7 +863,7 @@ export function LayersPanelInner({<TooltipAction label={t("layerPanel.tooltips.ungroup")}><buttononClick={() => onUngroup(selectedIds)}- className="flex items-center gap-1 px-1.5 py-0.5 text-[11px] text-neutral-400 hover:text-white hover:bg-white/10 rounded transition-colors"+ className="flex items-center gap-1 px-1.5 py-0.5 text-[11px] text-muted-foreground hover:text-foreground hover:bg-muted rounded transition-colors"><Icon icon="solar:layers-bold" className="size-4" />{t("layerPanel.ungroupAction")}@@ -875,12 +875,12 @@ export function LayersPanelInner({{videoCtxMenu && (<divdata-ctx-menu- className="fixed z-[9999] bg-[#1c1c1f] border border-white/10 rounded-lg shadow-2xl py-1 min-w-40 overflow-hidden"+ className="fixed z-[9999] bg-popover dark:bg-black border border-border rounded-lg shadow-2xl py-1 min-w-40 overflow-hidden"style={{ left: videoCtxMenu.x, top: videoCtxMenu.y }}onPointerDown={(e) => e.stopPropagation()}><button- className="w-full flex items-center gap-2 px-3 py-1.5 text-[11px] text-neutral-300 hover:bg-white/6 text-left"+ className="w-full flex items-center gap-2 px-3 py-1.5 text-[11px] text-foreground/80 hover:bg-muted text-left"onClick={() => {onReorder([], elements.map((e) => e.id));setVideoCtxMenu(null);@@ -890,7 +890,7 @@ export function LayersPanelInner({{tActions("actions.bringToFront")}</button><button- className="w-full flex items-center gap-2 px-3 py-1.5 text-[11px] text-neutral-300 hover:bg-white/6 text-left"+ className="w-full flex items-center gap-2 px-3 py-1.5 text-[11px] text-foreground/80 hover:bg-muted text-left"onClick={() => {onReorder(elements.map((e) => e.id), []);setVideoCtxMenu(null);@@ -904,12 +904,12 @@ export function LayersPanelInner({{groupCtxMenu && (<divdata-ctx-menu- className="fixed z-[9999] bg-[#1c1c1f] border border-white/10 rounded-lg shadow-2xl py-1 min-w-40 overflow-hidden"+ className="fixed z-[9999] bg-popover dark:bg-black border border-border rounded-lg shadow-2xl py-1 min-w-40 overflow-hidden"style={{ left: groupCtxMenu.x, top: groupCtxMenu.y }}onPointerDown={(e) => e.stopPropagation()}><button- className="w-full flex items-center gap-2 px-3 py-1.5 text-[11px] text-neutral-300 hover:bg-white/6 text-left"+ className="w-full flex items-center gap-2 px-3 py-1.5 text-[11px] text-foreground/80 hover:bg-muted text-left"onClick={() => {const memberIds = elements.filter((e) => e.groupId === groupCtxMenu.groupId)@@ -922,7 +922,7 @@ export function LayersPanelInner({{t("layerPanel.ungroupAction")}</button><button- className="w-full flex items-center gap-2 px-3 py-1.5 text-[11px] text-red-400 hover:bg-red-500/10 text-left"+ className="w-full flex items-center gap-2 px-3 py-1.5 text-[11px] text-red-600 dark:text-red-400 hover:bg-red-500/10 text-left"onClick={() => {const memberIds = elements.filter((e) => e.groupId === groupCtxMenu.groupId)@@ -1006,9 +1006,9 @@ export function LayersPanelInner({top: pointerDrag.y - 14,}}>- <div className="flex items-center gap-2 px-2.5 py-1.5 rounded-lg bg-[#1c1c1f]/90 border border-white/10 shadow-2xl backdrop-blur-sm">+ <div className="flex items-center gap-2 px-2.5 py-1.5 rounded-lg bg-popover/90 dark:bg-black/90 border border-border shadow-2xl backdrop-blur-sm"><Icon icon={ghostIcon} className="size-4.5 text-[#00A3FF]" />- <span className="text-[11px] text-white font-medium max-w-30 truncate">{ghostLabel}</span>+ <span className="text-[11px] text-foreground font-medium max-w-30 truncate">{ghostLabel}</span></div></div>,document.bodydiff --git a/app/components/ui/editor/MobileControlPanel.tsx b/app/components/ui/editor/MobileControlPanel.tsxindex 24deaa4..bff55ae 100644--- a/app/components/ui/editor/MobileControlPanel.tsx+++ b/app/components/ui/editor/MobileControlPanel.tsx@@ -34,15 +34,15 @@ export function MobileControlPanel({<Dialog.Root open={isOpen} onOpenChange={onClose}><Dialog.Portal><Dialog.Overlay className="fixed inset-0 bg-black/80 backdrop-blur-sm z-100 animate-in fade-in duration-200 lg:hidden" />- <Dialog.Content className="fixed inset-x-0 bottom-0 top-16 bg-[#141417] z-101 animate-in slide-in-from-bottom duration-300 overflow-y-auto lg:hidden">+ <Dialog.Content className="fixed inset-x-0 bottom-0 top-16 bg-background z-101 animate-in slide-in-from-bottom duration-300 overflow-y-auto lg:hidden"><div className="absolute top-4 right-4 z-10"><Dialog.Close asChild><button- className="h-8 w-8 rounded-full bg-white/5 hover:bg-white/10 flex items-center justify-center transition-colors backdrop-blur-sm"+ className="h-8 w-8 rounded-full bg-muted/60 hover:bg-muted flex items-center justify-center transition-colors backdrop-blur-sm"aria-label="Cerrar">- <Icon icon="mdi:close" width="20" className="text-white/70" aria-hidden="true" />+ <Icon icon="mdi:close" width="20" className="text-muted-foreground" aria-hidden="true" /></button></Dialog.Close></div>diff --git a/app/components/ui/editor/MobileToolsMenu.tsx b/app/components/ui/editor/MobileToolsMenu.tsxindex 1f0caf2..a1d5f39 100644--- a/app/components/ui/editor/MobileToolsMenu.tsx+++ b/app/components/ui/editor/MobileToolsMenu.tsx@@ -19,25 +19,17 @@ const ToolButton = ({ label, icon, isActive, onClick, ariaLabel }: ToolButtonProreturn (<buttononClick={onClick}- className="flex items-center justify-center p-4 squircle-element transition-all duration-200 group relative flex-col gap-1 active:scale-95"+ className={`flex items-center justify-center p-4 squircle-element transition-all duration-200 group relative flex-col gap-1 active:scale-95 ${isActive+ ? "bg-[radial-gradient(circle_at_50%_0%,#555555_0%,#454545_64%)] shadow-[inset_0_1rem_0.2rem_-1rem_#fff,0_0_0_1px_#ffffff33,0_4px_4px_0_#00000033,0_0_0_1px_#333333]"+ : "bg-muted border border-border shadow-sm"+ }`}aria-label={ariaLabel || label}aria-pressed={isActive}- style={- isActive- ? {- background: "radial-gradient(circle at 50% 0%, #555555 0%, #454545 64%)",- boxShadow: "inset 0 1.01rem 0.2rem -1rem #fff, 0 0 0 1px #fff4, 0 4px 4px 0 #0004, 0 0 0 1px #333",- }- : {- background: "rgba(255, 255, 255, 0.05)",- border: "1px solid rgba(255, 255, 255, 0.1)",- }- }><div className={`transition-transform duration-300 ${isActive ? "scale-110" : "group-hover:scale-105"}`}>{icon}</div>- <span className={`text-sm font-medium transition-colors ${isActive ? "text-white" : "text-white/40"}`}>+ <span className={`text-sm font-medium transition-colors ${isActive ? "text-white" : "text-muted-foreground/60"}`}>{label}</span>{isActive && (@@ -94,17 +86,17 @@ export function MobileToolsMenu({<Dialog.Portal><Dialog.Overlay className="fixed inset-0 bg-black/80 backdrop-blur-sm z-100 animate-in fade-in duration-200" />- <Dialog.Content className="fixed bottom-0 left-0 right-0 bg-[#1a1a1d] border-t border-white/10 rounded-t-2xl z-101 p-6 animate-in slide-in-from-bottom duration-300 max-h-[80vh] overflow-y-auto">+ <Dialog.Content className="fixed bottom-0 left-0 right-0 bg-popover dark:bg-black border-t border-border rounded-t-2xl z-101 p-6 animate-in slide-in-from-bottom duration-300 max-h-[80vh] overflow-y-auto"><div className="flex items-center justify-between mb-6">- <Dialog.Title className="text-lg font-semibold text-white" id="tools-dialog-title">+ <Dialog.Title className="text-lg font-semibold text-foreground" id="tools-dialog-title">{t("title")}</Dialog.Title><Dialog.Close asChild><button- className="h-8 w-8 rounded-full hover:bg-white/10 flex items-center justify-center transition-colors"+ className="h-8 w-8 rounded-full hover:bg-muted flex items-center justify-center transition-colors"aria-label={t("close")}>- <Icon icon="mdi:close" width="20" className="text-white/70" />+ <Icon icon="mdi:close" width="20" className="text-muted-foreground" /></button></Dialog.Close></div>@@ -114,35 +106,35 @@ export function MobileToolsMenu({label={t("background")}isActive={activeTool === "screenshot"}onClick={() => handleToolChange("screenshot")}- icon={<Icon icon="solar:gallery-wide-linear" width="24" className={activeTool === "screenshot" ? "text-white" : "text-white/70"} />}+ icon={<Icon icon="solar:gallery-wide-linear" width="24" className={activeTool === "screenshot" ? "text-foreground" : "text-muted-foreground"} />}/><ToolButtonlabel={t("mockup")}isActive={activeTool === "mockup"}onClick={() => handleToolChange("mockup")}- icon={<Icon icon="hugeicons:ai-browser" width="24" className={activeTool === "mockup" ? "text-white" : "text-white/70"} />}+ icon={<Icon icon="hugeicons:ai-browser" width="24" className={activeTool === "mockup" ? "text-foreground" : "text-muted-foreground"} />}/><ToolButtonlabel={t("motion")}isActive={activeTool === "motion"}onClick={() => handleToolChange("motion")}- icon={<Icon icon="hugeicons:ai-browser" width="24" className={activeTool === "motion" ? "text-white" : "text-white/70"} />}+ icon={<Icon icon="hugeicons:ai-browser" width="24" className={activeTool === "motion" ? "text-foreground" : "text-muted-foreground"} />}/><ToolButtonlabel={t("zoom")}isActive={activeTool === "zoom"}onClick={() => handleToolChange("zoom")}- icon={<Icon icon="iconamoon:zoom-in-bold" width="24" className={activeTool === "zoom" ? "text-white" : "text-white/70"} />}+ icon={<Icon icon="iconamoon:zoom-in-bold" width="24" className={activeTool === "zoom" ? "text-foreground" : "text-muted-foreground"} />}/><ToolButtonlabel={t("videos")}isActive={activeTool === "video"}onClick={() => handleToolChange("video")}- icon={<Icon icon="iconamoon:zoom-in-bold" width="24" className={activeTool === "video" ? "text-white" : "text-white/70"} />}+ icon={<Icon icon="iconamoon:zoom-in-bold" width="24" className={activeTool === "video" ? "text-foreground" : "text-muted-foreground"} />}/><ToolButton@@ -153,7 +145,7 @@ export function MobileToolsMenu({<ElementsIconwidth={24}height={24}- className={activeTool === "elements" ? "text-white" : "text-white/70"}+ className={activeTool === "elements" ? "text-foreground" : "text-muted-foreground"}/>}/>@@ -162,22 +154,17 @@ export function MobileToolsMenu({label={t("audio")}isActive={activeTool === "audio"}onClick={() => handleToolChange("audio")}- icon={<Icon icon="mdi:volume-high" width="24" className={activeTool === "audio" ? "text-white" : "text-white/70"} />}+ icon={<Icon icon="mdi:volume-high" width="24" className={activeTool === "audio" ? "text-foreground" : "text-muted-foreground"} />}/><label- className={`flex items-center justify-center p-4 squircle-element transition-all duration-200 group relative flex-col gap-1 active:scale-95 cursor-pointer ${isUploading ? "opacity-50 cursor-not-allowed" : ""+ className={`flex items-center justify-center p-4 squircle-element transition-all duration-200 group relative flex-col gap-1 active:scale-95 cursor-pointer bg-muted border border-border shadow-sm ${isUploading ? "opacity-50 cursor-not-allowed" : ""}`}- style={{- background: "rgba(255, 255, 255, 0.05)",- border: "1px solid rgba(255, 255, 255, 0.1)",- boxShadow: isUploading ? "none" : "0 4px 4px 0 #0004",- }}><div className={`transition-transform duration-300 ${isUploading ? "animate-pulse" : "group-hover:scale-105"}`}>- <Icon icon={isUploading ? "svg-spinners:ring-resize" : "solar:cloud-upload-bold-duotone"} width="24" className="text-white" />+ <Icon icon={isUploading ? "svg-spinners:ring-resize" : "solar:cloud-upload-bold-duotone"} width="24" className="text-foreground" /></div>- <span className="text-sm font-medium text-white/70 group-hover:text-white transition-colors">+ <span className="text-sm font-medium text-muted-foreground group-hover:text-foreground transition-colors">{isUploading ? t("uploading") : t("uploadVideo")}</span>{!isUploading && (diff --git a/app/components/ui/editor/Mockup2dMenu.tsx b/app/components/ui/editor/Mockup2dMenu.tsxindex 49ad592..0fc3ab1 100644--- a/app/components/ui/editor/Mockup2dMenu.tsx+++ b/app/components/ui/editor/Mockup2dMenu.tsx@@ -51,7 +51,7 @@ export function Mockup2dMenu({return (<>- <div className="flex items-center gap-2 p-3 border-b border-white/6 shrink-0">+ <div className="flex items-center gap-2 p-3 border-b border-border shrink-0"><DetailPageHeaderlabel="Marco 2D"icon="hugeicons:ai-browser"@@ -61,7 +61,7 @@ export function Mockup2dMenu({<div className="p-4 flex flex-col gap-5">{currentMockup && (- <div className="relative w-full h-32 squircle-element overflow-hidden bg-neutral-900 border border-blue-500/30">+ <div className="relative w-full h-32 squircle-element overflow-hidden bg-muted border border-blue-500/30">{(() => {const categoryConfig = MOCKUP_CATEGORIES.find((c) => c.id === currentMockup.category@@ -89,20 +89,20 @@ export function Mockup2dMenu({{features.hasDarkMode && (<fieldset className="flex items-center justify-between w-full gap-4">- <legend className="float-left flex items-center gap-2 text-[11px] text-white/55 whitespace-nowrap">+ <legend className="float-left flex items-center gap-2 text-[11px] text-muted-foreground whitespace-nowrap"><Icon icon="ph:moon-bold" width="14" aria-hidden="true" /><span>{t("darkMode.label")}</span></legend><div- className="flex items-center gap-1 p-0.5 rounded-lg bg-white/6 border border-white/[0.07]"+ className="flex items-center gap-1 p-0.5 rounded-lg bg-muted border border-border"role="group"aria-label={t("darkMode.label")}><buttononClick={() => handleDarkModeChange(true)}className={`flex items-center gap-1 px-2 py-1 rounded-md text-[11px] transition-colors ${mockupConfig?.darkMode- ? "bg-[#09090B] border border-white/10 text-white/70"- : "text-white/30 hover:text-white/60"+ ? "bg-muted border border-border text-muted-foreground"+ : "text-muted-foreground/40 hover:text-muted-foreground"}`}aria-pressed={mockupConfig?.darkMode}aria-label={t("darkMode.dark")}@@ -113,8 +113,8 @@ export function Mockup2dMenu({<buttononClick={() => handleDarkModeChange(false)}className={`flex items-center gap-1 px-2 py-1 rounded-md text-[11px] transition-colors ${!mockupConfig?.darkMode- ? "bg-[#09090B] border border-white/10 text-white/70"- : "text-white/30 hover:text-white/60"+ ? "bg-muted border border-border text-muted-foreground"+ : "text-muted-foreground/40 hover:text-muted-foreground"}`}aria-pressed={!mockupConfig?.darkMode}aria-label={t("darkMode.light")}@@ -128,7 +128,7 @@ export function Mockup2dMenu({{features.hasFrameColor && (<div className="space-y-2.5">- <p className="text-[11px] uppercase tracking-widest text-white/70 font-bold">+ <p className="text-[11px] uppercase tracking-widest text-muted-foreground font-bold">{t("frameColor.label")}</p><div className="grid grid-cols-6 gap-2">@@ -136,16 +136,16 @@ export function Mockup2dMenu({<buttonkey={color}onClick={() => handleFrameColorChange(color)}- className={`aspect-square squircle-element cursor-pointer hover:ring-2 transition shadow-sm ring-white/60 border border-white/10 ${mockupConfig?.frameColor?.toLowerCase() === color.toLowerCase()- ? "ring-2 ring-white/90 shadow-lg shadow-white"- : "border-white/10 border-transparent hover:border-white/30"+ className={`aspect-square squircle-element cursor-pointer hover:ring-2 transition shadow-sm ring-foreground/60 border border-border ${mockupConfig?.frameColor?.toLowerCase() === color.toLowerCase()+ ? "ring-2 ring-foreground/80 shadow-lg shadow-foreground/20"+ : "border-transparent hover:border-muted-foreground/50"}`}style={{ backgroundColor: color }}aria-label={t("frameColor.ariaLabel", { color })}/>))}- <label className="aspect-square squircle-element border border-dashed border-white/30 bg-white/5 flex items-center justify-center hover:bg-white/10 transition group cursor-pointer relative">- <Icon icon="mingcute:color-picker-fill" width="20" className="text-white/30" aria-hidden="true" />+ <label className="aspect-square squircle-element border border-dashed border-border bg-muted flex items-center justify-center hover:bg-muted transition group cursor-pointer relative">+ <Icon icon="mingcute:color-picker-fill" width="20" className="text-muted-foreground/40" aria-hidden="true" /><inputtype="color"className="absolute inset-0 opacity-0 cursor-pointer w-full h-full"@@ -159,17 +159,17 @@ export function Mockup2dMenu({{features.hasUrl && (<div className="space-y-2">- <p className="text-[11px] uppercase tracking-widest text-white/70 font-bold">+ <p className="text-[11px] uppercase tracking-widest text-muted-foreground font-bold">{t("url.label")}</p>- <div className="flex items-center gap-2 px-3 py-2 rounded-lg bg-[#09090B] border border-white/[0.07] focus-within:border-blue-500/40 transition-colors">- <Icon icon="line-md:link" width="13" className="text-white/30 shrink-0" aria-hidden="true" />+ <div className="flex items-center gap-2 px-3 py-2 rounded-lg bg-muted border border-border focus-within:border-blue-500/40 transition-colors">+ <Icon icon="line-md:link" width="13" className="text-muted-foreground/40 shrink-0" aria-hidden="true" /><inputtype="text"value={mockupConfig?.url || ""}onChange={(e) => handleUrlChange(e.target.value)}placeholder={t("url.placeholder")}- className="flex-1 bg-transparent text-[11px] text-white/70 placeholder:text-white/20 outline-none font-mono"+ className="flex-1 bg-transparent text-[11px] text-muted-foreground placeholder:text-muted-foreground/40 outline-none font-mono"aria-label={t("url.label")}/></div>diff --git a/app/components/ui/editor/Mockup3dMenu.tsx b/app/components/ui/editor/Mockup3dMenu.tsxindex 68e68bd..2e6ff39 100644--- a/app/components/ui/editor/Mockup3dMenu.tsx+++ b/app/components/ui/editor/Mockup3dMenu.tsx@@ -81,7 +81,7 @@ function PositionPad({ref={padRef}className={`relative w-full rounded-[14px] overflow-hidden select-none border shadow-[inset_0_2px_8px_rgba(0,0,0,0.8)] transition-all duration-200 ${isDraggingState? "border-cyan-500/40 ring-1 ring-cyan-500/20"- : "border-zinc-800/50"+ : "border-border"}`}style={{ height: PAD_H }}onPointerDown={(e) => {@@ -269,20 +269,20 @@ export function Mockup3dMenu({return (<>- <div className="flex items-center gap-2 p-3 border-b border-white/6 shrink-0">+ <div className="flex items-center gap-2 p-3 border-b border-border shrink-0"><DetailPageHeader label={t("device3DTitle")} icon="mage:box-3d" onBack={onBack} /></div><div className="flex-1 overflow-y-auto custom-scrollbar px-4 py-4 space-y-6"><div className="flex items-center justify-between pb-1">- <span className="text-[10px] font-bold text-white/40 uppercase tracking-wider">+ <span className="text-[10px] font-bold text-muted-foreground/60 uppercase tracking-wider">{t("configuration")}</span><buttontype="button"onClick={handleReset}- className="flex items-center gap-1 text-[11px] text-white/50 hover:text-white transition-colors"+ className="flex items-center gap-1 text-[11px] text-muted-foreground/70 hover:text-foreground transition-colors"><Icon icon="lucide:rotate-ccw" width="11" />{t("reset")}@@ -321,7 +321,7 @@ export function Mockup3dMenu({)}<div className="flex flex-col gap-3 pt-2">- <span className="text-[10px] font-bold text-white/40 uppercase tracking-wider">+ <span className="text-[10px] font-bold text-muted-foreground/60 uppercase tracking-wider">{t("position")}</span>@@ -346,8 +346,8 @@ export function Mockup3dMenu({/></div>- <div className="flex flex-col gap-3 pt-4 border-t border-white/6">- <span className="text-[10px] font-bold text-white/40 uppercase tracking-wider">+ <div className="flex flex-col gap-3 pt-4 border-t border-border">+ <span className="text-[10px] font-bold text-muted-foreground/60 uppercase tracking-wider">{t("modelProperties") || "Propiedades del Modelo"}</span>@@ -376,20 +376,20 @@ export function Mockup3dMenu({/></div>- <div className="flex flex-col gap-3 pt-4 border-t border-white/6">- <span className="text-[10px] font-bold text-white/40 uppercase tracking-wider">+ <div className="flex flex-col gap-3 pt-4 border-t border-border">+ <span className="text-[10px] font-bold text-muted-foreground/60 uppercase tracking-wider">{t("lightingAndEnvironment") || "Entorno e Iluminación"}</span><div className="flex flex-col gap-1.5">- <span className="text-[11px] font-medium text-white/60">+ <span className="text-[11px] font-medium text-muted-foreground">{t("environment")}</span><Selectvalue={viewer3DEnvironment}onValueChange={(val) => setViewer3DEnvironment(val as EnvironmentPreset)}>- <SelectTrigger className="w-full bg-white/3 border-white/[0.07] text-white/80 h-9" textSize="xs">+ <SelectTrigger className="w-full bg-muted/50 border-border text-foreground/80 h-9" textSize="xs"><SelectValue placeholder={t("environment")} /></SelectTrigger><SelectContent>@@ -414,15 +414,15 @@ export function Mockup3dMenu({/></div>- <div className="flex flex-col gap-3 pt-4 border-t border-white/6">- <span className="text-[10px] font-bold text-white/40 uppercase tracking-wider">+ <div className="flex flex-col gap-3 pt-4 border-t border-border">+ <span className="text-[10px] font-bold text-muted-foreground/60 uppercase tracking-wider">{t("presentation") || "Animación y Exhibición"}</span><divclassName={`flex items-center justify-between px-3 py-2 squircle-element border transition-all ${viewer3DAutoRotate- ? "bg-blue-500/10 border-blue-500/40 text-blue-300"- : "bg-white/3 border-white/[0.07] text-white/60 hover:border-white/20"+ ? "bg-blue-500/10 border-blue-500/40 text-blue-600 dark:text-blue-300"+ : "bg-muted/50 border-border text-muted-foreground hover:border-muted-foreground/50"}`}><span className="flex items-center gap-2 text-[12px] font-medium">diff --git a/app/components/ui/editor/MockupMenu.tsx b/app/components/ui/editor/MockupMenu.tsxindex 07fa522..144f152 100644--- a/app/components/ui/editor/MockupMenu.tsx+++ b/app/components/ui/editor/MockupMenu.tsx@@ -306,13 +306,13 @@ export function MockupMenu({return (<div className="p-4 flex flex-col gap-6">- <div className="flex items-center gap-2 text-white font-medium">+ <div className="flex items-center gap-2 text-foreground font-medium"><Icon icon="hugeicons:ai-browser" width="20" aria-hidden="true" /><span>{t("title")}</span></div><div className="flex flex-col gap-3">- <p className="text-[11px] uppercase tracking-widest text-white/70 font-bold">+ <p className="text-[11px] uppercase tracking-widest text-muted-foreground font-bold">{t("frames2D")}</p>@@ -327,14 +327,14 @@ export function MockupMenu({<buttontype="button"className={`group relative flex items-center gap-3 p-2 squircle-element border transition-all w-full h-35 ${mockupId !== "none"- ? "bg-blue-500/10 border-blue-500/40 text-blue-300"- : "bg-white/3 border-white/[0.07] text-white/40 hover:border-white/20"+ ? "bg-blue-500/10 border-blue-500/40 text-blue-600 dark:text-blue-300"+ : "bg-muted/50 border-border text-muted-foreground/60 hover:border-border"}`}aria-label={t("windowType")}aria-haspopup="dialog"><div className="flex-1 flex flex-col gap-2 h-full justify-center overflow-hidden">- <div className="w-full squircle-element overflow-hidden bg-neutral-900 relative h-full">+ <div className="w-full squircle-element overflow-hidden bg-muted relative h-full">{(() => {const categoryConfig = MOCKUP_CATEGORIES.find((c) => c.id === currentMockup?.category@@ -357,29 +357,29 @@ export function MockupMenu({</span></div></div>- <div className="flex items-center justify-center px-1 border-l border-white/5 h-full group-hover:text-white transition-colors">+ <div className="flex items-center justify-center px-1 border-l border-border h-full group-hover:text-foreground transition-colors"><Icon icon="uil:sort" aria-hidden="true" width="20" /></div></button></PopoverTrigger><PopoverContent side="right" align="start" sideOffset={12} className="w-125 p-0 border-0 shadow-2xl">- <div className="flex flex-col bg-[#111113] border border-white/10 squircle-element-camera overflow-hidden shadow-2xl max-h-150">- <div className="flex items-center gap-2 px-4 py-3 border-b border-white/10 bg-white/2 flex-wrap">+ <div className="flex flex-col bg-popover dark:bg-black border border-border squircle-element-camera overflow-hidden shadow-2xl max-h-150">+ <div className="flex items-center gap-2 px-4 py-3 border-b border-border bg-muted/40 flex-wrap">{MOCKUP_CATEGORIES.map((cat) => (<buttonkey={cat.id}onClick={() => handleCategoryChange(cat.id)}className={`flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-[11px] font-medium uppercase tracking-wider transition-all ${selectedCategory === cat.id- ? "bg-blue-500/20 text-blue-400 border border-blue-500/40"- : "bg-white/5 text-white/60 hover:text-white/70 border border-transparent hover:border-white/10"+ ? "bg-blue-500/20 text-blue-600 dark:text-blue-400 border border-blue-500/40"+ : "bg-muted text-muted-foreground hover:text-muted-foreground border border-transparent hover:border-border"}`}><Icon icon={cat.icon} width="12" /><span>{t(`categories.${cat.id}`)}</span></button>))}- <span className="ml-auto text-[11px] text-white/70">+ <span className="ml-auto text-[11px] text-muted-foreground">{t("count", { count: filteredMockups.length })}</span></div>@@ -403,7 +403,7 @@ export function MockupMenu({<buttonkey={mockup.id}onClick={() => handleMockupSelect(mockup.id)}- className={`group relative w-full h-28 squircle-element border-2 overflow-hidden shadow-lg transition-all active:scale-95 ${isActive ? "border-blue-500 ring-2 ring-blue-500/50" : "border-neutral-800 hover:border-white/20"+ className={`group relative w-full h-28 squircle-element border-2 overflow-hidden shadow-lg transition-all active:scale-95 ${isActive ? "border-blue-500 ring-2 ring-blue-500/50" : "border-border hover:border-muted-foreground/50"}`}><div@@ -417,13 +417,13 @@ export function MockupMenu({{mockup.preview}</div></div>- <div className="absolute inset-0 group-hover:bg-black/5 transition-colors pointer-events-none" />- <div className="absolute bottom-0 left-0 bg-black/60 border-t border-r border-white/10 px-1 py-0.5 text-[11px] text-white/80 font-semibold tracking-tight rounded-tr-md rounded-bl-lg z-30">+ <div className="absolute inset-0 group-hover:bg-black/5 dark:group-hover:bg-white/5 transition-colors pointer-events-none" />+ <div className="absolute bottom-0 left-0 bg-black/60 border-t border-r border-border px-1 py-0.5 text-[11px] text-white/80 font-semibold tracking-tight rounded-tr-md rounded-bl-lg z-30">{t(`mockups.${mockup?.id}`) || t("none")}</div>{isActive && (<div className="absolute top-2 right-2 rounded-full shadow-[0_0_10px_rgba(96,165,250,0.8)] z-30">- <Icon icon="icon-park-solid:check-one" width="20" className="text-blue-500" />+ <Icon icon="icon-park-solid:check-one" width="20" className="text-blue-600 dark:text-blue-500" /></div>)}</button>@@ -448,7 +448,7 @@ export function MockupMenu({<buttonkey={id}onClick={() => handleMockupSelect(id)}- className={`group relative w-full h-20 squircle-element border overflow-hidden transition-all active:scale-95 ${isActive ? "border-blue-500/60 ring-1 ring-blue-500/30" : "border-white/[0.07] hover:border-white/20"+ className={`group relative w-full h-20 squircle-element border overflow-hidden transition-all active:scale-95 ${isActive ? "border-blue-500/60 ring-1 ring-blue-500/30" : "border-border hover:border-muted-foreground/50"}`}><div@@ -459,13 +459,13 @@ export function MockupMenu({{mockup.preview}</div></div>- <div className="absolute bottom-0 left-0 bg-black/60 border-t border-r border-white/10 px-1 py-0.5 text-[9px] text-white/80 font-semibold tracking-tight rounded-tr-md rounded-bl-lg z-30">+ <div className="absolute bottom-0 left-0 bg-black/60 border-t border-r border-border px-1 py-0.5 text-[9px] text-white/80 font-semibold tracking-tight rounded-tr-md rounded-bl-lg z-30">{t(`mockups.${mockup?.id}`) || t("none")}</div>{isActive && (<div className="absolute top-1.5 right-1.5 rounded-full shadow-[0_0_8px_rgba(96,165,250,0.7)] z-30 flex items-center justify-center size-4"><div className="absolute size-2 bg-white rounded-full z-0" />- <Icon icon="icon-park-solid:check-one" width="24" height="24" className="text-blue-500 relative z-10" />+ <Icon icon="icon-park-solid:check-one" width="24" height="24" className="text-blue-600 dark:text-blue-500 relative z-10" /></div>)}</button>@@ -476,19 +476,19 @@ export function MockupMenu({</div><>- <div className="h-px bg-white/6" />+ <div className="h-px bg-muted" /><div className="flex flex-col gap-3"><div className="flex items-center justify-between">- <p className="text-[11px] uppercase tracking-widest text-white/70 font-bold">+ <p className="text-[11px] uppercase tracking-widest text-muted-foreground font-bold">{t("devices3D")}</p><div className="flex items-center gap-2">- <div className="flex items-center squircle-element border border-white/8 bg-white/3 p-0.5">+ <div className="flex items-center squircle-element border border-border bg-muted/50 p-0.5"><buttontype="button"onClick={() => scrollDevices("left")}disabled={!canScrollLeft}- className="flex size-7 items-center justify-center squircle-element text-white/70 transition-all hover:bg-white/6 hover:text-white disabled:pointer-events-none disabled:opacity-30"+ className="flex size-7 items-center justify-center squircle-element text-muted-foreground transition-all hover:bg-muted hover:text-foreground disabled:pointer-events-none disabled:opacity-30"><Icon icon="ph:caret-left-bold" width="12" /></button>@@ -496,7 +496,7 @@ export function MockupMenu({type="button"onClick={() => scrollDevices("right")}disabled={!canScrollRight}- className="flex size-7 items-center justify-center rounded-full text-white/70 transition-all hover:bg-white/6 hover:text-white disabled:pointer-events-none disabled:opacity-30"+ className="flex size-7 items-center justify-center rounded-full text-muted-foreground transition-all hover:bg-muted hover:text-foreground disabled:pointer-events-none disabled:opacity-30"><Icon icon="ph:caret-right-bold" width="12" /></button>@@ -506,7 +506,7 @@ export function MockupMenu({<div className="relative"><div- className={`pointer-events-none absolute inset-y-0 right-0 z-20 w-12 bg-gradient-to-l from-[#141417] to-transparent transition-opacity duration-200 ${canScrollRight ? "opacity-100" : "opacity-0"+ className={`pointer-events-none absolute inset-y-0 right-0 z-20 w-12 bg-gradient-to-l from-background to-transparent transition-opacity duration-200 ${canScrollRight ? "opacity-100" : "opacity-0"}`}/><divdiff --git a/app/components/ui/editor/MockupMotionTrackItem.tsx b/app/components/ui/editor/MockupMotionTrackItem.tsxindex 6f7df9e..eee55ae 100644--- a/app/components/ui/editor/MockupMotionTrackItem.tsx+++ b/app/components/ui/editor/MockupMotionTrackItem.tsx@@ -195,14 +195,14 @@ export function MockupMotionTrackItem({onDragEnd={commitResize}onClick={(e) => e.stopPropagation()}>- <div className={`w-1 h-5 rounded-full ${isResizing === "start" ? "bg-orange-300" : "bg-orange-400/60"}`} />+ <div className={`w-1 h-5 rounded-full ${isResizing === "start" ? "bg-orange-500 dark:bg-orange-300" : "bg-orange-600/50 dark:bg-orange-400/60"}`} /></motion.div><div className="flex-1 flex flex-col items-center justify-center pointer-events-none overflow-hidden px-2">- <span className={`text-[10px] truncate ${isSelected || isInteracting ? "text-orange-200" : "text-orange-300/70"}`}>+ <span className={`text-[10px] truncate ${isSelected || isInteracting ? "text-orange-700 dark:text-orange-200" : "text-orange-700/70 dark:text-orange-300/70"}`}>{label}</span>- <span className={`text-[8px] truncate ${isSelected || isInteracting ? "text-orange-300/70" : "text-orange-400/45"}`}>+ <span className={`text-[8px] truncate ${isSelected || isInteracting ? "text-orange-700/70 dark:text-orange-300/70" : "text-orange-700/50 dark:text-orange-400/45"}`}>{duration.toFixed(1)}s</span></div>@@ -221,7 +221,7 @@ export function MockupMotionTrackItem({onDragEnd={commitResize}onClick={(e) => e.stopPropagation()}>- <div className={`w-1 h-5 rounded-full ${isResizing === "end" ? "bg-orange-300" : "bg-orange-400/60"}`} />+ <div className={`w-1 h-5 rounded-full ${isResizing === "end" ? "bg-orange-500 dark:bg-orange-300" : "bg-orange-600/50 dark:bg-orange-400/60"}`} /></motion.div></motion.div>diff --git a/app/components/ui/editor/MotionFragmentEditor.tsx b/app/components/ui/editor/MotionFragmentEditor.tsxindex 30ea5f7..9bba15f 100644--- a/app/components/ui/editor/MotionFragmentEditor.tsx+++ b/app/components/ui/editor/MotionFragmentEditor.tsx@@ -49,15 +49,15 @@ export function MotionFragmentEditor({custom.reverse;return (- <div className="flex flex-col h-full text-white">+ <div className="flex flex-col h-full text-foreground"><MotionPresetIconStyles />- <div className="flex items-center gap-2 p-3 border-b border-white/6 shrink-0">+ <div className="flex items-center gap-2 p-3 border-b border-border shrink-0"><DetailPageHeader label={t("title")} icon="ph:arrow-left-bold" onBack={onClose} /><TooltipAction label={t("deleteTooltip")}><buttononClick={onDelete}- className="ml-auto flex items-center gap-1.5 text-[11px] text-red-400/70 hover:text-red-400 px-2 py-1 rounded-md transition-colors shrink-0"+ className="ml-auto flex items-center gap-1.5 text-[11px] text-destructive/80 hover:text-destructive px-2 py-1 rounded-md transition-colors shrink-0"><Icon icon="ph:trash-bold" width="12" />{t("actions.delete")}@@ -85,12 +85,12 @@ export function MotionFragmentEditor({/></div>- <div className="space-y-3 p-3 bg-white/3 border border-white/8 squircle-element">+ <div className="space-y-3 p-3 bg-muted/40 border border-border squircle-element"><div className="flex items-center gap-2">- <Icon icon="mdi:tune" width="16" className="text-white/60" />+ <Icon icon="mdi:tune" width="16" className="text-muted-foreground" /><div>- <p className="text-xs font-medium text-white/80">{t("customize.title")}</p>- <p className="text-[11px] text-white/40">{t("customize.subtitle")}</p>+ <p className="text-xs font-medium text-foreground/90">{t("customize.title")}</p>+ <p className="text-[11px] text-muted-foreground">{t("customize.subtitle")}</p></div></div>@@ -131,8 +131,8 @@ export function MotionFragmentEditor({max={45}onChange={(v: number) => updateCustom({ rotateZ: v })}/>- <label className="flex items-center justify-between px-3 py-2.5 rounded-lg bg-white/[0.03] border border-white/5">- <span className="text-xs text-white/60">{t("customize.reverseLabel")}</span>+ <label className="flex items-center justify-between px-3 py-2.5 rounded-lg bg-muted/40 border border-border">+ <span className="text-xs text-muted-foreground">{t("customize.reverseLabel")}</span><Togglechecked={custom.reverse}onChange={(v: boolean) => updateCustom({ reverse: v })}@@ -142,7 +142,7 @@ export function MotionFragmentEditor({{hasCustomChanges && (<buttononClick={() => onUpdate({ custom: { ...DEFAULT_MOTION_CUSTOM_OFFSETS } })}- className="self-start text-xs text-white/40 hover:text-white transition-colors underline underline-offset-2"+ className="self-start text-xs text-muted-foreground hover:text-foreground transition-colors underline underline-offset-2">{t("customize.resetButton")}</button>diff --git a/app/components/ui/editor/MotionGlobalConfig.tsx b/app/components/ui/editor/MotionGlobalConfig.tsxindex fd78efc..fe646d0 100644--- a/app/components/ui/editor/MotionGlobalConfig.tsx+++ b/app/components/ui/editor/MotionGlobalConfig.tsx@@ -27,21 +27,21 @@ export function MotionGlobalConfig({return (<div className="p-4 flex flex-col gap-5 h-full relative"><div className="flex items-center justify-between shrink-0">- <div className="flex items-center gap-2 text-white font-medium">+ <div className="flex items-center gap-2 text-foreground font-medium"><Icon icon="ph:film-strip-bold" width="20" aria-hidden="true" /><span>{t("title")}</span></div>- <label className="flex items-center gap-2 text-xs text-white/40">+ <label className="flex items-center gap-2 text-xs text-muted-foreground"><span>{t("globalMotionLabel")}</span><Toggle checked={isGlobalMotionEnabled} onChange={onToggleGlobalMotion} disabled={true} /></label></div>- <div className="group bg-[#09090B] border border-dashed border-white/10 squircle-element p-8 text-center transition-colors">- <div className="w-12 h-12 rounded-full bg-white/5 border border-white/10 flex items-center justify-center mx-auto mb-4 group-hover:scale-105 transition-transform">- <Icon icon="ph:frame-corners-bold" width="24" className="text-white/40 group-hover:text-white/70 transition-colors" aria-hidden="true" />+ <div className="group bg-muted/50 border border-dashed border-border squircle-element p-8 text-center transition-colors">+ <div className="w-12 h-12 rounded-full bg-muted border border-border flex items-center justify-center mx-auto mb-4 group-hover:scale-105 transition-transform">+ <Icon icon="ph:frame-corners-bold" width="24" className="text-muted-foreground group-hover:text-foreground/80 transition-colors" aria-hidden="true" /></div>- <p className="text-sm font-medium text-white/70 mb-1">{t("empty2D.title")}</p>- <p className="text-xs text-white/40">{t("empty2D.description")}</p>+ <p className="text-sm font-medium text-foreground/80 mb-1">{t("empty2D.title")}</p>+ <p className="text-xs text-muted-foreground">{t("empty2D.description")}</p></div></div>);@@ -51,11 +51,11 @@ export function MotionGlobalConfig({<div className="p-4 flex flex-col gap-4 h-full relative min-h-0"><MotionPresetIconStyles /><div className="flex items-center justify-between shrink-0">- <div className="flex items-center gap-2 text-white font-medium">+ <div className="flex items-center gap-2 text-foreground font-medium"><Icon icon="ph:film-strip-bold" width="20" aria-hidden="true" /><span>{t("title")}</span></div>- <label className="flex items-center gap-2 text-xs text-white/40">+ <label className="flex items-center gap-2 text-xs text-muted-foreground"><span>{t("globalMotionLabel")}</span><Toggle checked={isGlobalMotionEnabled} onChange={onToggleGlobalMotion} activeColor="bg-orange-600" /></label>@@ -68,7 +68,7 @@ export function MotionGlobalConfig({return (<div key={category}><div className="flex items-center gap-2 mb-3">- <span className="text-[11px] font-bold uppercase tracking-widest text-white/70">+ <span className="text-[11px] font-bold uppercase tracking-widest text-muted-foreground">{t(`categories.${category}`)}</span></div>@@ -77,12 +77,12 @@ export function MotionGlobalConfig({<buttonkey={preset.id}onClick={() => onAddOrReplacePreset(preset.id)}- className="group flex flex-col gap-2 squircle-element-camera border border-neutral-800 bg-black p-2 text-left transition-all duration-200 hover:scale-[1.015] hover:border-neutral-700 hover:bg-neutral-900 active:scale-[0.98]"+ className="group flex flex-col gap-2 squircle-element-camera border border-border bg-card p-2 text-left transition-all duration-200 hover:scale-[1.015] hover:border-foreground/20 hover:bg-muted active:scale-[0.98]"><div className="relative w-full aspect-[16/10] rounded-lg overflow-hidden"><MotionPresetIcon presetId={preset.id} category={preset.category} active={false} fill forceAnimate={isGlobalMotionEnabled} /></div>- <span className="text-[11px] leading-tight truncate text-neutral-400 transition-colors group-hover:text-white">+ <span className="text-[11px] leading-tight truncate text-muted-foreground transition-colors group-hover:text-foreground">{t(`presets.${preset.id}`)}</span></button>diff --git a/app/components/ui/editor/PhotoEditorPlaceholder.tsx b/app/components/ui/editor/PhotoEditorPlaceholder.tsxindex 0b02107..de22204 100644--- a/app/components/ui/editor/PhotoEditorPlaceholder.tsx+++ b/app/components/ui/editor/PhotoEditorPlaceholder.tsx@@ -127,18 +127,18 @@ export function PhotoEditorPlaceholder({if (!previewImageUrl) {return (<div- className={`flex flex-col items-center justify-center bg-black border-t border-white/10 ${className}`}+ className={`flex flex-col items-center justify-center bg-background border-t border-border ${className}`}style={{ height: "180px" }}>- <div className="flex flex-col items-center gap-3 text-white/40">- <div className="p-3 squircle-element-camera bg-white/5 border border-white/10">+ <div className="flex flex-col items-center gap-3 text-muted-foreground/60">+ <div className="p-3 squircle-element-camera bg-muted border border-border"><Icon icon="lucide:image" width={28} height={28} aria-hidden="true" /></div><div className="text-center">- <p className="text-sm font-medium text-white/70">+ <p className="text-sm font-medium text-muted-foreground">{t("photoMode.title") || "No Image"}</p>- <p className="text-xs text-white/40 mt-1 max-w-xs">+ <p className="text-xs text-muted-foreground/60 mt-1 max-w-xs">{t("photoMode.description") || "Upload or capture an image to get started"}</p></div>@@ -195,44 +195,43 @@ export function PhotoEditorPlaceholder({if (isCustom) setIsCustomPopoverOpen(true);}}className={`group relative shrink-0 w-32 sm:w-62 aspect-video squircle-element p-px transition-all duration-300 ease-out outline-none ${isSelected- ? `shadow-[0_0_20px_rgba(0,163,255,0.15)]`+ ? "bg-muted/60 shadow-[0_0_20px_rgba(0,163,255,0.15)]": showCustomPlaceholder- ? "bg-gradient-radial-primary border border-dashed border-white/20 hover:border-white/40"- : "bg-white/10 hover:bg-white/20"+ ? "border border-dashed border-border hover:border-muted-foreground/50"+ : "bg-transparent hover:bg-muted/40"}`}aria-label={config.label}aria-pressed={isSelected}><div- className={`relative w-full h-full rounded-[10px] overflow-hidden transition-colors ${showCustomPlaceholder ? "bg-transparent" : "bg-black/90"+ className={`relative w-full h-full rounded-[10px] overflow-hidden transition-colors ${showCustomPlaceholder ? "bg-transparent" : ""}`}>{!showCustomPlaceholder && (<divclassName="absolute inset-0 opacity-10 pointer-events-none group-hover:opacity-[0.2] transition-opacity duration-300"style={{- backgroundImage: `radial-gradient(circle, #ffffff 0.8px, transparent 0.8px)`,+ backgroundImage: `radial-gradient(circle, var(--foreground) 0.8px, transparent 0.8px)`,backgroundSize: "10px 10px",}}/>)}{showCustomPlaceholder ? (- <div className="absolute inset-0 flex flex-col items-center justify-center gap-1.5 bg-white/3 group-hover:bg-white/5 border border-white/10 transition-colors">- <div className="size-8 rounded-full bg-white/5 border border-white/5 flex items-center justify-center">+ <div className="absolute inset-0 flex flex-col items-center justify-center gap-1.5 bg-background border border-border transition-colors">+ <div className="size-8 rounded-full bg-muted border border-border flex items-center justify-center"><Iconicon="mdi:tune-variant"width={16}- className="text-white/70 group-hover:text-[#00A3EE] transition-colors"+ className="text-muted-foreground group-hover:text-[#00A3EE] transition-colors"/></div>- <span className="text-[11px] font-semibold text-white/60 group-hover:text-white/80 transition-colors">+ <span className="text-[11px] font-semibold text-muted-foreground group-hover:text-foreground/80 transition-colors">{t("photoPreview.custom.customize")}</span></div>) : (<>- <div className="absolute inset-0 bg-linear-to-br from-white/3 to-transparent" />{isCustom && (<div className="absolute top-2 left-2 z-20 flex items-center gap-1 bg-black/60 backdrop-blur-md border border-white/10 px-1.5 py-0.5 rounded text-[9px] font-bold text-white/90 uppercase tracking-wider pointer-events-none shadow-lg"><Icon icon="mdi:tune" width={10} className="text-[#00A3EE]" aria-hidden="true" />@@ -248,7 +247,7 @@ export function PhotoEditorPlaceholder({className="w-full h-full flex items-center justify-center p-3"><div- className="relative w-full h-full max-w-[92%] max-h-[92%] rounded-lg overflow-hidden border border-white/20 shadow-[0_0_25px_rgba(255,255,255,0.15)]" style={{+ className="relative w-full h-full max-w-[92%] max-h-[92%] rounded-lg overflow-hidden border border-border shadow-[0_0_25px_rgba(255,255,255,0.15)]" style={{transform: `rotateX(${config.rotateX}deg) rotateY(${config.rotateY}deg) rotateZ(${config.rotateZ}deg) scale(${config.scale}) translateY(${config.translateY}%)`,transformStyle: "preserve-3d",transition: "transform 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94)",@@ -295,10 +294,10 @@ export function PhotoEditorPlaceholder({<PopoverContentalign="start"sideOffset={12}- className="w-64 bg-[#0A0A0A] border-white/10 shadow-2xl p-4 space-y-4 squircle-element-camera z-50"+ className="w-64 bg-popover dark:bg-black border-border shadow-2xl p-4 space-y-4 squircle-element-camera z-50"><PopoverHeader className="mb-2">- <PopoverTitle className="text-xs font-semibold text-white/80 tracking-wide uppercase flex items-center gap-2">+ <PopoverTitle className="text-xs font-semibold text-foreground/80 tracking-wide uppercase flex items-center gap-2"><Icon icon="mdi:tune" width={14} className="text-[#00A3EE]" />{t("photoPreview.custom.title")}</PopoverTitle>@@ -406,12 +405,12 @@ export function PhotoEditorPlaceholder({scale: preset.scale,});}}- className={`group relative shrink-0 w-32 sm:w-62 aspect-video squircle-element p-px transition-all duration-300 outline-none ${isSelected ? "shadow-[0_0_20px_rgba(0,163,255,0.15)]" : "bg-white/10 hover:bg-white/20"+ className={`group relative shrink-0 w-32 sm:w-62 aspect-video squircle-element p-px transition-all duration-300 outline-none ${isSelected ? "bg-muted/60 shadow-[0_0_20px_rgba(0,163,255,0.15)]" : "bg-transparent hover:bg-muted/40"}`}aria-label={preset.label}aria-pressed={isSelected}>- <div className="relative w-full h-full rounded-[10px] overflow-hidden bg-black/90">+ <div className="relative w-full h-full rounded-[10px] overflow-hidden bg-muted">{preset.imageUrl ? (<imgsrc={preset.imageUrl}@@ -420,9 +419,9 @@ export function PhotoEditorPlaceholder({draggable={false}/>) : (- <div className="absolute inset-0 flex flex-col items-center justify-center gap-1.5 bg-white/3 border border-dashed border-white/10">- <Icon icon="mdi:image-off-outline" width={16} className="text-white/30" aria-hidden="true" />- <span className="text-[9px] text-white/30 px-2 text-center">{preset.label}</span>+ <div className="absolute inset-0 flex flex-col items-center justify-center gap-1.5 bg-background/60 border border-dashed border-border">+ <Icon icon="mdi:image-off-outline" width={16} className="text-muted-foreground/60" aria-hidden="true" />+ <span className="text-[9px] text-muted-foreground/60 px-2 text-center">{preset.label}</span></div>)}@@ -446,9 +445,9 @@ export function PhotoEditorPlaceholder({};return (- <div className={`flex flex-col bg-black border-t border-white/10 ${className}`}>- <div className="h-12 shrink-0 border-t border-white/10 flex items-center justify-between px-3 bg-[#0D0D11] overflow-x-auto [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden">- <div className="flex items-center gap-2 text-white/70 whitespace-nowrap shrink-0">+ <div className={`flex flex-col bg-background border-t border-border ${className}`}>+ <div className="h-12 shrink-0 flex items-center justify-between px-3 overflow-x-auto [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden">+ <div className="flex items-center gap-2 text-muted-foreground whitespace-nowrap shrink-0"><Icon icon="mdi:tune-vertical" width={16} aria-hidden="true" /><span className="hidden sm:flex text-xs font-semibold tracking-wide uppercase">{t("photoPreview.settings")}@@ -468,8 +467,8 @@ export function PhotoEditorPlaceholder({size="sm"onClick={() => onToggle3DBackground(!apply3DToBackground)}className={`px-2.5 py-2 text-xs font-medium squircle-element transition-all ${apply3DToBackground- ? "bg-gradient-radial-primary text-cyan-500 border border-cyan-500/50!"- : "bg-white/5 text-white/60 border border-white/10 hover:bg-white/10"+ ? "text-cyan-500 border border-cyan-500/50!"+ : "bg-muted/60 text-muted-foreground border border-border hover:bg-muted"}`}aria-label={t("photoPreview.apply3D")}aria-pressed={apply3DToBackground}@@ -522,7 +521,7 @@ export function PhotoEditorPlaceholder({<Buttonvariant="outline"size="sm"- className="gap-1.5 px-3 py-1.5 text-xs bg-transparent border-white/10 hover:bg-white/5"+ className="gap-1.5 px-3 py-1.5 text-xs bg-transparent border-border hover:bg-muted"onClick={onOpenCropper}aria-label={t("cropper.tooltip")}>diff --git a/app/components/ui/editor/PlayerControls.tsx b/app/components/ui/editor/PlayerControls.tsxindex 4f3a811..6e980a0 100644--- a/app/components/ui/editor/PlayerControls.tsx+++ b/app/components/ui/editor/PlayerControls.tsx@@ -105,7 +105,7 @@ export function PlayerControls({return (<div- className="h-12 shrink-0 border-t border-white/10 flex items-center justify-between px-3 bg-[#0D0D11]"+ className="h-12 shrink-0 border-t border-border flex items-center justify-between px-3 bg-background"role="toolbar"aria-label={t("toolbar")}>@@ -115,34 +115,34 @@ export function PlayerControls({<buttononClick={() => onSplitClip?.()}disabled={!canSplitClip}- className="text-zinc-500 hover:text-white active:scale-95 transition-all p-1 flex items-center justify-center disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:text-zinc-500 disabled:active:scale-100"+ className="text-muted-foreground hover:text-foreground active:scale-95 transition-all p-1 flex items-center justify-center disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:text-muted-foreground disabled:active:scale-100"aria-label={t("split.clip")}><Icon icon="mingcute:scissors-fill" width="15" aria-hidden="true" /></button></TooltipAction>- <div className="h-4 w-px bg-white/10" />+ <div className="h-4 w-px bg-border" /><div className="flex items-center gap-2" role="group" aria-label={t("zoom.group")}><TooltipAction label={t("zoom.out")}><buttononClick={handleZoomOut}disabled={zoomLevel <= MIN_ZOOM}- className="text-zinc-500 hover:text-white transition-colors disabled:opacity-50 disabled:cursor-not-allowed"+ className="text-muted-foreground hover:text-foreground transition-colors disabled:opacity-50 disabled:cursor-not-allowed"aria-label={t("zoom.out")}><Icon icon="mdi:magnify-minus-outline" width="16" aria-hidden="true" /></button></TooltipAction>- <div className="w-16 h-0.75 bg-white/10 rounded-full relative group cursor-pointer">+ <div className="w-16 h-0.75 bg-muted rounded-full relative group cursor-pointer"><div- className="absolute top-0 left-0 h-full bg-zinc-500 rounded-full transition-[width] duration-75"+ className="absolute top-0 left-0 h-full bg-muted-foreground rounded-full transition-[width] duration-75"style={{ width: `${zoomPercentage}%` }}/><div- className="absolute top-1/2 -translate-y-1/2 w-2.5 h-2.5 bg-white rounded-full shadow-md transition-[left] duration-75 group-hover:scale-110"+ className="absolute top-1/2 -translate-y-1/2 w-2.5 h-2.5 bg-foreground rounded-full shadow-md transition-[left] duration-75 group-hover:scale-110"style={{ left: `calc(${zoomPercentage}% - 5px)` }}/><input@@ -164,23 +164,23 @@ export function PlayerControls({<buttononClick={handleZoomIn}disabled={zoomLevel >= MAX_ZOOM}- className="text-zinc-500 hover:text-white transition-colors disabled:opacity-50 disabled:cursor-not-allowed"+ className="text-muted-foreground hover:text-foreground transition-colors disabled:opacity-50 disabled:cursor-not-allowed"aria-label={t("zoom.in")}><Icon icon="mdi:magnify-plus-outline" width="16" aria-hidden="true" /></button></TooltipAction>- <span className="text-[11px] font-mono text-zinc-500 min-w-5" aria-live="polite" aria-atomic="true">+ <span className="text-[11px] font-mono text-muted-foreground min-w-5" aria-live="polite" aria-atomic="true">{Math.round(zoomLevel)}×</span></div>- <div className="h-4 w-px bg-white/10" />+ <div className="h-4 w-px bg-border" /><TooltipAction label={fullscreenLabel}><buttononClick={onToggleFullscreen}- className="text-zinc-500 hover:text-white transition-colors"+ className="text-muted-foreground hover:text-foreground transition-colors"aria-label={fullscreenLabel}aria-pressed={isFullscreen}>@@ -191,7 +191,7 @@ export function PlayerControls({<div className="flex items-center gap-4" role="group" aria-label={t("transport.group")}><span- className="text-[11px] font-mono text-zinc-500"+ className="text-[11px] font-mono text-muted-foreground"aria-label={t("transport.currentTime", { time: formatTime(currentTime) })}>{formatTime(currentTime)}@@ -200,7 +200,7 @@ export function PlayerControls({<div className="flex items-center gap-2.5"><TooltipAction label={t("transport.backward")}><button- className="text-zinc-500 hover:text-white transition-colors"+ className="text-muted-foreground hover:text-foreground transition-colors"onClick={onSkipBackward}aria-label={t("transport.backward")}>@@ -211,7 +211,7 @@ export function PlayerControls({<TooltipAction label={playPauseLabel}><buttononClick={onTogglePlayPause}- className="w-9 h-9 flex items-center justify-center rounded-full bg-white/10 hover:bg-white/10 text-white transition border border-white/10"+ className="w-9 h-9 flex items-center justify-center rounded-full bg-muted hover:bg-muted text-foreground transition border border-border"aria-label={playPauseLabel}aria-pressed={isPlaying}>@@ -221,7 +221,7 @@ export function PlayerControls({<TooltipAction label={t("transport.forward")}><button- className="text-zinc-500 hover:text-white transition-colors"+ className="text-muted-foreground hover:text-foreground transition-colors"onClick={onSkipForward}aria-label={t("transport.forward")}>@@ -231,7 +231,7 @@ export function PlayerControls({</div><span- className="text-[11px] font-mono text-zinc-500"+ className="text-[11px] font-mono text-muted-foreground"aria-label={t("transport.totalTime", { time: formatTime(videoDuration) })}>{formatTime(videoDuration)}diff --git a/app/components/ui/editor/Timeline.tsx b/app/components/ui/editor/Timeline.tsxindex eea5f89..849a3ba 100644--- a/app/components/ui/editor/Timeline.tsx+++ b/app/components/ui/editor/Timeline.tsx@@ -427,7 +427,7 @@ export function Timeline({: totalLanesCount === 1? 'h-50': 'h-38'- } shrink-0 bg-[#0D0D11] border-t border-white/10 flex flex-col font-mono text-[11px] transition-all duration-200`}+ } shrink-0 bg-background border-t border-border flex flex-col font-mono text-[11px] transition-all duration-200`}><div className="flex-1 flex flex-col relative overflow-hidden"><LabelSidebar@@ -483,7 +483,7 @@ export function Timeline({</motion.div><div- className="h-[18px] border-b border-white/10 relative shrink-0 cursor-pointer bg-zinc-900/40 select-none overflow-hidden"+ className="h-5.5 border-b border-border relative shrink-0 cursor-pointer bg-muted/40 select-none overflow-hidden"onClick={handleTrackClick}><div@@ -499,11 +499,11 @@ export function Timeline({{validDuration > 0 && timeMarkers.map((marker, i) => (<spankey={i}- className="absolute top-1 select-none text-[11px] leading-none text-zinc-500 font-mono"+ className="absolute top-1 select-none text-[11px] leading-none text-muted-foreground font-mono"style={{left: marker.position,transform: i === 0 ? 'translateX(0)' : i === timeMarkers.length - 1 ? 'translateX(-100%)' : 'translateX(-50%)',- textShadow: '0 0 2px #0D0D11, 0 0 4px #0D0D11'+ textShadow: '0 0 2px var(--color-background), 0 0 4px var(--color-background)'}}>{formatTime(marker.time)}@@ -515,7 +515,7 @@ export function Timeline({<div className="flex-1 flex flex-col min-h-max" onClick={handleTrackClick}><div className="flex-1 min-h-[55px] shrink-0 flex items-center py-0.5 relative">- <div className="h-full w-full rounded-md flex items-center relative bg-[#0a1510] border border-white/5">+ <div className="h-full w-full rounded-md flex items-center relative bg-muted/40 dark:bg-[#0a1510] border border-border">{videoClips.length > 0 ? (<>{videoClips.map((clip) => (@@ -546,7 +546,7 @@ export function Timeline({<motion.div className="absolute right-0 top-0 bottom-0 bg-black/60 rounded-r-md z-10" style={{ left: trimOverlayRightLeft, width: trimOverlayRightWidth }} />)}<motion.div- className="absolute top-0 bottom-0 rounded-md border border-[#34A853]/40 bg-[#182e20] overflow-hidden"+ className="absolute top-0 bottom-0 rounded-md border border-[#34A853]/40 bg-emerald-100 dark:bg-[#182e20] overflow-hidden"style={{ left: clipLeftMotion, width: clipWidthMotion }}><div className="absolute inset-0 flex items-center overflow-hidden">@@ -684,8 +684,8 @@ export function Timeline({transition={{ duration: 0 }}><div className="w-full h-full rounded border border-dashed border-blue-400/50 bg-blue-500/10 flex flex-col items-center justify-center gap-0.5">- <Icon icon="qlementine-icons:zoom-12" width="12" height="12" className="text-blue-400" aria-hidden="true" />- <span className="text-[8px] font-mono text-blue-400/60">+ Zoom</span>+ <Icon icon="qlementine-icons:zoom-12" width="12" height="12" className="text-blue-600 dark:text-blue-400" aria-hidden="true" />+ <span className="text-[8px] font-mono text-blue-600/60 dark:text-blue-400/60">+ Zoom</span></div></motion.div>)}@@ -695,7 +695,7 @@ export function Timeline({style={{ left: ghostX - 64 }}><div className="w-full h-full rounded border border-dashed border-red-400/50 bg-red-500/10 flex flex-col items-center justify-center gap-0.5">- <span className="text-[8px] font-mono text-red-400/60"> {t("noSpace")}</span>+ <span className="text-[8px] font-mono text-red-600/60 dark:text-red-400/60"> {t("noSpace")}</span></div></div>)}diff --git a/app/components/ui/editor/ToolsSidebar.tsx b/app/components/ui/editor/ToolsSidebar.tsxindex 8abe44a..ef4fccb 100644--- a/app/components/ui/editor/ToolsSidebar.tsx+++ b/app/components/ui/editor/ToolsSidebar.tsx@@ -178,15 +178,15 @@ export function ToolsSidebar({const getRecordButtonContent = () => {if (isCountdown) {- return { icon: "svg-spinners:ring-resize", text: t("recording.preparing"), className: "text-orange-400" };+ return { icon: "svg-spinners:ring-resize", text: t("recording.preparing"), className: "text-orange-500 dark:text-orange-400" };}if (isRecording) {- return { icon: "fluent:record-20-filled", text: t("recording.recording"), className: "text-red-400 animate-pulse" };+ return { icon: "fluent:record-20-filled", text: t("recording.recording"), className: "text-red-500 dark:text-red-400 animate-pulse" };}if (isProcessing) {- return { icon: "svg-spinners:ring-resize", text: t("recording.processing"), className: "text-blue-400" };+ return { icon: "svg-spinners:ring-resize", text: t("recording.processing"), className: "text-blue-600 dark:text-blue-400" };}- return { icon: "fluent:screenshot-record-16-regular", text: t("recording.start"), className: "group-hover:text-red-400" };+ return { icon: "fluent:screenshot-record-16-regular", text: t("recording.start"), className: "group-hover:text-red-500 dark:group-hover:text-red-400" };};const recordButtonContent = getRecordButtonContent();@@ -220,14 +220,13 @@ export function ToolsSidebar({}, []);return (- <div ref={sidebarWrapperRef} className="relative shrink-0 bg-[#141417]" style={{ width: '90px' }} role="complementary" aria-label={t("tools.toolbar")}>+ <div ref={sidebarWrapperRef} className="relative shrink-0 bg-background" style={{ width: '90px' }} role="complementary" aria-label={t("tools.toolbar")}><aside- className="absolute top-1/2 left-12 -translate-x-1/2 -translate-y-1/2 flex flex-col items-center justify-center gap-4 squircle-element-xl border shadow-md shadow-white/20 border-white/10 z-40"+ className="absolute top-1/2 left-12 -translate-x-1/2 -translate-y-1/2 flex flex-col items-center justify-center gap-4 squircle-element-xl border shadow-md shadow-black/10 border-border dark:border-white/10 dark:shadow-white/20 z-40 bg-[radial-gradient(circle_at_50%_30%,#ffffff_0%,#ececec_64%)] dark:bg-[radial-gradient(circle_at_50%_30%,#2a2a2a_0%,#131313_64%)]"style={{height: sidebarHeight ? `${sidebarHeight}px` : 'calc(100% - 1rem)',maxHeight: sidebarHeight ? `${sidebarHeight}px` : '800px',minWidth: '70px',- background: 'radial-gradient(circle at 50% 30%, #2a2a2a 0%, #131313 64%)',}}role="toolbar"aria-orientation="vertical"@@ -374,10 +373,10 @@ export function ToolsSidebar({onDragLeave={handleDragLeave}onDrop={handleDrop}>- <div className="absolute -top-0.5 left-0 w-full border-t border-white/10" />+ <div className="absolute -top-0.5 left-0 w-full border-t border-border" />{showMobileAlert && (- <div className="absolute bottom-full mb-2 left-1/2 -translate-x-1/2 w-64 p-3 bg-red-500/10 border border-red-500/30 rounded-lg text-xs text-red-300 z-50">+ <div className="absolute bottom-full mb-2 left-1/2 -translate-x-1/2 w-64 p-3 bg-destructive/10 border border-destructive/30 rounded-lg text-xs text-destructive z-50">{t("alerts.mobile")}</div>)}@@ -390,7 +389,7 @@ export function ToolsSidebar({}`}><Icon icon={recordButtonContent.icon} width="24" height="24" className={`transition-colors ${recordButtonContent.className}`} />- <span className={`text-xs font-medium transition-colors ${!isIdle ? recordButtonContent.className : "text-white/70 group-hover:text-red-400"+ <span className={`text-xs font-medium transition-colors ${!isIdle ? recordButtonContent.className : "text-muted-foreground group-hover:text-red-500"}`}>{recordButtonContent.text}</span>@@ -402,8 +401,8 @@ export function ToolsSidebar({onClick={handleUploadClick}disabled={isUploading}className={`w-full flex flex-col items-center text-center justify-center gap-1.5 p-2 squircle-element-camera cursor-pointer transition-all group disabled:opacity-50 disabled:cursor-not-allowed border-2 ${isDragging- ? "bg-blue-500/20 text-blue-400 border-dashed border-blue-400/50 scale-105"- : "border-transparent text-white/70 hover:bg-blue-500/20 hover:text-blue-400"+ ? "bg-blue-500/20 text-blue-600 dark:text-blue-400 border-dashed border-blue-400/50 scale-105"+ : "border-transparent text-muted-foreground hover:bg-blue-500/20 hover:text-blue-600 dark:hover:text-blue-400"}`}aria-label={isUploading ? t("upload.buttonUploading") : t("upload.button")}>@@ -440,7 +439,7 @@ export function ToolsSidebar({onDragLeave={handleImageDragLeave}onDrop={handleImageDrop}>- <div className="absolute -top-0.5 left-0 w-full border-t border-white/10" />+ <div className="absolute -top-0.5 left-0 w-full border-t border-border" /><TooltipAction label={t("photo.captureTooltip")}><button@@ -455,9 +454,9 @@ export function ToolsSidebar({width="24"aria-hidden="true"height="24"- className={`transition-colors ${isCapturing ? "text-cyan-400" : "text-white/70 group-hover:text-cyan-400"}`}+ className={`transition-colors ${isCapturing ? "text-cyan-600 dark:text-cyan-400" : "text-muted-foreground group-hover:text-cyan-600 dark:group-hover:text-cyan-400"}`}/>- <span className={`text-xs font-medium transition-colors ${isCapturing ? "text-cyan-400" : "text-white/70 group-hover:text-cyan-400"+ <span className={`text-xs font-medium transition-colors ${isCapturing ? "text-cyan-600 dark:text-cyan-400" : "text-muted-foreground group-hover:text-cyan-600 dark:group-hover:text-cyan-400"}`}>{isCapturing ? t("photo.capturing") : t("photo.capture")}</span>@@ -469,8 +468,8 @@ export function ToolsSidebar({onClick={handleImageUploadClick}disabled={isUploading}className={`w-full flex flex-col items-center text-center justify-center gap-1.5 p-2 squircle-element-camera cursor-pointer transition-all group disabled:opacity-50 disabled:cursor-not-allowed border-2 ${isImageDragging- ? "bg-blue-500/20 text-blue-400 border-dashed border-blue-400/50 scale-105"- : "border-transparent text-white/70 hover:bg-blue-500/20 hover:text-blue-400"+ ? "bg-blue-500/20 text-blue-600 dark:text-blue-400 border-dashed border-blue-400/50 scale-105"+ : "border-transparent text-muted-foreground hover:bg-blue-500/20 hover:text-blue-600 dark:hover:text-blue-400"}`}>{isUploading ? (diff --git a/app/components/ui/editor/VideoCanvas.tsx b/app/components/ui/editor/VideoCanvas.tsxindex 8b0f41c..04f7843 100644--- a/app/components/ui/editor/VideoCanvas.tsx+++ b/app/components/ui/editor/VideoCanvas.tsx@@ -1739,7 +1739,7 @@ function VideoCanvasInner({/></div>) : (- <div ref={mockupContentRef} className="w-full h-full aspect-video min-w-75 border border-white/25 flex flex-col overflow-hidden">+ <div ref={mockupContentRef} className="w-full h-full aspect-video min-w-75 border border-border/60 flex flex-col overflow-hidden"><PlaceholderEditoronVideoUpload={mediaType === "video" ? onVideoUpload : onImageUpload}isUploading={isUploading}@@ -1813,7 +1813,7 @@ function VideoCanvasInner({return (<div- className="flex-1 flex items-center justify-center min-h-0 min-w-0 overflow-hidden bg-[#09090B] p-2 sm:p-4 lg:p-1 relative"+ className="flex-1 flex items-center justify-center min-h-0 min-w-0 overflow-hidden bg-background p-2 sm:p-4 lg:p-1 relative"onDragOver={handleDragOver}onDragLeave={handleDragLeave}onDrop={handleDrop}@@ -1867,7 +1867,7 @@ function VideoCanvasInner({<RotationGuideLine rotationGuide={rotationGuide} /><div className="absolute inset-0 pointer-events-none z-0"- style={{ backgroundImage: 'radial-gradient(rgb(39, 39, 42) 1px, transparent 1px)', backgroundSize: '24px 24px' }}>+ style={{ backgroundImage: 'radial-gradient(var(--border) 1px, transparent 1px)', backgroundSize: '24px 24px' }}></div><canvasref={exportCanvasRef}@@ -1878,7 +1878,7 @@ function VideoCanvasInner({<div className="flex items-stretch min-h-0 min-w-0 w-full h-full justify-center gap-0"><div ref={canvasWrapperRef} className="flex-1 flex items-center justify-center min-h-0 min-w-0 mr-1">- <div className="relative shrink-0 squircle-element-camera border border-white/20 overflow-hidden">+ <div className="relative shrink-0 squircle-element-camera border border-border overflow-hidden"><divref={previewContainerRef}className="relative shrink-0 transition-all duration-300 overflow-hidden"@@ -2132,7 +2132,7 @@ function VideoCanvasInner({{(isVideoSelected || isVideoHovered) && hasMedia && !isDraggingRotation && !imagePhoneActive && !PHOTO_MOCKUPS.includes(mockupId) && (<div- className={`absolute -inset-px border pointer-events-none z-10 opacity-80 ${isVideoSelected ? "border-blue-500" : "border-white"+ className={`absolute -inset-px border pointer-events-none z-10 opacity-80 ${isVideoSelected ? "border-blue-500" : "border-foreground/60"}`}style={{ borderRadius: `${getMockupOuterRadius(mockupId, roundedCorners) + 1}px` }}/>@@ -2336,7 +2336,7 @@ function VideoCanvasInner({style={{ width: PHONE_W, height: PHONE_H }}className="flex items-center justify-center">- <div className="w-6 h-6 border-2 border-white/20 border-t-white/60 rounded-full animate-spin" />+ <div className="w-6 h-6 border-2 border-border border-t-foreground/60 rounded-full animate-spin" /></div>) : (<Mockup3DFrame@@ -2375,14 +2375,14 @@ function VideoCanvasInner({{alignmentGuides.vertical.map((x, index) => (<divkey={`v-${index}`}- className="absolute top-0 bottom-0 w-0.5 bg-white/30 pointer-events-none"+ className="absolute top-0 bottom-0 w-0.5 bg-foreground/30 pointer-events-none"style={{ left: `${x}%`, zIndex: VIDEO_Z_INDEX + 100 }}/>))}{alignmentGuides.horizontal.map((y, index) => (<divkey={`h-${index}`}- className="absolute left-0 right-0 h-0.5 bg-white/30 pointer-events-none"+ className="absolute left-0 right-0 h-0.5 bg-foreground/30 pointer-events-none"style={{ top: `${y}%`, zIndex: VIDEO_Z_INDEX + 100 }}/>))}@@ -2394,14 +2394,14 @@ function VideoCanvasInner({{mockupAlignmentGuides.vertical.map((x, index) => (<divkey={`mockup-v-${index}`}- className="absolute top-0 bottom-0 w-0.5 bg-white/30 pointer-events-none"+ className="absolute top-0 bottom-0 w-0.5 bg-foreground/30 pointer-events-none"style={{ left: `${x}%`, zIndex: VIDEO_Z_INDEX + 100 }}/>))}{mockupAlignmentGuides.horizontal.map((y, index) => (<divkey={`mockup-h-${index}`}- className="absolute left-0 right-0 h-0.5 bg-white/30 pointer-events-none"+ className="absolute left-0 right-0 h-0.5 bg-foreground/30 pointer-events-none"style={{ top: `${y}%`, zIndex: VIDEO_Z_INDEX + 100 }}/>))}diff --git a/app/components/ui/editor/VideoClipTrackItem.tsx b/app/components/ui/editor/VideoClipTrackItem.tsxindex 5eab330..b28c1c3 100644--- a/app/components/ui/editor/VideoClipTrackItem.tsx+++ b/app/components/ui/editor/VideoClipTrackItem.tsx@@ -218,7 +218,7 @@ export function VideoClipTrackItem({<motion.divref={containerRef}className={`absolute top-0 bottom-0 rounded-md cursor-grab active:cursor-grabbing overflow-hidden group transition-colors duration-200 ${isSelected ? 'ring-[1px] ring-[#4ade80] shadow-[0_0_12px_rgba(74,222,128,0.3)] z-10' : ''- } ${isInteracting ? 'z-10' : 'z-0'}`}+ } ${isInteracting ? 'z-10' : 'z-0'} ${isHovered ? 'bg-emerald-200 dark:bg-[#1c3525]' : 'bg-emerald-100 dark:bg-[#182e20]'}`}style={{x: clipX,width: clipWidth,@@ -227,7 +227,6 @@ export function VideoClipTrackItem({: isHovered? '1px solid rgba(52, 168, 83, 0.65)': '1px solid rgba(52, 168, 83, 0.4)',- background: isHovered ? '#1c3525' : '#182e20',}}drag="x"dragConstraints={{ left: 0, right: contentWidth / speed }}@@ -268,11 +267,11 @@ export function VideoClipTrackItem({/><div className="absolute inset-0 flex items-center justify-center pointer-events-none z-10">- <span className={`flex items-center gap-2 text-[11px] font-medium drop-shadow-sm transition-colors duration-200 ${isHovered ? 'text-emerald-300' : 'text-emerald-400'+ <span className={`flex items-center gap-2 text-[11px] font-medium drop-shadow-sm transition-colors duration-200 ${isHovered ? 'text-emerald-700 dark:text-emerald-300' : 'text-emerald-700 dark:text-emerald-400'}`}><Icon icon="solar:videocamera-record-bold" width="12" className="opacity-70" /><span className="truncate max-w-30">{clip.name}</span>- <span className={`font-mono text-[11px] transition-colors duration-200 ${isHovered ? 'text-emerald-300/80' : 'text-emerald-400/60'+ <span className={`font-mono text-[11px] transition-colors duration-200 ${isHovered ? 'text-emerald-700/80 dark:text-emerald-300/80' : 'text-emerald-700/60 dark:text-emerald-400/60'}`}>{formatDuration(clipDuration / speed)}</span>diff --git a/app/components/ui/editor/VideoCropperModal.tsx b/app/components/ui/editor/VideoCropperModal.tsxindex 7b08f7a..c960c1d 100644--- a/app/components/ui/editor/VideoCropperModal.tsx+++ b/app/components/ui/editor/VideoCropperModal.tsx@@ -255,23 +255,23 @@ export function VideoCropperModal({animate={{ scale: 1, opacity: 1, y: 0 }}exit={{ scale: 0.96, opacity: 0, y: 8 }}transition={{ duration: 0.18, ease: [0.16, 1, 0.3, 1] }}- className="bg-[#0a0a0b] rounded-2xl border border-white/10 w-[94vw] max-w-6xl h-[88vh] flex flex-col overflow-hidden shadow-2xl"+ className="bg-popover dark:bg-black rounded-2xl border border-border w-[94vw] max-w-6xl h-[88vh] flex flex-col overflow-hidden shadow-2xl">- <div className="flex items-center justify-between px-5 py-3.5 border-b border-white/10">+ <div className="flex items-center justify-between px-5 py-3.5 border-b border-border"><div className="flex items-center gap-2.5">- <div className="w-6 h-6 rounded-md bg-white/10 flex items-center justify-center">- <Icon icon="mdi:crop" className="text-sm text-white/70" aria-hidden="true" />+ <div className="w-6 h-6 rounded-md bg-muted flex items-center justify-center">+ <Icon icon="mdi:crop" className="text-sm text-muted-foreground" aria-hidden="true" /></div>- <span className="text-sm font-medium text-white">{t("title")}</span>+ <span className="text-sm font-medium text-foreground">{t("title")}</span>{videoDimensions.width > 0 && (- <span className="text-[11px] font-mono text-white/70 bg-white/4 px-2 py-0.5 rounded-md border border-white/10">+ <span className="text-[11px] font-mono text-muted-foreground bg-muted px-2 py-0.5 rounded-md border border-border">{videoDimensions.width} × {videoDimensions.height}</span>)}</div><buttononClick={onClose}- className="w-7 h-7 flex items-center justify-center rounded-lg hover:bg-white/10 transition-colors text-white/40 hover:text-white/70"+ className="w-7 h-7 flex items-center justify-center rounded-lg hover:bg-muted transition-colors text-muted-foreground hover:text-foreground"aria-label={t("close")}><Icon icon="mdi:close" className="text-base" aria-hidden="true" />@@ -303,7 +303,7 @@ export function VideoCropperModal({autoPlay/>) : (- <div className="absolute inset-0 bg-white/3 rounded-lg flex items-center justify-center text-white/20 text-sm">+ <div className="absolute inset-0 bg-muted rounded-lg flex items-center justify-center text-muted-foreground/60 text-sm">{t("noVideo")}</div>)}@@ -376,9 +376,9 @@ export function VideoCropperModal({</div></div>- <div className="w-56 shrink-0 border-l border-white/10 flex flex-col bg-[#0d0d0f]">- <div className="p-4 border-b border-white/10">- <p className="text-[11px] uppercase tracking-widest font-semibold text-white/70 mb-3">+ <div className="w-56 shrink-0 border-l border-border flex flex-col bg-card">+ <div className="p-4 border-b border-border">+ <p className="text-[11px] uppercase tracking-widest font-semibold text-muted-foreground mb-3">{t("sections.ratio")}</p><div className="grid grid-cols-3 gap-1">@@ -388,7 +388,7 @@ export function VideoCropperModal({onClick={() => handleAspectRatioSelect(ratio.value)}className={`w-full py-1.5 text-[11px] font-medium rounded-lg transition-all ${selectedAspectRatio === ratio.value? "text-white border-transparent"- : "bg-white/4 text-white/40 hover:bg-white/8 hover:text-white/70 border border-white/10"+ : "bg-muted/60 text-muted-foreground hover:bg-muted hover:text-foreground border border-border"}`}style={selectedAspectRatio === ratio.value@@ -409,8 +409,8 @@ export function VideoCropperModal({</div></div>- <div className="p-4 border-b border-white/10">- <p className="text-[11px] uppercase tracking-widest font-semibold text-white/70 mb-3">+ <div className="p-4 border-b border-border">+ <p className="text-[11px] uppercase tracking-widest font-semibold text-muted-foreground mb-3">{t("sections.area")}</p><div className="space-y-2">@@ -421,9 +421,9 @@ export function VideoCropperModal({{ label: t("labels.height"), value: cropArea.height },].map(({ label, value }) => (<div key={label} className="flex items-center justify-between">- <span className="text-[11px] text-white/25 font-mono w-4">{label}</span>- <div className="flex-1 mx-3 h-px bg-white/4" />- <span className="text-[11px] font-mono text-white/60">{value.toFixed(1)}%</span>+ <span className="text-[11px] text-muted-foreground/60 font-mono w-4">{label}</span>+ <div className="flex-1 mx-3 h-px bg-border/60" />+ <span className="text-[11px] font-mono text-muted-foreground">{value.toFixed(1)}%</span></div>))}</div>@@ -435,7 +435,7 @@ export function VideoCropperModal({<Button variant="outline" onClick={handleReset}>{t("buttons.reset")}</Button>- <Button variant="primary" onClick={handleApply}>+ <Button variant="primary" className="text-white" onClick={handleApply}>{t("buttons.apply")}</Button></div>diff --git a/app/components/ui/editor/VideosMenu.tsx b/app/components/ui/editor/VideosMenu.tsxindex 4cbbd62..5d3d55e 100644--- a/app/components/ui/editor/VideosMenu.tsx+++ b/app/components/ui/editor/VideosMenu.tsx@@ -166,26 +166,26 @@ export function VideosMenu({initial={{ opacity: 0 }}animate={{ opacity: 1 }}exit={{ opacity: 0 }}- className="absolute inset-0 z-50 flex flex-col items-center justify-center bg-[#09090B]/90 backdrop-blur-sm border-2 border-blue-500 border-dashed squircle-element-camera m-2"+ className="absolute inset-0 z-50 flex flex-col items-center justify-center bg-muted/90 backdrop-blur-sm border-2 border-blue-500 border-dashed squircle-element-camera m-2"onDragLeave={handleDragLeave}onDrop={handleDrop}>- <div className="w-14 h-14 rounded-full bg-blue-500/20 border flex items-center justify-center border-blue-500/50 text-blue-400 mb-4 scale-110">+ <div className="w-14 h-14 rounded-full bg-blue-500/20 border flex items-center justify-center border-blue-500/50 text-blue-600 dark:text-blue-400 mb-4 scale-110"><Icon icon="solar:upload-minimalistic-bold" className="text-2xl" /></div>- <p className="text-blue-400 font-medium text-sm">{t("dropzone")}</p>+ <p className="text-blue-600 dark:text-blue-400 font-medium text-sm">{t("dropzone")}</p></motion.div>)}</AnimatePresence><input ref={fileInputRef} type="file" accept="video/*" onChange={handleFileSelect} className="hidden" />- <div className="flex items-center gap-2 text-white font-medium">+ <div className="flex items-center gap-2 text-foreground font-medium"><Icon icon="solar:video-library-outline" width="20" aria-hidden="true" /><span>{t("title")}</span></div>- <div className="bg-[#09090B] border border-white/5 squircle-element p-3 shrink-0 mb-1">+ <div className="bg-muted border border-border squircle-element p-3 shrink-0 mb-1"><TickSliderControllabel={t("speed")}value={globalSpeed}@@ -201,27 +201,27 @@ export function VideosMenu({<div className="flex-1 overflow-y-auto custom-scrollbar -mx-1 px-1">{isLoading ? (<div className="flex items-center justify-center py-8" role="status">- <Icon icon="svg-spinners:ring-resize" width="24" className="text-white/40" aria-hidden="true" />+ <Icon icon="svg-spinners:ring-resize" width="24" className="text-muted-foreground/60" aria-hidden="true" /></div>) : videos.length === 0 ? (<divonClick={triggerFileUpload}- className="group bg-[#09090B] border border-dashed border-white/10 hover:border-white/30 hover:bg-white/3 squircle-element p-8 text-center cursor-pointer transition-colors"+ className="group bg-muted border border-dashed border-border hover:border-muted-foreground/50 hover:bg-muted/50 squircle-element p-8 text-center cursor-pointer transition-colors"role="button"tabIndex={0}aria-label={t("emptyState.title")}onKeyDown={(e) => { if (e.key === 'Enter' || e.key === ' ') { e.preventDefault(); triggerFileUpload(); } }}>- <div className="w-12 h-12 rounded-full bg-white/5 border border-white/10 flex items-center justify-center mx-auto mb-4 group-hover:scale-105 transition-transform">+ <div className="w-12 h-12 rounded-full bg-muted border border-border flex items-center justify-center mx-auto mb-4 group-hover:scale-105 transition-transform"><Iconicon="solar:upload-minimalistic-outline"width="24"- className="text-white/40 group-hover:text-white/70 transition-colors"+ className="text-muted-foreground/60 group-hover:text-muted-foreground transition-colors"aria-hidden="true"/></div>- <p className="text-sm font-medium text-white/70 mb-1">{t("emptyState.title")}</p>- <p className="text-xs text-white/40 mb-5">{t("emptyState.instruction")}</p>+ <p className="text-sm font-medium text-muted-foreground mb-1">{t("emptyState.title")}</p>+ <p className="text-xs text-muted-foreground/60 mb-5">{t("emptyState.instruction")}</p><Button disabled={isUploading} variant="outline" className="w-full text-xs">{isUploading ? (<>@@ -267,13 +267,13 @@ export function VideosMenu({initial={{ opacity: 0, scale: 0.95 }}animate={{ opacity: 1, scale: 1 }}exit={{ opacity: 0, scale: 0.95 }}- className={`group flex flex-col squircle-element border overflow-hidden transition-all duration-200 bg-neutral-950 w-full ${videosInTrackIds.includes(video.id)+ className={`group flex flex-col squircle-element border overflow-hidden transition-all duration-200 bg-card w-full ${videosInTrackIds.includes(video.id)? "border-blue-500 shadow-[0_0_15px_rgba(59,130,246,0.15)]"- : "border-neutral-800 hover:border-neutral-700"+ : "border-border hover:border-muted-foreground/50"}`}><div- className="relative w-full aspect-video cursor-pointer overflow-hidden border-b border-neutral-800/50 bg-black"+ className="relative w-full aspect-video cursor-pointer overflow-hidden border-b border-border bg-black"onClick={() => {if (!addingId) {videosInTrackIds.includes(video.id)@@ -290,7 +290,7 @@ export function VideosMenu({/>) : (<div className="w-full h-full flex items-center justify-center">- <Icon icon="solar:play-bold" width="28" className="text-neutral-800" />+ <Icon icon="solar:play-bold" width="28" className="text-muted-foreground/40" /></div>)}@@ -301,12 +301,12 @@ export function VideosMenu({}`}>{addingId === video.id ? (- <div className="p-2.5 rounded-full bg-black/60 backdrop-blur-sm border border-neutral-800">+ <div className="p-2.5 rounded-full bg-black/60 backdrop-blur-sm border border-border"><Icon icon="svg-spinners:ring-resize" width="20" className="text-white" /></div>) : videosInTrackIds.includes(video.id) ? (<div className="p-2 rounded-full bg-blue-500/20 backdrop-blur-sm border border-blue-500/50">- <Icon icon="solar:check-circle-bold" width="24" className="text-blue-400" />+ <Icon icon="solar:check-circle-bold" width="24" className="text-blue-600 dark:text-blue-400" /></div>) : (<div className="absolute inset-0 flex items-center justify-center bg-black/20 backdrop-blur-[1px]">@@ -320,7 +320,7 @@ export function VideosMenu({</div><div className="flex items-center justify-between px-2.5">- <span className="text-[11px] font-mono font-medium text-neutral-400">+ <span className="text-[11px] font-mono font-medium text-muted-foreground">{formatVideoDuration(video.duration)}</span>@@ -333,10 +333,10 @@ export function VideosMenu({}}disabled={video.originalHasAudio === false}className={`p-1.5 squircle-element transition-colors ${video.originalHasAudio === false- ? "text-neutral-500 cursor-not-allowed"+ ? "text-muted-foreground cursor-not-allowed": video.hasAudio === false- ? "text-red-400 hover:bg-red-500/10"- : "text-neutral-400 hover:text-white hover:bg-neutral-800"+ ? "text-red-600 dark:text-red-400 hover:bg-red-500/10"+ : "text-muted-foreground hover:text-foreground hover:bg-muted"}`}><Icon@@ -353,7 +353,7 @@ export function VideosMenu({handleDelete(video.id);}}disabled={deletingId === video.id}- className="p-1.5 squircle-element text-neutral-400 hover:text-red-400 hover:bg-red-500/10 transition-colors disabled:opacity-50"+ className="p-1.5 squircle-element text-muted-foreground hover:text-red-600 dark:hover:text-red-400 hover:bg-red-500/10 transition-colors disabled:opacity-50">{deletingId === video.id ? (<Icon icon="svg-spinners:ring-resize" width="14" />@@ -372,7 +372,7 @@ export function VideosMenu({)}</div>- <div className="text-[11px] text-white/25 text-center pt-2 border-t border-white/5 shrink-0">+ <div className="text-[11px] text-muted-foreground/40 text-center pt-2 border-t border-border shrink-0">{t("footer")}</div></div>diff --git a/app/components/ui/editor/ZoomFragmentEditor.tsx b/app/components/ui/editor/ZoomFragmentEditor.tsxindex 5f0a7a5..ef8616b 100644--- a/app/components/ui/editor/ZoomFragmentEditor.tsx+++ b/app/components/ui/editor/ZoomFragmentEditor.tsx@@ -84,16 +84,16 @@ export function ZoomFragmentEditor({};return (- <div className="flex flex-col h-full text-white">+ <div className="flex flex-col h-full text-foreground">{/* Header */}- <div className="flex items-center gap-2 p-3 border-b border-white/6 shrink-0">+ <div className="flex items-center gap-2 p-3 border-b border-border shrink-0"><DetailPageHeaderlabel={t("title")}icon="ph:arrow-left-bold"onBack={onBack}/><TooltipAction label={t("deleteTooltip")}>- <button onClick={onDelete} className="ml-auto flex items-center gap-1.5 text-[11px] text-red-400/70 hover:text-red-400 px-2 py-1 rounded-md transition-colors shrink-0">+ <button onClick={onDelete} className="ml-auto flex items-center gap-1.5 text-[11px] text-destructive/80 hover:text-destructive px-2 py-1 rounded-md transition-colors shrink-0"><Icon icon="ph:trash-bold" width="12" />{t("actions.delete")}</button>@@ -104,20 +104,20 @@ export function ZoomFragmentEditor({{/* Focus point preview */}<div>- <div className="flex items-center gap-2 text-xs mb-2 text-white/70">+ <div className="flex items-center gap-2 text-xs mb-2 text-muted-foreground"><Icon icon="material-symbols:center-focus-strong-outline" width="16" /><span>{movementEnabled ? t("focusPoints.multiple") : t("focusPoints.single")}</span>{movementEnabled && (<div className="ml-auto flex gap-1"><buttononClick={() => setEditingPoint('start')}- className={`px-2 py-0.5 rounded text-[11px] font-mono transition-colors ${editingPoint === 'start' ? 'bg-blue-500/30 text-blue-300 border border-blue-500/50' : 'bg-white/5 text-white/40 hover:bg-white/10'}`}+ className={`px-2 py-0.5 rounded text-[11px] font-mono transition-colors ${editingPoint === 'start' ? 'bg-blue-500/30 text-blue-300 border border-blue-500/50' : 'bg-muted/60 text-muted-foreground/80 hover:bg-muted'}`}>{t("focusPoints.start")}</button><buttononClick={() => setEditingPoint('end')}- className={`px-2 py-0.5 rounded text-[11px] font-mono transition-colors ${editingPoint === 'end' ? 'bg-emerald-500/30 text-emerald-300 border border-emerald-500/50' : 'bg-white/5 text-white/40 hover:bg-white/10'}`}+ className={`px-2 py-0.5 rounded text-[11px] font-mono transition-colors ${editingPoint === 'end' ? 'bg-emerald-500/30 text-emerald-300 border border-emerald-500/50' : 'bg-muted/60 text-muted-foreground/80 hover:bg-muted'}`}>{t("focusPoints.end")}</button>@@ -126,7 +126,7 @@ export function ZoomFragmentEditor({</div><divref={focusPreviewRef}- className="relative w-full squircle-element overflow-hidden bg-[#0a0a0e] border border-white/10 select-none"+ className="relative w-full squircle-element overflow-hidden bg-muted dark:bg-[#0a0a0e] border border-border select-none"style={{ aspectRatio: videoDimensions ? `${videoDimensions.width}/${videoDimensions.height}` : "16/9" }}onClick={handlePreviewClick}>@@ -183,7 +183,7 @@ export function ZoomFragmentEditor({)}<div className="absolute bottom-2 left-0 right-0 flex justify-center pointer-events-none">- <span className="text-[7px] text-white/20 font-mono uppercase tracking-[0.3em]">+ <span className="text-[7px] text-muted-foreground/50 font-mono uppercase tracking-[0.3em]">{movementEnabled ? t("preview.dragAB") : t("preview.dragOrClick")}</span></div>@@ -191,13 +191,13 @@ export function ZoomFragmentEditor({</div>{/* Camera movement */}- <div className="space-y-3 p-3 bg-white/3 border border-white/8 squircle-element">+ <div className="space-y-3 p-3 bg-muted/40 border border-border squircle-element"><div className="flex items-center justify-between"><div className="flex items-center gap-2">- <Icon icon="mdi:vector-line" width="16" className="text-white/60" />+ <Icon icon="mdi:vector-line" width="16" className="text-muted-foreground" /><div>- <p className="text-xs font-medium text-white/80">{t("movement.title")}</p>- <p className="text-[11px] text-white/40">{t("movement.subtitle")}</p>+ <p className="text-xs font-medium text-foreground/90">{t("movement.title")}</p>+ <p className="text-[11px] text-muted-foreground">{t("movement.subtitle")}</p></div></div><Toggle@@ -249,9 +249,9 @@ export function ZoomFragmentEditor({};return holdDuration > 0.1 ? (- <div className="space-y-3 p-3 bg-[#0A0A0A] border border-[#262626] squircle-element-camera group transition-all">+ <div className="space-y-3 p-3 bg-card border border-border squircle-element-camera group transition-all"><div className="flex items-center justify-between">- <div className="flex items-center gap-2 text-[11px] font-medium text-white/60">+ <div className="flex items-center gap-2 text-[11px] font-medium text-muted-foreground"><span>{t("movement.timeline.title")}</span></div><div className="flex items-center gap-2">@@ -262,9 +262,9 @@ export function ZoomFragmentEditor({</div><div className="space-y-3">- <div className="relative h-9 flex rounded-md overflow-hidden bg-[#141414] border border-[#1F1F1F]">- <div className="h-full bg-white/3 border-r border-white/5 flex items-center justify-center opacity-40 hover:opacity-100 transition-opacity" style={{ width: `${entryPct}%` }}>- <Icon icon="iconamoon:zoom-in-fill" width="12" className="text-white/40" />+ <div className="relative h-9 flex rounded-md overflow-hidden bg-muted border border-border">+ <div className="h-full bg-muted/40 border-r border-border flex items-center justify-center opacity-40 hover:opacity-100 transition-opacity" style={{ width: `${entryPct}%` }}>+ <Icon icon="iconamoon:zoom-in-fill" width="12" className="text-muted-foreground" /></div><div className="h-full relative flex-1 bg-transparent" style={{ width: `${holdPct}%` }} data-hold-timeline><div className="absolute top-1.5 bottom-1.5 bg-emerald-500/20 border border-emerald-500/40 rounded-sm cursor-grab active:cursor-grabbing hover:bg-emerald-500/30 transition-all" style={{ left: `min(${moveStartPct}%, calc(100% - 28px))`, width: `${moveEndPct - moveStartPct}%`, minWidth: '28px' }} onMouseDown={(e) => handleTimelineDrag(e, 'range')}>@@ -279,23 +279,23 @@ export function ZoomFragmentEditor({</div></div><div className="absolute inset-0 flex justify-between px-1 pointer-events-none opacity-25">- {[...Array(6)].map((_, i) => (<div key={i} className="w-px h-full bg-white" />))}+ {[...Array(6)].map((_, i) => (<div key={i} className="w-px h-full bg-foreground/20" />))}</div></div>- <div className="h-full bg-white/3 border-l border-white/5 flex items-center justify-center opacity-40 hover:opacity-100 transition-opacity" style={{ width: `${exitPct}%` }}>- <Icon icon="iconamoon:zoom-out-fill" width="12" className="text-white/40" />+ <div className="h-full bg-muted/40 border-l border-border flex items-center justify-center opacity-40 hover:opacity-100 transition-opacity" style={{ width: `${exitPct}%` }}>+ <Icon icon="iconamoon:zoom-out-fill" width="12" className="text-muted-foreground" /></div></div><div className="flex items-center justify-between px-0.5">- <div className="flex gap-4 text-[9px] font-mono text-white/30">+ <div className="flex gap-4 text-[9px] font-mono text-muted-foreground/80"><span className="flex items-center gap-1.5"><span className="text-emerald-500/50">{t("movement.timeline.startLabel")}</span>- <span className="text-white/70">{startOffset.toFixed(1)}s</span>+ <span className="text-foreground/80">{startOffset.toFixed(1)}s</span></span><span className="flex items-center gap-1.5"><span className="text-emerald-500/50">{t("movement.timeline.endLabel")}</span>- <span className="text-white/70">{endOffset.toFixed(1)}s</span>+ <span className="text-foreground/80">{endOffset.toFixed(1)}s</span></span></div></div>@@ -303,7 +303,7 @@ export function ZoomFragmentEditor({</div>) : (<div className="p-3 bg-amber-500/10 border border-amber-500/20 squircle-element">- <div className="flex items-center gap-2 text-xs text-amber-400/80">+ <div className="flex items-center gap-2 text-xs text-amber-600 dark:text-amber-400"><span>{t("movement.tooShort")}</span></div></div>@@ -313,13 +313,13 @@ export function ZoomFragmentEditor({{/* 3D effect */}{!is3DModelActive && (- <div className="space-y-3 p-3 bg-white/3 border border-white/8 squircle-element">+ <div className="space-y-3 p-3 bg-muted/40 border border-border squircle-element"><div className="flex items-center justify-between"><div className="flex items-center gap-2">- <Icon icon="mdi:cube-outline" width="16" className="text-white/60" />+ <Icon icon="mdi:cube-outline" width="16" className="text-muted-foreground" /><div>- <p className="text-xs font-medium text-white/80">{tCommon("effect3d.title")}</p>- <p className="text-[11px] text-white/40">{tCommon("effect3d.subtitle")}</p>+ <p className="text-xs font-medium text-foreground/90">{tCommon("effect3d.title")}</p>+ <p className="text-[11px] text-muted-foreground">{tCommon("effect3d.subtitle")}</p></div></div><Toggle@@ -330,7 +330,7 @@ export function ZoomFragmentEditor({</div>{fragment.enable3D && (- <div className="space-y-3 pt-3 border-t border-gray-500/20">+ <div className="space-y-3 pt-3 border-t border-border"><SliderControl icon="mdi:brightness-6" label={tCommon("effect3d.intensity")} value={fragment.perspective3DIntensity ?? 50} min={0} max={100} step={5} onChange={(value) => onUpdate({ perspective3DIntensity: value })} suffix="%" />{(() => {const defaultAngleX = ((fragment.focusY - 50) / 50) * 15;@@ -357,24 +357,24 @@ export function ZoomFragmentEditor({<SliderControl icon="mdi:magnify-plus-outline" label={t("sliders.zoomLevel")} value={fragment.zoomLevel} min={1} max={10} step={0.1} onChange={(value) => onUpdate({ zoomLevel: value })} /><SliderControl icon="mdi:speedometer" label={t("sliders.transitionSpeed")} value={fragment.speed} min={1} max={10} step={0.1} onChange={(value) => onUpdate({ speed: value })} />- <div className="h-px bg-white/10" />+ <div className="h-px bg-border" /><div className="space-y-2"><div className="flex items-center justify-between text-[11px]">- <span className="text-white/35">{t("info.fragmentDuration")}</span>- <span className="font-mono text-white/55 bg-white/10 px-2 py-0.5 rounded">+ <span className="text-muted-foreground/70">{t("info.fragmentDuration")}</span>+ <span className="font-mono text-muted-foreground bg-muted px-2 py-0.5 rounded">{formatZoomTime(fragment.startTime)} - {formatZoomTime(fragment.endTime)}</span></div><div className="flex items-center justify-between text-[11px]">- <span className="text-white/35">{t("info.zoomFactor")}</span>- <span className="font-mono text-white/55 bg-white/10 px-2 py-0.5 rounded">+ <span className="text-muted-foreground/70">{t("info.zoomFactor")}</span>+ <span className="font-mono text-muted-foreground bg-muted px-2 py-0.5 rounded">{zoomLevelToFactor(fragment.zoomLevel).toFixed(1)}×</span></div><div className="flex items-center justify-between text-[11px]">- <span className="text-white/35">{t("info.transitionDuration")}</span>- <span className="font-mono text-white/55 bg-white/10 px-2 py-0.5 rounded">+ <span className="text-muted-foreground/70">{t("info.transitionDuration")}</span>+ <span className="font-mono text-muted-foreground bg-muted px-2 py-0.5 rounded">{(speedToTransitionMs(fragment.speed) / 1000).toFixed(1)}s</span></div>diff --git a/app/components/ui/editor/ZoomFragmentTrackItem.tsx b/app/components/ui/editor/ZoomFragmentTrackItem.tsxindex 5fc9f3a..5efb499 100644--- a/app/components/ui/editor/ZoomFragmentTrackItem.tsx+++ b/app/components/ui/editor/ZoomFragmentTrackItem.tsx@@ -235,17 +235,17 @@ export function ZoomFragmentTrackItem({tabIndex={0}><div className={`w-1 h-6 rounded-full transition-all ${isResizing === 'start'- ? 'bg-blue-300 scale-110'- : 'bg-blue-400/60 group-hover/resize:bg-blue-300'+ ? 'bg-blue-500 dark:bg-blue-300 scale-110'+ : 'bg-blue-500/70 group-hover/resize:bg-blue-500 dark:bg-blue-400/60 dark:group-hover/resize:bg-blue-300'}`} /></motion.div>{/* Content */}<div className="flex-1 flex flex-col items-center justify-center pointer-events-none overflow-hidden px-2">- <span className={`text-[11px] truncate ${isSelected || isInteracting ? 'text-blue-200' : 'text-blue-300/70'}`}>+ <span className={`text-[11px] truncate ${isSelected || isInteracting ? 'text-blue-700 dark:text-blue-200' : 'text-blue-700/70 dark:text-blue-300/70'}`}>Zoom</span>- <span className={`text-[9px] truncate ${isSelected || isInteracting ? 'text-blue-300/70' : 'text-blue-400/45'}`}>+ <span className={`text-[9px] truncate ${isSelected || isInteracting ? 'text-blue-700/70 dark:text-blue-300/70' : 'text-blue-700/50 dark:text-blue-400/45'}`}>{zoomLevelToFactor(fragment.zoomLevel).toFixed(1)}× · {(duration / speed).toFixed(1)}s</span></div>@@ -269,8 +269,8 @@ export function ZoomFragmentTrackItem({tabIndex={0}><div className={`w-1 h-6 rounded-full transition-all ${isResizing === 'end'- ? 'bg-blue-300 scale-110'- : 'bg-blue-400/60 group-hover/resize:bg-blue-300'+ ? 'bg-blue-500 dark:bg-blue-300 scale-110'+ : 'bg-blue-500/70 group-hover/resize:bg-blue-500 dark:bg-blue-400/60 dark:group-hover/resize:bg-blue-300'}`} /></motion.div></motion.div>diff --git a/app/components/ui/editor/ZoomGlobalConfig.tsx b/app/components/ui/editor/ZoomGlobalConfig.tsxindex 8765acf..8d09721 100644--- a/app/components/ui/editor/ZoomGlobalConfig.tsx+++ b/app/components/ui/editor/ZoomGlobalConfig.tsx@@ -22,7 +22,7 @@ export function ZoomGlobalConfig({return (<div className="p-4 flex flex-col gap-6"><div className="flex items-center">- <div className="flex items-center gap-2 text-white font-medium">+ <div className="flex items-center gap-2 text-foreground font-medium"><Icon icon="iconamoon:zoom-in-bold" width="20" aria-hidden="true" /><span>{t("title")}</span></div>@@ -30,7 +30,7 @@ export function ZoomGlobalConfig({{fragments.length > 0 && (<div className="space-y-2">- <div className="text-[11px] uppercase tracking-widest text-white/70 font-bold">+ <div className="text-[11px] uppercase tracking-widest text-muted-foreground font-bold">{t("fragments.title", { count: fragments.length })}</div><div@@ -42,7 +42,7 @@ export function ZoomGlobalConfig({<buttonkey={fragment.id}onClick={() => onSelectFragment(fragment.id)}- className="w-full flex items-center gap-3 p-2.5 rounded-lg bg-[#09090B] border border-white/10 hover:border-blue-500/30 hover:bg-blue-500/5 transition-all group"+ className="w-full flex items-center gap-3 p-2.5 rounded-lg bg-muted/50 border border-border hover:border-blue-500/30 hover:bg-blue-500/5 transition-all group"role="listitem"aria-label={`${t("fragments.label", { index: index + 1 })}, ${formatZoomTime(fragment.startTime@@ -54,25 +54,25 @@ export function ZoomGlobalConfig({<Iconicon="iconamoon:zoom-in-bold"width="14"- className="text-blue-400"+ className="text-blue-600 dark:text-blue-400"aria-hidden="true"/></div><div className="flex flex-col items-start flex-1 min-w-0">- <span className="text-xs text-white/80 font-medium">+ <span className="text-xs text-foreground/90 font-medium">{t("fragments.label", { index: index + 1 })}</span>- <span className="text-[11px] text-white/40 font-mono">+ <span className="text-[11px] text-muted-foreground font-mono">{formatZoomTime(fragment.startTime)} - {formatZoomTime(fragment.endTime)}</span></div>- <div className="text-[11px] text-white/30 font-mono">+ <div className="text-[11px] text-muted-foreground/80 font-mono">{zoomLevelToFactor(fragment.zoomLevel).toFixed(1)}×</div><Iconicon="ph:caret-right"width="14"- className="text-white/20 group-hover:text-white/40"+ className="text-muted-foreground/50 group-hover:text-muted-foreground"aria-hidden="true"/></button>@@ -91,17 +91,17 @@ export function ZoomGlobalConfig({{t("fragments.add")}</Button>- <div className="text-[11px] text-white/60 space-y-1 pt-2 border-t border-white/10">+ <div className="text-[11px] text-muted-foreground space-y-1 pt-2 border-t border-border"><div className="flex items-center gap-2">- <kbd className="px-1.5 py-0.5 bg-white/5 rounded font-mono">{t("shortcuts.keys.delete")}</kbd>+ <kbd className="px-1.5 py-0.5 bg-muted rounded font-mono">{t("shortcuts.keys.delete")}</kbd><span>{t("shortcuts.delete")}</span></div><div className="flex items-center gap-2">- <kbd className="px-1.5 py-0.5 bg-white/5 rounded font-mono">{t("shortcuts.keys.esc")}</kbd>+ <kbd className="px-1.5 py-0.5 bg-muted rounded font-mono">{t("shortcuts.keys.esc")}</kbd><span>{t("shortcuts.esc")}</span></div><div className="flex items-center gap-2">- <kbd className="px-1.5 py-0.5 bg-white/5 rounded font-mono">{t("shortcuts.keys.click")}</kbd>+ <kbd className="px-1.5 py-0.5 bg-muted rounded font-mono">{t("shortcuts.keys.click")}</kbd><span>{t("shortcuts.clickTrack")}</span></div></div>diff --git a/app/components/ui/home/HeroEditorPreview.tsx b/app/components/ui/home/HeroEditorPreview.tsxindex 44ff345..63ed61f 100644--- a/app/components/ui/home/HeroEditorPreview.tsx+++ b/app/components/ui/home/HeroEditorPreview.tsx@@ -697,7 +697,6 @@ export default function HeroEditorPreview() {return (<section className="relative w-full overflow-visible flex justify-center animate-fade-in-up">- {/* Capa de Gradientes de Fondo */}<div className="pointer-events-none absolute top-0 left-1/2 -translate-x-1/2 w-screen min-w-[140vw] md:min-w-0 max-w-480 h-full -z-10 overflow-visible flex justify-center"><divclassName="absolute inset-0 -top-28 bottom-64 w-full h-full mix-blend-hard-light blur-[80px] md:blur-[120px] transform-gpu will-change-transform"diff --git a/app/contexts/useAuth.tsx b/app/contexts/useAuth.tsxindex ca05cd9..bd134ff 100644--- a/app/contexts/useAuth.tsx+++ b/app/contexts/useAuth.tsx@@ -19,6 +19,7 @@ export interface UserProfile {last_name: string | null;avatar_url: string | null;provider: string;+ theme: "light" | "dark" | "system";created_at: string;updated_at: string;}diff --git a/app/globals.css b/app/globals.cssindex f0d4096..3926660 100644--- a/app/globals.css+++ b/app/globals.css@@ -68,6 +68,8 @@--border: oklch(0.922 0 0);--input: oklch(0.922 0 0);--ring: oklch(0.708 0 0);+ --scrollbar-thumb: oklch(0.84 0 0);+ --scrollbar-thumb-hover: oklch(0.62 0 0);--chart-1: oklch(0.646 0.222 41.116);--chart-2: oklch(0.6 0.118 184.704);--chart-3: oklch(0.398 0.07 227.392);@@ -104,6 +106,8 @@--border: oklch(1 0 0 / 10%);--input: oklch(1 0 0 / 15%);--ring: oklch(0.556 0 0);+ --scrollbar-thumb: #414040;+ --scrollbar-thumb-hover: #5e5e5e;--chart-1: oklch(0.488 0.243 264.376);--chart-2: oklch(0.696 0.17 162.48);--chart-3: oklch(0.769 0.188 70.08);@@ -155,9 +159,9 @@.shimmer-text {background: linear-gradient(90deg,- rgba(255, 255, 255, 0.25) 0%,- rgba(255, 255, 255, 1) 50%,- rgba(255, 255, 255, 0.25) 100%);+ rgba(0, 0, 0, 0.3) 0%,+ rgba(0, 0, 0, 0.85) 50%,+ rgba(0, 0, 0, 0.3) 100%);background-size: 200% auto;color: transparent !important;-webkit-background-clip: text;@@ -165,6 +169,13 @@animation: text-shimmer 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;}+ .dark .shimmer-text {+ background: linear-gradient(90deg,+ rgba(255, 255, 255, 0.25) 0%,+ rgba(255, 255, 255, 1) 50%,+ rgba(255, 255, 255, 0.25) 100%);+ }+.squircle-element-camera {corner-shape: squircle;border-radius: 40px !important;@@ -259,21 +270,21 @@ button {}.custom-scrollbar::-webkit-scrollbar-thumb {- background: #262626;+ background: var(--scrollbar-thumb);border-radius: 20px;border: 3px solid transparent;background-clip: content-box;}.custom-scrollbar::-webkit-scrollbar-thumb:hover {- background: #5e5e5e;+ background: var(--scrollbar-thumb-hover);border: 2px solid transparent;background-clip: content-box;}.custom-scrollbar {scrollbar-width: thin;- scrollbar-color: rgb(74, 73, 73) transparent;+ scrollbar-color: var(--scrollbar-thumb) transparent;}.no-scrollbar::-webkit-scrollbar {diff --git a/components/ui/BrowserPermissionUI.tsx b/components/ui/BrowserPermissionUI.tsxindex e123647..5b56b38 100644--- a/components/ui/BrowserPermissionUI.tsx+++ b/components/ui/BrowserPermissionUI.tsx@@ -14,12 +14,12 @@ function PermissionRow({highlight?: boolean;}) {return (- <div className={`flex items-center justify-between px-4 py-2 transition-colors ${highlight ? "bg-[#8AB4F8]/10" : "hover:bg-white/5"}`}>+ <div className={`flex items-center justify-between px-4 py-2 transition-colors ${highlight ? "bg-[#8AB4F8]/10" : "hover:bg-muted"}`}><div className="flex gap-3">- <Icon icon={icon} className={`size-5 shrink-0 mt-0.5 ${highlight ? "text-[#8AB4F8]" : "text-neutral-400"}`} />+ <Icon icon={icon} className={`size-5 shrink-0 mt-0.5 ${highlight ? "text-[#8AB4F8]" : "text-muted-foreground"}`} /><div className="flex flex-col">- <span className="text-[13px] text-neutral-200">{title}</span>- <span className="text-[11px] text-neutral-400 line-clamp-1">{subtitle}</span>+ <span className="text-[13px] text-foreground">{title}</span>+ <span className="text-[11px] text-muted-foreground line-clamp-1">{subtitle}</span></div></div>@@ -27,8 +27,8 @@ function PermissionRow({{highlight && (<div className="absolute inset-0 bg-[#8AB4F8] rounded-full animate-ping opacity-20" />)}- <div className={`w-8 h-4 rounded-full relative transition-all ${highlight ? "bg-neutral-600 shadow-[0_0_8px_rgba(138,180,248,0.4)] border border-[#8AB4F8]/50" : "bg-[#8AB4F8]"}`}>- <div className={`absolute top-1/2 -translate-y-1/2 size-5 bg-[#1E1E20] border-2 rounded-full shadow transition-all ${highlight ? "left-0 border-neutral-500" : "right-0 border-[#8AB4F8]"}`} />+ <div className={`w-8 h-4 rounded-full relative transition-all ${highlight ? "bg-muted-foreground/40 shadow-[0_0_8px_rgba(138,180,248,0.4)] border border-[#8AB4F8]/50" : "bg-[#8AB4F8]"}`}>+ <div className={`absolute top-1/2 -translate-y-1/2 size-5 bg-background border-2 rounded-full shadow transition-all ${highlight ? "left-0 border-border" : "right-0 border-[#8AB4F8]"}`} /></div></div></div>@@ -37,42 +37,42 @@ function PermissionRow({export function BrowserPermissionUI() {return (- <div className="w-85 flex flex-col border border-white/10 squircle-element-camera shadow-2xl overflow-hidden font-sans select-none">+ <div className="w-85 flex flex-col border border-border squircle-element-camera shadow-2xl overflow-hidden font-sans select-none">- <div className="bg-white px-3 py-2 flex items-center gap-2 border-b border-[#8AB4F8]/20">- <Icon icon="solar:info-circle-bold" className="size-4 text-gray-600 shrink-0" />- <span className="text-[12px] font-medium text-gray-600 leading-none mt-0.5">+ <div className="bg-muted px-3 py-2 flex items-center gap-2 border-b border-[#8AB4F8]/20">+ <Icon icon="solar:info-circle-bold" className="size-4 text-muted-foreground shrink-0" />+ <span className="text-[12px] font-medium text-muted-foreground leading-none mt-0.5">Haz clic en el ícono de arriba y activa tu cámara.</span></div>- <div className="flex items-center gap-3 px-3 py-1.5 bg-[#252529] border-b border-white/5 text-[13px]">+ <div className="flex items-center gap-3 px-3 py-1.5 bg-muted border-b border-border text-[13px]"><div className="relative cursor-pointer group"><div className="absolute inset-0 bg-[#8AB4F8] squircle-element-camera animate-ping opacity-20"></div><div className="relative flex items-center justify-center p-1.5 rounded-sm bg-[#8AB4F8]/20 border border-[#8AB4F8]/30"><Icon icon="mdi:tune-variant" className="size-3.75 text-[#8AB4F8]" /></div></div>- <span className="text-[#E3E3E3] font-medium tracking-wide">+ <span className="text-foreground font-medium tracking-wide">openvid.dev</span></div>- <div className="flex flex-col bg-[#1E1E20] text-neutral-200">- <div className="flex items-center justify-between px-4 py-3 border-b border-white/5">+ <div className="flex flex-col bg-card text-foreground">+ <div className="flex items-center justify-between px-4 py-3 border-b border-border"><span className="font-medium text-[15px]">openvid.dev</span>- <Icon icon="ic:round-close" className="size-5 text-neutral-400 cursor-pointer" />+ <Icon icon="ic:round-close" className="size-5 text-muted-foreground cursor-pointer" /></div>- <div className="flex items-center justify-between px-4 py-2 hover:bg-white/5 cursor-pointer">+ <div className="flex items-center justify-between px-4 py-2 hover:bg-muted cursor-pointer"><div className="flex items-center gap-3">- <Icon icon="ic:outline-lock" className="size-5 text-neutral-400" />+ <Icon icon="ic:outline-lock" className="size-5 text-muted-foreground" /><span className="text-[13px] font-medium">La conexión es segura</span></div>- <Icon icon="ic:round-chevron-right" className="size-5 text-neutral-400" />+ <Icon icon="ic:round-chevron-right" className="size-5 text-muted-foreground" /></div>- <div className="h-px bg-white/10 my-2 mx-4" />+ <div className="h-px bg-border my-2 mx-4" /><div className="space-y-1"><PermissionRowdiff --git a/components/ui/CanvasContextMenu.tsx b/components/ui/CanvasContextMenu.tsxindex fe776df..7db93ab 100644--- a/components/ui/CanvasContextMenu.tsx+++ b/components/ui/CanvasContextMenu.tsx@@ -45,7 +45,7 @@ export function CanvasContextMenu({return (<divdata-canvas-ctx-menu- className="fixed z-[9999] bg-black border border-white/15 squircle-element-camera shadow-2xl py-1 min-w-45 overflow-hidden"+ className="fixed z-[9999] bg-popover dark:bg-black border border-border squircle-element-camera shadow-2xl py-1 min-w-45 overflow-hidden"style={{left: Math.min(canvasCtxMenu.x, window.innerWidth - 196),top: Math.min(canvasCtxMenu.y, window.innerHeight - 96),@@ -53,7 +53,7 @@ export function CanvasContextMenu({onPointerDown={(e) => e.stopPropagation()}><button- className="w-full flex items-center gap-2.5 px-3 py-1.5 text-[11.5px] text-neutral-300 hover:bg-white/6 transition-colors text-left"+ className="w-full flex items-center gap-2.5 px-3 py-1.5 text-[11.5px] text-popover-foreground/80 hover:bg-muted transition-colors text-left"onClick={() => {onVideoBringToFront?.();setCanvasCtxMenu(null);@@ -63,7 +63,7 @@ export function CanvasContextMenu({{t("actions.bringToFront")}</button><button- className="w-full flex items-center gap-2.5 px-3 py-1.5 text-[11.5px] text-neutral-300 hover:bg-white/6 transition-colors text-left"+ className="w-full flex items-center gap-2.5 px-3 py-1.5 text-[11.5px] text-popover-foreground/80 hover:bg-muted transition-colors text-left"onClick={() => {onVideoSendToBack?.();setCanvasCtxMenu(null);@@ -83,7 +83,7 @@ export function CanvasContextMenu({return (<divdata-canvas-ctx-menu- className="fixed z-[9999] bg-black border border-white/15 squircle-element-camera shadow-2xl py-1 min-w-45 overflow-hidden"+ className="fixed z-[9999] bg-popover dark:bg-black border border-border squircle-element-camera shadow-2xl py-1 min-w-45 overflow-hidden"style={{left: Math.min(canvasCtxMenu.x, window.innerWidth - 196),top: Math.min(canvasCtxMenu.y, window.innerHeight - 160),@@ -93,7 +93,7 @@ export function CanvasContextMenu({{!isMulti && singleId && (<><button- className="w-full flex items-center gap-2.5 px-3 py-1.5 text-[11.5px] text-neutral-300 hover:bg-white/6 transition-colors text-left"+ className="w-full flex items-center gap-2.5 px-3 py-1.5 text-[11.5px] text-popover-foreground/80 hover:bg-muted transition-colors text-left"onClick={() => {const maxZ = Math.max(...canvasElements.map((e) => e.zIndex), VIDEO_Z_INDEX);if (onElementUpdate) onElementUpdate(singleId, { zIndex: maxZ + 1 });@@ -105,7 +105,7 @@ export function CanvasContextMenu({</button><button- className="w-full flex items-center gap-2.5 px-3 py-1.5 text-[11.5px] text-neutral-300 hover:bg-white/6 transition-colors text-left"+ className="w-full flex items-center gap-2.5 px-3 py-1.5 text-[11.5px] text-popover-foreground/80 hover:bg-muted transition-colors text-left"onClick={() => {const el = canvasElements.find((e) => e.id === singleId);if (!el || !onElementUpdate) return;@@ -122,14 +122,14 @@ export function CanvasContextMenu({{t("actions.sendToBack")}</button>- <div className="my-1 h-px bg-white/6" />+ <div className="my-1 h-px bg-border" /></>)}{isMulti && (<><button- className="w-full flex items-center gap-2.5 px-3 py-1.5 text-[11.5px] text-neutral-300 hover:bg-white/6 transition-colors text-left"+ className="w-full flex items-center gap-2.5 px-3 py-1.5 text-[11.5px] text-popover-foreground/80 hover:bg-muted transition-colors text-left"onClick={() => {const newGroupId = crypto.randomUUID();ids.forEach((id) => {@@ -143,7 +143,7 @@ export function CanvasContextMenu({</button><button- className="w-full flex items-center gap-2.5 px-3 py-1.5 text-[11.5px] text-neutral-300 hover:bg-white/6 transition-colors text-left"+ className="w-full flex items-center gap-2.5 px-3 py-1.5 text-[11.5px] text-popover-foreground/80 hover:bg-muted transition-colors text-left"onClick={() => {const groupIds = new Set(ids.map((id) => canvasElements.find((e) => e.id === id)?.groupId).filter(Boolean)@@ -160,12 +160,12 @@ export function CanvasContextMenu({{t2("layerPanel.ungroupAction")}</button>- <div className="my-1 h-px bg-white/6" />+ <div className="my-1 h-px bg-border" /></>)}<button- className="w-full flex items-center gap-2.5 px-3 py-1.5 text-[11.5px] text-red-400 hover:bg-red-500/10 transition-colors text-left"+ className="w-full flex items-center gap-2.5 px-3 py-1.5 text-[11.5px] text-destructive hover:bg-destructive/10 transition-colors text-left"onClick={() => {if (onElementDelete) onElementDelete(ids.length === 1 ? ids[0] : [...ids]);setCanvasSelectedIds([]);diff --git a/components/ui/CtxMenuItem.tsx b/components/ui/CtxMenuItem.tsxindex 7f2de3a..0c7e56c 100644--- a/components/ui/CtxMenuItem.tsx+++ b/components/ui/CtxMenuItem.tsx@@ -14,7 +14,7 @@ export default function CtxMenuItem({return (<buttononClick={onClick}- className={`w-full flex items-center gap-2.5 px-3 py-1.5 text-[11.5px] transition-colors text-left ${danger ? "text-red-400 hover:bg-red-500/10" : "text-neutral-300 hover:bg-white/6"+ className={`w-full flex items-center gap-2.5 px-3 py-1.5 text-[11.5px] transition-colors text-left ${danger ? "text-destructive hover:bg-destructive/10" : "text-popover-foreground/80 hover:bg-muted"}`}><Icon icon={icon} className="size-3.5 shrink-0 opacity-70" />diff --git a/components/ui/DetailHeaderMenu.tsx b/components/ui/DetailHeaderMenu.tsxindex 6bddc62..ec5e24a 100644--- a/components/ui/DetailHeaderMenu.tsx+++ b/components/ui/DetailHeaderMenu.tsx@@ -14,12 +14,12 @@ export function DetailPageHeader({<buttontype="button"onClick={onBack}- className="flex items-center justify-center size-7 rounded-md hover:bg-white/6 text-white transition-colors"+ className="flex items-center justify-center size-7 rounded-md hover:bg-muted text-foreground transition-colors"aria-label="Volver al inicio"><Icon icon="ph:arrow-left-bold" width="13" /></button>- <div className="flex items-center gap-1.5 text-white/70">+ <div className="flex items-center gap-1.5 text-muted-foreground"><span className="text-md font-mediumtruncate">{label}</span>diff --git a/components/ui/DeviceCard.tsx b/components/ui/DeviceCard.tsxindex 0fc7316..b0fa629 100644--- a/components/ui/DeviceCard.tsx+++ b/components/ui/DeviceCard.tsx@@ -49,7 +49,7 @@ export function DeviceCard({onMouseEnter={() => setIsHovering(true)}onMouseLeave={() => setIsHovering(false)}className={`group flex h-full w-full overflow-hidden rounded-2xl border text-left transition-all duration-300 active:scale-[0.98] ${- isActive ? "border-white/20 bg-[#1a1a1e]" : "border-white/6 bg-[#17171a] hover:border-white/20"+ isActive ? "border-foreground/30 bg-card" : "border-border bg-card/60 hover:border-foreground/30"}`}><div className="relative aspect-3/4 w-full overflow-hidden bg-[#0d0d10]">diff --git a/components/ui/DirectionPad.tsx b/components/ui/DirectionPad.tsxindex 91db87e..d7752e9 100644--- a/components/ui/DirectionPad.tsx+++ b/components/ui/DirectionPad.tsx@@ -51,7 +51,7 @@ export function DirectionPad({return (<div className="space-y-2">{label && (- <div className="flex items-center gap-2 text-xs text-white/60">+ <div className="flex items-center gap-2 text-xs text-muted-foreground">{labelIcon && <Icon icon={labelIcon} width="14" aria-hidden="true" />}<span>{label}</span></div>@@ -59,11 +59,11 @@ export function DirectionPad({<divref={padRef}onPointerDown={handlePointerDown}- className={`relative w-full mx-auto bg-[#0A0A0A] squircle-element border border-[#262626] hover:border-[#404040] transition-colors cursor-crosshair overflow-hidden touch-none group ${className ?? "aspect-square max-w-[220px]"}`}+ className={`relative w-full mx-auto bg-card squircle-element border border-border hover:border-foreground/30 transition-colors cursor-crosshair overflow-hidden touch-none group ${className ?? "aspect-square max-w-[220px]"}`}><div className="absolute inset-0 flex items-center justify-center pointer-events-none">- <div className="w-full h-px bg-[#1F1F1F]" />- <div className="h-full w-px bg-[#1F1F1F] absolute" />+ <div className="w-full h-px bg-muted-foreground/20" />+ <div className="h-full w-px bg-muted-foreground/20 absolute" /></div><div className="absolute inset-0 flex items-center justify-center pointer-events-none">@@ -88,7 +88,7 @@ export function DirectionPad({}}/></div>- {hint && <p className="text-[11px] text-white/30 text-center">{hint}</p>}+ {hint && <p className="text-[11px] text-muted-foreground/60 text-center">{hint}</p>}</div>);}\ No newline at end of filediff --git a/components/ui/HeroEditorPreviewComponents.tsx b/components/ui/HeroEditorPreviewComponents.tsxindex 97eddb3..a138460 100644--- a/components/ui/HeroEditorPreviewComponents.tsx+++ b/components/ui/HeroEditorPreviewComponents.tsx@@ -88,6 +88,7 @@ export const DraggableRange = memo(function DraggableRange({} else {nextEnd = Math.min(duration, Math.max(drag.initialStart + minDuration, drag.initialEnd + deltaSec));}+onChange({ start: nextStart, end: nextEnd });};@@ -113,27 +114,29 @@ export const DraggableRange = memo(function DraggableRange({return (<div- className={`group/range absolute top-0 h-full cursor-grab touch-none select-none active:cursor-grabbing ${className ?? ""}`}+ className={`group/trim absolute top-0 bottom-0 cursor-grab active:cursor-grabbing select-none touch-none ${className ?? ""}`}style={{ left: `${left}%`, width: `${width}%` }}onPointerDown={startDrag("move")}>{children}<div- className="absolute -left-1 top-0 bottom-0 z-20 flex w-3 cursor-ew-resize items-center justify-center"+ className="absolute left-0 top-0 bottom-0 w-3 cursor-ew-resize z-20 flex items-center justify-center"onPointerDown={startDrag("resize-left")}><div- className={`h-6 w-1.5 rounded-full shadow-sm transition-colors ${handleClassName ?? "bg-black/0 opacity-0 group-hover/range:bg-black/40 group-hover/range:opacity-100"- }`}+ className={`w-1.5 h-8 rounded-full transition-all ${+ handleClassName ?? "bg-[#34A853] group-hover/trim:bg-[#4ade80]"+ }`}/></div><div- className="absolute -right-1 top-0 bottom-0 z-20 flex w-3 cursor-ew-resize items-center justify-center"+ className="absolute right-0 top-0 bottom-0 w-3 cursor-ew-resize z-20 flex items-center justify-end"onPointerDown={startDrag("resize-right")}><div- className={`h-6 w-1.5 rounded-full shadow-sm transition-colors ${handleClassName ?? "bg-black/0 opacity-0 group-hover/range:bg-black/40 group-hover/range:opacity-100"- }`}+ className={`w-1.5 h-8 rounded-full transition-all ${+ handleClassName ?? "bg-[#34A853] group-hover/trim:bg-[#4ade80]"+ }`}/></div></div>@@ -153,27 +156,54 @@ export const TimelineClipContent = memo(function TimelineClipContent({}) {return (<div- className={`group/clip relative h-full w-full overflow-hidden rounded-md border transition-all ${isSelected- ? "border-emerald-400 ring-1 ring-emerald-400 shadow-[0_0_12px_rgba(52,211,153,0.4)] bg-emerald-500/25"- : "border-emerald-600/35 hover:border-emerald-500/60 bg-emerald-500/10"- }`}+ className={`relative h-full w-full rounded-md overflow-hidden transition-colors duration-200 z-0 bg-emerald-100 ${+ isSelected+ ? "border-2 border-[#34A853] shadow-[0_0_12px_rgba(52,168,83,0.3)]"+ : ""+ }`}+ style={{+ border: isSelected ? undefined : "1px solid rgba(52, 168, 83, 0.4)",+ }}>- <div className="absolute inset-0 flex">- {Array.from({ length: 12 }).map((_, i) => (- <div key={i} className="h-full flex-1 border-r border-emerald-600/10 last:border-r-0" />- ))}+ <div className="absolute inset-0 flex items-center overflow-hidden">+ <div className="flex h-full w-full">+ {Array.from({ length: 12 }).map((_, i) => (+ <div+ key={i}+ className="h-full flex-1 border-r border-[#34A853]/10 last:border-r-0"+ style={{+ background:+ "linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(20, 80, 40, 0.1) 50%, rgba(52, 168, 83, 0.1) 100%)",+ boxShadow: "rgba(255, 255, 255, 0.05) 0px 1px 0px inset",+ }}+ />+ ))}+ </div></div>+<div- className="absolute inset-y-0 left-px z-[1] border-r-2 border-emerald-400 pointer-events-none"+ className="absolute top-0 bottom-0 left-0 border-r-2 border-[#4ade80] pointer-events-none z-5"style={{width: `${progress * 100}%`,- background: "linear-gradient(180deg, rgba(16, 187, 130, 0.66) 0%, rgba(133, 227, 197, 0.28) 100%)",+ background:+ "linear-gradient(rgba(52, 168, 83, 0.9) 0%, rgb(34, 139, 34) 50%, rgb(20, 80, 40) 100%)",+ boxShadow: "rgba(255, 255, 255, 0.2) 0px 1px 0px inset",}}/>- <div className="relative z-10 flex h-full min-w-0 items-center justify-center gap-1.5 px-2 pointer-events-none">- <Icon icon="solar:videocamera-record-bold" width={10} className="shrink-0 text-emerald-700" />- <span className="truncate text-[9px] font-medium text-emerald-800">{label}</span>- <span className="shrink-0 font-mono text-[8px] text-emerald-700/70">{formatTime(duration)}</span>++ <div className="absolute inset-0 flex items-center justify-center pointer-events-none z-10 px-2">+ <span className="flex items-center gap-2 text-[11px] font-medium drop-shadow-sm transition-colors duration-200 text-emerald-700">+ <Icon+ icon="solar:videocamera-record-bold"+ width={12}+ height={12}+ className="opacity-70 shrink-0 text-emerald-700"+ />+ <span className="truncate max-w-[120px]">{label}</span>+ <span className="font-mono text-[11px] transition-colors duration-200 text-emerald-700/60">+ {formatTime(duration)}+ </span>+ </span></div></div>);@@ -192,16 +222,29 @@ export const TimelineZoomContent = memo(function TimelineZoomContent({}) {return (<div- className={`flex h-full w-full flex-col items-center justify-center gap-0 rounded-md border transition-all pointer-events-none ${isSelected- ? "border-blue-400 ring-1 ring-blue-400 shadow-[0_0_12px_rgba(59,130,246,0.45)] bg-blue-500/30"- : "border-blue-500/35 hover:border-blue-500/60 bg-blue-600/15"- }`}+ className={`flex h-full w-full flex-col items-center justify-center gap-0 rounded-md transition-all duration-200 pointer-events-none ${+ isSelected+ ? "border-2 border-blue-600 ring-1 ring-blue-600/20 shadow-[0_0_12px_rgba(59,130,246,0.25)] bg-blue-100"+ : "border border-blue-300 hover:border-blue-500 bg-blue-50/90"+ }`}>- <span className={`flex items-center gap-1 text-[9px] leading-tight ${isSelected ? "text-blue-800 font-semibold" : "text-blue-700"}`}>- <Icon icon="iconamoon:zoom-in-bold" width={9} className={isSelected ? "text-blue-300" : "text-blue-600"} />+ <span+ className={`flex items-center gap-1 text-[9px] leading-tight font-semibold ${+ isSelected ? "text-blue-950" : "text-blue-900"+ }`}+ >+ <Icon+ icon="iconamoon:zoom-in-bold"+ width={9}+ className={isSelected ? "text-blue-700" : "text-blue-600"}+ />{zoomLabel}</span>- <span className={`font-mono text-[8px] leading-tight ${isSelected ? "text-blue-900" : "text-blue-700/70"}`}>+ <span+ className={`font-mono text-[8px] leading-tight ${+ isSelected ? "text-blue-800" : "text-blue-700/80"+ }`}+ >{zoomLevelToFactor(zoomLevel).toFixed(1)}× · {duration.toFixed(1)}s</span></div>@@ -240,7 +283,7 @@ export const ZoomFragmentRangeItem = memo(function ZoomFragmentRangeItem({minDuration={ZOOM_MIN_DURATION}onChange={handleChange}onClick={handleClick}- handleClassName="bg-blue-500/70 group-hover/range:bg-blue-400"+ handleClassName="bg-blue-500/70 group-hover/trim:bg-blue-600"><TimelineZoomContentzoomLevel={fragment.zoomLevel}@@ -263,8 +306,9 @@ export const MiniSidebar = memo(function MiniSidebar({ t }: { t: TFunc }) {return (<div key={tool.id} className="relative"><div- className={`w-11 h-11 rounded-2xl flex items-center justify-center transition-colors ${active ? "bg-[#EAF6FF]" : "hover:bg-black/[0.04]"- }`}+ className={`w-11 h-11 rounded-2xl flex items-center justify-center transition-colors ${+ active ? "bg-[#EAF6FF]" : "hover:bg-black/[0.04]"+ }`}>{tool.icon ? (<Icon icon={tool.icon} width={19} style={{ color: active ? ACCENT : "rgba(0,0,0,0.4)" }} />@@ -310,6 +354,7 @@ export const MiniSlider = memo(function MiniSlider({}) {const trackRef = useRef<HTMLDivElement>(null);const isDraggingRef = useRef(false);+const fillPercent = max > 0 ? clamp((value / max) * 100, 0, 100) : 0;const updateFromClientX = useCallback(@@ -329,14 +374,17 @@ export const MiniSlider = memo(function MiniSlider({e.preventDefault();isDraggingRef.current = true;updateFromClientX(e.clientX);+const handleMove = (ev: PointerEvent) => {if (isDraggingRef.current) updateFromClientX(ev.clientX);};+const handleUp = () => {isDraggingRef.current = false;window.removeEventListener("pointermove", handleMove);window.removeEventListener("pointerup", handleUp);};+window.addEventListener("pointermove", handleMove);window.addEventListener("pointerup", handleUp);},@@ -347,8 +395,9 @@ export const MiniSlider = memo(function MiniSlider({<divref={trackRef}onPointerDown={handlePointerDown}- className={`relative flex h-[28px] w-full items-center overflow-hidden rounded-lg border border-black/6 bg-black/[0.035] ${onChange ? "cursor-pointer touch-none select-none" : ""- }`}+ className={`relative flex h-[28px] w-full items-center overflow-hidden rounded-lg border border-black/6 bg-black/[0.035] ${+ onChange ? "cursor-pointer touch-none select-none" : ""+ }`}><divclassName="absolute bottom-0 left-0 top-0 bg-black/10 transition-[width] duration-150 ease-out"@@ -470,8 +519,8 @@ export const BackgroundPanel = memo(function BackgroundPanel({onShadowChange: (p: number) => void;}) {return (- <div className={`hidden md:flex flex-col w-64 lg:w-72 shrink-0 bg-white overflow-hidden`}>- <header className={`relative flex items-center justify-between h-12 px-3 shrink-0 bg-transparent isolation-isolate`}>+ <div className="hidden md:flex flex-col w-64 lg:w-72 shrink-0 bg-white overflow-hidden">+ <header className="relative flex items-center justify-between h-12 px-3 shrink-0 bg-transparent isolation-isolate"><divclassName="absolute inset-0 z-0 bg-[url('/images/pages/header-gradient2.avif')] bg-cover bg-center bg-no-repeat pointer-events-none"style={{@@ -479,25 +528,21 @@ export const BackgroundPanel = memo(function BackgroundPanel({linear-gradient(to bottom, black 55%, transparent 99%),linear-gradient(to right, transparent 0%, black 50%),linear-gradient(to left, transparent 10%, black 50%)- `,+ `,WebkitMaskImage: `- linear-gradient(to bottom, black 55%, transparent 99%),- linear-gradient(to right, transparent 0%, black 50%),- linear-gradient(to left, transparent 10%, black 50%)+ linear-gradient(to bottom, black 55%, transparent 99%),+ linear-gradient(to right, transparent 0%, black 50%),+ linear-gradient(to left, transparent 10%, black 50%)`,-maskComposite: "intersect",- WebkitMaskComposite: "source-in"+ WebkitMaskComposite: "source-in",}}/>-<div className="relative flex items-center gap-1.5 z-10"><Image src="/svg/openvid-complete-static.svg" alt="Openvid" width={100} height={80} /></div>-<Icon icon="lucide:sidebar-close" width={16} className="relative text-black/30 z-10" /></header>-<div className="flex-1 overflow-y-none custom-scrollbar"><div className="p-4 pb-2"><div className="flex items-center gap-2 text-black/80 font-medium text-[13px] mb-3">@@ -505,13 +550,19 @@ export const BackgroundPanel = memo(function BackgroundPanel({<span>{t("background.title")}</span></div><div className="flex bg-black/[0.04] rounded-lg p-0.5 text-[11px] font-medium">- <div className="flex-1 text-center py-1.5 rounded-md bg-white shadow-sm text-black">{t("background.tabWallpaper")}</div>- <div className="flex-1 text-center py-1.5 text-black/40">{t("background.tabColor")}</div>+ <div className="flex-1 text-center py-1.5 rounded-md bg-white shadow-sm text-black">+ {t("background.tabWallpaper")}+ </div>+ <div className="flex-1 text-center py-1.5 text-black/40">+ {t("background.tabColor")}+ </div></div></div><div className="px-4 pb-4 flex flex-col gap-4"><div>- <div className="text-[10px] uppercase tracking-widest text-black/35 font-bold mb-2">{t("background.options")}</div>+ <div className="text-[10px] uppercase tracking-widest text-black/35 font-bold mb-2">+ {t("background.options")}+ </div><div className="flex flex-wrap gap-2"><divclassName="size-9 rounded-lg border border-black/10 shrink-0 hover:cursor-pointer bg-zinc-100 hover:bg-black/5 transition-colors"@@ -522,17 +573,14 @@ export const BackgroundPanel = memo(function BackgroundPanel({backgroundPosition: "0 0, 0 7px, 7px -7px, -7px 0",}}/>-<div className="size-9 rounded-lg border border-dashed border-black/15 flex items-center justify-center bg-black/2 cursor-pointer hover:bg-black/5 transition-colors shrink-0"><Icon icon="material-symbols:upload-rounded" width={18} className="text-black/40" /></div>-<div className="size-9 rounded-lg border border-black/10 flex items-center justify-center bg-black/2 cursor-pointer hover:bg-black/5 transition-colors shrink-0"><Icon icon="ri:unsplash-fill" width={18} className="text-black/40" /></div></div></div>-<SwatchGridlabel={t("background.desktopLabel")}items={HERO_WALLPAPERS}@@ -549,34 +597,19 @@ export const BackgroundPanel = memo(function BackgroundPanel({cursorTarget={category === "gradient" ? cursorTarget : undefined}onSelect={onSelectGradient}/>-<div className="text-[10px] text-black/35 flex items-center justify-center gap-1"><Icon icon="lucide:chevron-down" width={10} /><span>{t("background.showMore")}</span></div>-<div>- <div className="text-[10px] uppercase tracking-widest text-black/35 font-bold mb-2">{t("background.settings")}</div>+ <div className="text-[10px] uppercase tracking-widest text-black/35 font-bold mb-2">+ {t("background.settings")}+ </div><div className="flex flex-col gap-2"><MiniSlider icon="mdi:blur" label={t("background.blur")} value={blurPercent} onChange={onBlurChange} />- <MiniSlider- icon="mdi:arrow-expand-all"- label={t("background.padding")}- value={paddingPercent}- onChange={onPaddingChange}- />- <MiniSlider- icon="mdi:border-radius"- label={t("background.rounded")}- value={roundedPercent}- onChange={onRoundedChange}- />- <MiniSlider- icon="material-symbols:shadow"- label={t("background.shadow")}- value={shadowPercent}- onChange={onShadowChange}- />+ <MiniSlider icon="mdi:arrow-expand-all" label={t("background.padding")} value={paddingPercent} onChange={onPaddingChange} />+ <MiniSlider icon="mdi:border-radius" label={t("background.rounded")} value={roundedPercent} onChange={onRoundedChange} />+ <MiniSlider icon="material-symbols:shadow" label={t("background.shadow")} value={shadowPercent} onChange={onShadowChange} /></div></div></div>diff --git a/components/ui/LoadingSpinner.tsx b/components/ui/LoadingSpinner.tsxindex 36ce496..68f012a 100644--- a/components/ui/LoadingSpinner.tsx+++ b/components/ui/LoadingSpinner.tsx@@ -19,7 +19,7 @@ export function LoadingSpinner({ size = "md", message }: LoadingSpinnerProps) {className={`${sizeClasses[size]} text-blue-500`}/>{message && (- <p className="text-xs text-white/40 animate-pulse">{message}</p>+ <p className="text-xs text-muted-foreground animate-pulse">{message}</p>)}</div>);diff --git a/components/ui/Position3DPresetsEditor.tsx b/components/ui/Position3DPresetsEditor.tsxindex 546c7d0..9b4689a 100644--- a/components/ui/Position3DPresetsEditor.tsx+++ b/components/ui/Position3DPresetsEditor.tsx@@ -74,24 +74,24 @@ export function Position3DPresetsEditor({</TooltipAction><PopoverContentalign="start"- className="w-80 h-130 bg-[#0A0A0A] border-white/10 shadow-2xl p-0 squircle-element-camera overflow-hidden"+ className="w-80 h-130 bg-popover dark:bg-black border-border shadow-2xl p-0 squircle-element-camera overflow-hidden"><div className="flex flex-col">- <PopoverHeader className="px-4 py-3 border-b border-white/10 bg-white/5">+ <PopoverHeader className="px-4 py-3 border-b border-border bg-muted/40"><div className="flex items-center justify-between">- <PopoverTitle className="text-xs font-semibold text-white/80 tracking-wide uppercase flex items-center gap-2">+ <PopoverTitle className="text-xs font-semibold text-popover-foreground/80 tracking-wide uppercase flex items-center gap-2"><Icon icon="mdi:image-multiple-outline" width="14" className="text-blue-400" aria-hidden="true" />{t("title")}</PopoverTitle></div></PopoverHeader>- <div className="flex border-b border-white/10 bg-black/20">+ <div className="flex border-b border-border bg-muted/20"><buttononClick={() => setActiveTab("presets")}className={`flex-1 px-4 py-2.5 text-xs font-medium transition-all ${activeTab === "presets"? "text-blue-400 border-b-2 border-blue-400 bg-blue-500/5"- : "text-white/60 hover:text-white/80 hover:bg-white/5"+ : "text-muted-foreground hover:text-popover-foreground/80 hover:bg-muted"}`}><Icon icon="mdi:palette-outline" width="14" className="inline mr-1.5" />@@ -101,7 +101,7 @@ export function Position3DPresetsEditor({onClick={() => setActiveTab("custom")}className={`flex-1 px-4 py-2.5 text-xs font-medium transition-all ${activeTab === "custom"? "text-blue-400 border-b-2 border-blue-400 bg-blue-500/5"- : "text-white/60 hover:text-white/80 hover:bg-white/5"+ : "text-muted-foreground hover:text-popover-foreground/80 hover:bg-muted"}`}><Icon icon="mdi:tune" width="14" className="inline mr-1.5" />@@ -115,17 +115,17 @@ export function Position3DPresetsEditor({{onCustomReset && (<buttononClick={onCustomReset}- className="group relative flex flex-col squircle-element border border-dashed border-white/20 hover:border-white/40 bg-white/5 hover:bg-white/10 transition-all overflow-hidden"+ className="group relative flex flex-col squircle-element border border-dashed border-border hover:border-foreground/40 bg-muted/40 hover:bg-muted/60 transition-all overflow-hidden"><div className="relative w-full aspect-video bg-zinc-900 flex flex-col items-center justify-center gap-1.5">- <div className="size-8 rounded-full bg-white/5 border border-white/5 flex items-center justify-center">+ <div className="size-8 rounded-full bg-muted/60 border border-border flex items-center justify-center"><Iconicon="mdi:restore"width="16"- className="text-white/70 group-hover:text-blue-400 transition-colors"+ className="text-popover-foreground/70 group-hover:text-blue-400 transition-colors"/></div>- <span className="text-[11px] font-semibold text-white/60 group-hover:text-white/80 transition-colors">+ <span className="text-[11px] font-semibold text-muted-foreground group-hover:text-popover-foreground/80 transition-colors">{t("resetDefault")}</span></div>@@ -137,14 +137,14 @@ export function Position3DPresetsEditor({<buttonkey={preset.id}onClick={() => onSelectPreset(preset)}- className={`group relative flex flex-col squircle-element border transition-all overflow-hidden ${active ? "border-blue-500 bg-blue-500/10" : "border-white/10 hover:border-white/30 bg-white/5 hover:bg-white/10"}`}+ className={`group relative flex flex-col squircle-element border transition-all overflow-hidden ${active ? "border-blue-500 bg-blue-500/10" : "border-border hover:border-foreground/30 bg-muted/40 hover:bg-muted/60"}`}><div className="relative w-full aspect-video bg-zinc-900">{preset.imageUrl ? (<img src={preset.imageUrl} alt={preset.label} className="w-full h-full object-cover" draggable={false} />) : (<div className="absolute inset-0 flex items-center justify-center">- <Icon icon="mdi:image-off-outline" width="20" className="text-white/30" />+ <Icon icon="mdi:image-off-outline" width="20" className="text-muted-foreground/50" /></div>)}diff --git a/components/ui/PositionCustomControls.tsx b/components/ui/PositionCustomControls.tsxindex 66c87d4..3ff9348 100644--- a/components/ui/PositionCustomControls.tsx+++ b/components/ui/PositionCustomControls.tsx@@ -80,12 +80,12 @@ export function PositionCustomControls({)}<div className="space-y-2">- <div className="flex items-center gap-1.5 text-[11px] text-white/60">+ <div className="flex items-center gap-1.5 text-[11px] text-muted-foreground"><Icon icon="mdi:rotate-3d-variant" width={12} /><span>{labels.rotationXY}</span></div><div- className="relative w-full aspect-square bg-white/3 rounded-lg border border-white/10 cursor-crosshair overflow-hidden hover:bg-white/4 transition-colors"+ className="relative w-full aspect-square bg-muted/30 rounded-lg border border-border cursor-crosshair overflow-hidden hover:bg-muted/50 transition-colors"onClick={(e) => {const rect = e.currentTarget.getBoundingClientRect();const x = ((e.clientX - rect.left) / rect.width) * 2 - 1;@@ -96,11 +96,11 @@ export function PositionCustomControls({}}><div className="absolute inset-0 flex items-center justify-center pointer-events-none">- <div className="w-full h-px bg-white/5" />- <div className="h-full w-px bg-white/5 absolute" />+ <div className="w-full h-px bg-muted-foreground/15" />+ <div className="h-full w-px bg-muted-foreground/15 absolute" /></div><div- className="absolute bg-white border border-white/40 rounded-full shadow-[0_0_20px_4px_rgba(255,255,255,0.12),0_4px_12px_rgba(0,0,0,0.6)] mix-blend-screen flex items-center justify-center pointer-events-auto transition-all duration-75 cursor-grab"+ className="absolute bg-foreground border border-foreground/40 rounded-full shadow-[0_0_10px_rgba(0,0,0,0.25)] flex items-center justify-center pointer-events-auto transition-all duration-75 cursor-grab"style={{width: "14px",height: "14px",@@ -139,7 +139,7 @@ export function PositionCustomControls({{onReset && (<buttononClick={onReset}- className="w-full mt-4 px-3 py-2 rounded-lg bg-white/5 hover:bg-white/10 text-[11px] text-white/70 hover:text-white transition-all flex items-center justify-center gap-2 border border-white/5"+ className="w-full mt-4 px-3 py-2 rounded-lg bg-muted/40 hover:bg-muted/60 text-[11px] text-muted-foreground hover:text-foreground transition-all flex items-center justify-center gap-2 border border-border"><Icon icon="mdi:restore" width={14} />{labels.reset}diff --git a/components/ui/PositionPad.tsx b/components/ui/PositionPad.tsxindex cd9d22c..e21e6b7 100644--- a/components/ui/PositionPad.tsx+++ b/components/ui/PositionPad.tsx@@ -66,7 +66,7 @@ export function PositionPad({return (<div className="space-y-2">{label && (- <div className="flex items-center gap-2 text-xs text-white/60">+ <div className="flex items-center gap-2 text-xs text-muted-foreground">{labelIcon && <Icon icon={labelIcon} width="14" aria-hidden="true" />}<span>{label}</span></div>@@ -74,11 +74,11 @@ export function PositionPad({<divref={padRef}onClick={handlePadClick}- className={`relative w-full mx-auto bg-[#0A0A0A] squircle-element border border-[#262626] hover:border-[#404040] transition-colors cursor-crosshair overflow-hidden ${className ?? "aspect-video"}`}+ className={`relative w-full mx-auto bg-card squircle-element border border-border hover:border-foreground/30 transition-colors cursor-crosshair overflow-hidden ${className ?? "aspect-video"}`}><div className="absolute inset-0 flex items-center justify-center pointer-events-none">- <div className="w-full h-px bg-[#1F1F1F]" />- <div className="h-full w-px bg-[#1F1F1F] absolute" />+ <div className="w-full h-px bg-muted-foreground/20" />+ <div className="h-full w-px bg-muted-foreground/20 absolute" /></div><divdata-drag-handle@@ -96,7 +96,7 @@ export function PositionPad({<Icon icon={icon} width="16" style={{ color: `rgb(${accentRgb})` }} aria-hidden="true" /></div></div>- {hint && <p className="text-[11px] text-white/30 text-center">{hint}</p>}+ {hint && <p className="text-[11px] text-muted-foreground/60 text-center">{hint}</p>}</div>);}\ No newline at end of filediff --git a/components/ui/SectionToggle.tsx b/components/ui/SectionToggle.tsxindex fcadbea..7c040d4 100644--- a/components/ui/SectionToggle.tsx+++ b/components/ui/SectionToggle.tsx@@ -19,13 +19,13 @@ export function SectionToggle({error?: string | null;}) {return (- <div className="squircle-element border border-white/10 bg-white/3">+ <div className="squircle-element border border-border bg-muted/40"><label className="flex items-center justify-between p-3 cursor-pointer"><div className="flex items-start gap-2.5">- <Icon icon={icon} className="size-5 text-neutral-400 mt-0.5 transition-colors" />+ <Icon icon={icon} className="size-5 text-muted-foreground mt-0.5 transition-colors" /><div>- <div className="text-sm text-neutral-200 font-medium transition-colors">{title}</div>- <div className="text-[11px] text-neutral-500 transition-colors">{description}</div>+ <div className="text-sm text-foreground font-medium transition-colors">{title}</div>+ <div className="text-[11px] text-muted-foreground transition-colors">{description}</div></div></div><Toggle checked={enabled} onChange={onToggle} />@@ -38,7 +38,7 @@ export function SectionToggle({<div className="overflow-hidden"><div className="px-3 pb-3">{error && (- <div className="mb-2 rounded-md bg-red-500/10 border border-red-500/20 px-2.5 py-1.5 text-[11px] text-red-300">+ <div className="mb-2 rounded-md bg-destructive/10 border border-destructive/20 px-2.5 py-1.5 text-[11px] text-destructive">{error}</div>)}diff --git a/components/ui/SidebarTool.tsx b/components/ui/SidebarTool.tsxindex 53634d7..f1a173a 100644--- a/components/ui/SidebarTool.tsx+++ b/components/ui/SidebarTool.tsx@@ -52,7 +52,7 @@ export const SidebarTool = forwardRef<HTMLButtonElement, SidebarToolProps>(onClick={disabled ? undefined : onClick}disabled={disabled}className={`relative flex flex-col items-center gap-1.5 transition-all duration-200 w-full ${disabled ? "opacity-40 cursor-not-allowed" : "cursor-pointer"- } ${isActive ? "text-white" : "text-white/70 hover:text-white"}`}+ } ${isActive ? "text-foreground" : "text-muted-foreground hover:text-foreground"}`}>{badgeCount !== undefined && badgeCount > 0 && (<div className="absolute -top-1 right-1 z-10 pointer-events-none animate-in zoom-in-50 duration-200">@@ -81,10 +81,10 @@ export const SidebarTool = forwardRef<HTMLButtonElement, SidebarToolProps>(</div>)}{isActive && !disabled && (- <div className="absolute inset-x-0 top-0 h-px bg-linear-to-r from-transparent via-white/20 to-transparent mx-2" />+ <div className="absolute inset-x-0 top-0 h-px bg-linear-to-r from-transparent via-foreground/20 to-transparent mx-2" />)}<span- className={`flex items-center justify-center p-3 squircle-element transition-all duration-200 relative ${!disabled && isActive ? "" : "hover:bg-white/5"+ className={`flex items-center justify-center p-3 squircle-element transition-all duration-200 relative ${!disabled && isActive ? "text-white" : "hover:bg-muted"} `}style={isActive && !disableddiff --git a/components/ui/SliderControl.tsx b/components/ui/SliderControl.tsxindex 6cd20b9..5de339b 100644--- a/components/ui/SliderControl.tsx+++ b/components/ui/SliderControl.tsx@@ -73,26 +73,26 @@ export function SliderControl({return (<divref={sliderRef}- className="relative flex h-[30px] w-full cursor-pointer touch-none select-none items-center rounded-lg bg-[#18181b] overflow-hidden border border-white/5"+ className="relative flex h-[30px] w-full cursor-pointer touch-none select-none items-center rounded-lg overflow-hidden border border-border"onClick={handleClick}onMouseDown={handleMouseDown}><div- className="absolute bottom-0 left-0 top-0 bg-white/10 transition-all duration-75 ease-out"+ className="absolute bottom-0 left-0 top-0 bg-primary/20 transition-all duration-75 ease-out"style={{ width: `${displayPercentage}%` }}/><div- className="absolute top-[6px] bottom-[6px] w-[2px] rounded-full bg-white/90 shadow-[0_0_4px_rgba(0,0,0,0.5)] transition-all duration-75 ease-out z-20"+ className="absolute top-[6px] bottom-[6px] w-[2px] rounded-full bg-foreground shadow-[0_0_4px_rgba(0,0,0,0.5)] transition-all duration-75 ease-out z-20"style={{ left: `calc(${displayPercentage}% - 1px)` }}/><div className="pointer-events-none absolute inset-0 z-10 flex items-center justify-between px-3">- <div className="flex items-center gap-2 text-[12px] font-medium text-white/60">+ <div className="flex items-center gap-2 text-[12px] font-medium text-muted-foreground">{icon && <Icon icon={icon} width="16" />}<span>{label}</span></div>- <span className="text-[12px] font-mono text-white/60">+ <span className="text-[12px] font-mono text-muted-foreground">{displayValue}{suffix}</span>diff --git a/components/ui/SoundCard.tsx b/components/ui/SoundCard.tsxindex ac118e7..87866b6 100644--- a/components/ui/SoundCard.tsx+++ b/components/ui/SoundCard.tsx@@ -22,7 +22,7 @@ export function SoundCard({ sound, isRendering, onAdd }: SoundCardProps) {return (<div- className="flex items-center gap-2 px-2 py-2 rounded-md border border-white/5 hover:border-white/10 hover:bg-white/5 transition-colors"+ className="flex items-center gap-2 px-2 py-2 rounded-md border border-border hover:border-foreground/30 hover:bg-muted/50 transition-colors"onMouseEnter={trigger}onMouseLeave={() => setActive(false)}onFocus={trigger}@@ -31,17 +31,17 @@ export function SoundCard({ sound, isRendering, onAdd }: SoundCardProps) {role="button"aria-label={sound}>- <div className="w-9 h-8 shrink-0 flex items-center justify-center rounded bg-black/20">+ <div className="w-9 h-8 shrink-0 flex items-center justify-center rounded bg-muted/60"><Visual active={active} /></div>- <span className="flex-1 text-xs text-white/60 truncate">{sound}</span>+ <span className="flex-1 text-xs text-muted-foreground truncate">{sound}</span><buttononClick={(e) => {e.stopPropagation();onAdd(sound);}}disabled={isRendering}- className="p-1 rounded text-white/40 hover:text-blue-400 hover:bg-blue-500/10 shrink-0"+ className="p-1 rounded text-muted-foreground/60 hover:text-blue-400 hover:bg-blue-500/10 shrink-0"aria-label={`add-${sound}`}><Icon icon={isRendering ? "svg-spinners:180-ring" : "mdi:plus"} width="14" />diff --git a/components/ui/SoundLibrary.tsx b/components/ui/SoundLibrary.tsxindex e6f9d8b..b4f7bde 100644--- a/components/ui/SoundLibrary.tsx+++ b/components/ui/SoundLibrary.tsx@@ -13,7 +13,7 @@ export function SoundLibrary({ categories, renderingSound, onAdd }: SoundLibrary<div className="flex flex-col gap-4">{categories.map(({ label, sounds }) => (<div key={label} className="flex flex-col gap-1.5">- <div className="text-[12px] tracking-wide text-white/70">{label}</div>+ <div className="text-[12px] tracking-wide text-muted-foreground">{label}</div><div className="grid grid-cols-2 gap-1.5">{sounds.map((sound) => (<SoundCard key={sound} sound={sound} isRendering={renderingSound === sound} onAdd={onAdd} />diff --git a/components/ui/TabButton.tsx b/components/ui/TabButton.tsxindex 9e646af..ea2706a 100644--- a/components/ui/TabButton.tsx+++ b/components/ui/TabButton.tsx@@ -12,8 +12,8 @@ export function TabButton({ label, isActive, onClick }: TabButtonProps) {onClick={onClick}className={`flex-1 py-1.5 rounded-md transition ${isActive- ? "bg-white/10 text-white"- : "hover:text-white text-white/70"+ ? "bg-background text-foreground shadow-xs"+ : "hover:text-foreground text-muted-foreground"}`}>{label}diff --git a/components/ui/TickSliderControl.tsx b/components/ui/TickSliderControl.tsxindex e5b89f0..6a2df66 100644--- a/components/ui/TickSliderControl.tsx+++ b/components/ui/TickSliderControl.tsx@@ -128,7 +128,7 @@ export function TickSliderControl({return (<div className="flex w-full flex-col gap-3 select-none touch-none font-sans">- <span className="flex items-center gap-1.5 text-[11px] uppercase tracking-widest text-white/70 font-bold">+ <span className="flex items-center gap-1.5 text-[11px] uppercase tracking-widest text-muted-foreground font-bold">{label}</span>@@ -139,38 +139,38 @@ export function TickSliderControl({onClick={handleClick}onMouseDown={handleMouseDown}>- <div className="absolute left-0 right-0 h-[2px] bg-white/20 rounded-full" />+ <div className="absolute left-0 right-0 h-[2px] bg-input rounded-full" />{ticks.map((tickPosition, index) => (<divkey={index}- className="absolute top-1/2 h-[6px] w-[2px] -translate-y-1/2 bg-[#8c8c8c] pointer-events-none"+ className="absolute top-1/2 h-[6px] w-[2px] -translate-y-1/2 bg-muted-foreground/40 pointer-events-none"style={{ left: `calc(${tickPosition}% - 1px)` }}/>))}<div- className="absolute left-0 h-[2px] bg-white rounded-l-full transition-all duration-75 ease-out pointer-events-none"+ className="absolute left-0 h-[2px] bg-foreground rounded-l-full transition-all duration-75 ease-out pointer-events-none"style={{ width: `${displayPercentage}%` }}/><div- className="absolute top-1/2 h-3.5 w-3.5 -translate-y-1/2 rounded-full bg-white shadow-sm transition-all duration-75 ease-out pointer-events-none z-10"+ className="absolute top-1/2 h-3.5 w-3.5 -translate-y-1/2 rounded-full bg-foreground shadow-sm transition-all duration-75 ease-out pointer-events-none z-10"style={{ left: `calc(${displayPercentage}% - 7px)` }}/></div>- <div className="flex items-center justify-between rounded-md bg-[#2b2b2b] px-3 py-1.5 text-sm font-medium text-[#c4c4c4] w-[60px] focus-within:ring-1 focus-within:ring-white/30 transition-shadow">+ <div className="flex items-center justify-between rounded-md bg-muted px-3 py-1.5 text-sm font-medium text-foreground w-[60px] focus-within:ring-1 focus-within:ring-ring/60 transition-shadow"><inputtype="text"value={localInputValue}onChange={handleInputChange}onBlur={applyInputValue}onKeyDown={handleInputKeyDown}- className="w-full bg-transparent outline-none p-0 text-[#c4c4c4] text-left font-mono"+ className="w-full bg-transparent outline-none p-0 text-foreground text-left font-mono"/>{suffix && (- <span className="pointer-events-none select-none ml-0.5 text-white/60 font-mono">+ <span className="pointer-events-none select-none ml-0.5 text-muted-foreground font-mono">{suffix}</span>)}diff --git a/components/ui/button.tsx b/components/ui/button.tsxindex 52a05dd..5989ff1 100644--- a/components/ui/button.tsx+++ b/components/ui/button.tsx@@ -13,11 +13,11 @@ const buttonVariants = cva(destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:- "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",+ "border bg-background text-foreground shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:- "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",+ "text-foreground hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link: "text-primary underline-offset-4 hover:underline",primary: "bg-gradient-primary text-primary hover:bg-bg-gradient-primary/90 dark:hover:bg-gradient-primary/50",},diff --git a/components/ui/dropdown-menu.tsx b/components/ui/dropdown-menu.tsxindex 637cc2e..952ec42 100644--- a/components/ui/dropdown-menu.tsx+++ b/components/ui/dropdown-menu.tsx@@ -42,7 +42,7 @@ function DropdownMenuContent({data-slot="dropdown-menu-content"sideOffset={sideOffset}className={cn(- "bg-black text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",+ "bg-popover dark:bg-black text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",className)}{...props}@@ -230,7 +230,7 @@ function DropdownMenuSubContent({<DropdownMenuPrimitive.SubContentdata-slot="dropdown-menu-sub-content"className={cn(- "bg-black text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",+ "bg-popover dark:bg-black text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",className)}{...props}diff --git a/components/ui/hover-card.tsx b/components/ui/hover-card.tsxindex 6463246..ed59c51 100644--- a/components/ui/hover-card.tsx+++ b/components/ui/hover-card.tsx@@ -32,7 +32,7 @@ function HoverCardContent({align={align}sideOffset={sideOffset}className={cn(- "z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border bg-black p-4 text-popover-foreground shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",+ "z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border bg-popover dark:bg-black p-4 text-popover-foreground shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",className)}{...props}diff --git a/components/ui/popover.tsx b/components/ui/popover.tsxindex 500d40a..5406b67 100644--- a/components/ui/popover.tsx+++ b/components/ui/popover.tsx@@ -30,7 +30,7 @@ function PopoverContent({align={align}sideOffset={sideOffset}className={cn(- "bg-black text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) squircle-element-camera border p-4 shadow-md outline-hidden",+ "bg-popover dark:bg-black text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) squircle-element-camera border p-4 shadow-md outline-hidden",className)}{...props}diff --git a/components/ui/select.tsx b/components/ui/select.tsxindex 91ce063..c0acd79 100644--- a/components/ui/select.tsx+++ b/components/ui/select.tsx@@ -64,7 +64,7 @@ function SelectContent({<SelectPrimitive.Contentdata-slot="select-content"className={cn(- "bg-black text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",+ "bg-popover dark:bg-black text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",position === "popper" &&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",classNamediff --git a/components/ui/sound-visuals.tsx b/components/ui/sound-visuals.tsxindex 4831cca..be42f1d 100644--- a/components/ui/sound-visuals.tsx+++ b/components/ui/sound-visuals.tsx@@ -51,24 +51,24 @@ function ErrorVisual({ active }: VisualProps) {function TickVisual({ active }: VisualProps) {return (- <div className={`w-4 h-4 rounded-[3px] border flex items-center justify-center transition-colors duration-150 ${active ? "bg-orange-400 border-orange-400" : "border-white/25"}`}>+ <div className={`w-4 h-4 rounded-[3px] border flex items-center justify-center transition-colors duration-150 ${active ? "bg-orange-400 border-orange-400" : "border-muted-foreground/40"}`}><Icon icon="mdi:check" width="10" className={`text-black transition-transform duration-150 ${active ? "scale-100" : "scale-0"}`} /></div>);}function PressVisual({ active }: VisualProps) {- return <div className={`w-6 h-4 rounded border transition-all duration-100 ${active ? "translate-y-0.5 bg-white/5 shadow-inner border-white/10" : "border-white/20"}`} />;+ return <div className={`w-6 h-4 rounded border transition-all duration-100 ${active ? "translate-y-0.5 bg-muted shadow-inner border-border" : "border-muted-foreground/40"}`} />;}function ReleaseVisual({ active }: VisualProps) {- return <div className={`w-6 h-4 rounded border transition-all ${active ? "-translate-y-0.5 border-emerald-400/50 bg-emerald-400/10 duration-150 ease-out" : "translate-y-0 border-white/20 duration-100"}`} />;+ return <div className={`w-6 h-4 rounded border transition-all ${active ? "-translate-y-0.5 border-emerald-400/50 bg-emerald-400/10 duration-150 ease-out" : "translate-y-0 border-muted-foreground/40 duration-100"}`} />;}function ToggleVisual({ active }: VisualProps) {return (- <div className={`w-7 h-4 rounded-full flex items-center px-0.5 transition-colors duration-200 ${active ? "bg-fuchsia-500/70 justify-end" : "bg-white/15 justify-start"}`}>- <span className="w-3 h-3 rounded-full bg-white" />+ <div className={`w-7 h-4 rounded-full flex items-center px-0.5 transition-colors duration-200 ${active ? "bg-fuchsia-500/70 justify-end" : "bg-input justify-start"}`}>+ <span className="w-3 h-3 rounded-full bg-foreground" /></div>);}@@ -85,7 +85,7 @@ function PulseVisual({ active }: VisualProps) {function ScanVisual({ active }: VisualProps) {return (<div className="relative w-8 h-3 flex items-center">- <span className="absolute inset-x-0 top-1/2 border-b border-white/10" />+ <span className="absolute inset-x-0 top-1/2 border-b border-muted-foreground/30" /><span className={`absolute w-1 h-1 rounded-full bg-teal-300 ease-linear ${active ? "left-[26px] transition-all duration-500" : "left-0"}`} /></div>);@@ -94,8 +94,8 @@ function ScanVisual({ active }: VisualProps) {function PageVisual({ active }: VisualProps) {return (<div className="relative w-7 h-6 flex items-center justify-center">- <span className={`absolute w-4 h-5 rounded-sm bg-white/10 border border-white/15 transition-all duration-250 ease-out ${active ? "-translate-x-1.5 -rotate-6 opacity-40" : "opacity-70"}`} />- <span className={`absolute w-4 h-5 rounded-sm bg-white/15 border border-white/20 transition-all duration-250 ease-out ${active ? "translate-x-1 rotate-3" : ""}`} />+ <span className={`absolute w-4 h-5 rounded-sm bg-muted-foreground/20 border border-muted-foreground/30 transition-all duration-250 ease-out ${active ? "-translate-x-1.5 -rotate-6 opacity-40" : "opacity-70"}`} />+ <span className={`absolute w-4 h-5 rounded-sm bg-muted-foreground/25 border border-muted-foreground/35 transition-all duration-250 ease-out ${active ? "translate-x-1 rotate-3" : ""}`} /></div>);}@@ -129,7 +129,7 @@ function ArrivalVisual({ active }: VisualProps) {function WhisperVisual({ active }: VisualProps) {return (<div className="w-8 h-6 flex items-center justify-center">- <span className={`px-1.5 py-0.5 rounded text-[8px] bg-white/10 text-white/50 transition-all duration-300 ${active ? "opacity-100 translate-y-0" : "opacity-0 translate-y-1"}`}>tip</span>+ <span className={`px-1.5 py-0.5 rounded text-[8px] bg-muted text-muted-foreground transition-all duration-300 ${active ? "opacity-100 translate-y-0" : "opacity-0 translate-y-1"}`}>tip</span></div>);}diff --git a/components/ui/toggle.tsx b/components/ui/toggle.tsxindex 4aaeb57..c55e6fd 100644--- a/components/ui/toggle.tsx+++ b/components/ui/toggle.tsx@@ -25,15 +25,15 @@ export function Toggle({}}className={`relative h-5 w-9 shrink-0 rounded-full transition-colors ${disabled- ? "opacity-50 cursor-not-allowed bg-white/5"+ ? "opacity-50 cursor-not-allowed bg-input": checked? activeColor- : "bg-white/10"+ : "bg-input"}`}><span- className={`absolute top-0.5 left-0.5 size-4 rounded-full bg-white transition-transform ${- checked ? "translate-x-4" : "translate-x-0"+ className={`absolute top-0.5 left-0.5 size-4 rounded-full transition-transform ${+ checked ? "translate-x-4 bg-white" : "translate-x-0 bg-foreground"}`}/></button>diff --git a/components/ui/tooltip-action.tsx b/components/ui/tooltip-action.tsxindex 05d71a4..e8c3749 100644--- a/components/ui/tooltip-action.tsx+++ b/components/ui/tooltip-action.tsx@@ -14,7 +14,7 @@ export function TooltipAction({ children, label, side = "bottom" }: TooltipActio<TooltipContentside={side}sideOffset={5}- className="bg-white text-black border border-gray-200 px-2 py-1 shadow-sm"+ className="bg-foreground text-background border border-border px-2 py-1 shadow-sm">{label}</TooltipContent>diff --git a/components/ui/tooltip.tsx b/components/ui/tooltip.tsxindex ca347be..aed1f57 100644--- a/components/ui/tooltip.tsx+++ b/components/ui/tooltip.tsx@@ -48,7 +48,7 @@ function TooltipContent({{...props}>{children}- <TooltipPrimitive.Arrow className="z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-white fill-white" />+ <TooltipPrimitive.Arrow className="z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground" /></TooltipPrimitive.Content></TooltipPrimitive.Portal>)diff --git a/lib/canvas-elements-timeline.utils.ts b/lib/canvas-elements-timeline.utils.tsindex 848dfd8..4b46001 100644--- a/lib/canvas-elements-timeline.utils.ts+++ b/lib/canvas-elements-timeline.utils.ts@@ -85,8 +85,8 @@ export const ELEMENT_TYPE_STYLES: Record<CanvasElement["type"], {activeBg: "linear-gradient(180deg, rgba(167,139,250,0.5) 0%, rgba(109,40,217,0.4) 100%)",idleBorder: "border-violet-500/35",idleBg: "linear-gradient(180deg, rgba(167,139,250,0.2) 0%, rgba(76,29,149,0.15) 100%)",- activeText: "text-violet-200",- idleText: "text-violet-300/70",+ activeText: "text-violet-700 dark:text-violet-200",+ idleText: "text-violet-700/70 dark:text-violet-300/70",glow: "shadow-[0_0_10px_rgba(167,139,250,0.35)]",},image: {@@ -95,8 +95,8 @@ export const ELEMENT_TYPE_STYLES: Record<CanvasElement["type"], {activeBg: "linear-gradient(180deg, rgba(244,114,182,0.5) 0%, rgba(190,24,93,0.4) 100%)",idleBorder: "border-pink-500/35",idleBg: "linear-gradient(180deg, rgba(244,114,182,0.2) 0%, rgba(131,24,67,0.15) 100%)",- activeText: "text-pink-200",- idleText: "text-pink-300/70",+ activeText: "text-pink-700 dark:text-pink-200",+ idleText: "text-pink-700/70 dark:text-pink-300/70",glow: "shadow-[0_0_10px_rgba(244,114,182,0.35)]",},svg: {@@ -105,8 +105,8 @@ export const ELEMENT_TYPE_STYLES: Record<CanvasElement["type"], {activeBg: "linear-gradient(180deg, rgba(34,211,238,0.5) 0%, rgba(14,116,144,0.4) 100%)",idleBorder: "border-cyan-500/35",idleBg: "linear-gradient(180deg, rgba(34,211,238,0.2) 0%, rgba(22,78,99,0.15) 100%)",- activeText: "text-cyan-200",- idleText: "text-cyan-300/70",+ activeText: "text-cyan-700 dark:text-cyan-200",+ idleText: "text-cyan-700/70 dark:text-cyan-300/70",glow: "shadow-[0_0_10px_rgba(34,211,238,0.35)]",},};diff --git a/messages/en.json b/messages/en.jsonindex 6d82f62..643b62c 100644--- a/messages/en.json+++ b/messages/en.json@@ -317,7 +317,11 @@"logout": "Sign out","loggingOut": "Signing out...","ariaLabel": "User menu",- "defaultUser": "User"+ "defaultUser": "User",+ "theme": "Theme",+ "themeLight": "Light",+ "themeDark": "Dark",+ "themeSystem": "System"},"donation": {"title": "Buy me a coffee",diff --git a/messages/es.json b/messages/es.jsonindex 6d16994..e00479f 100644--- a/messages/es.json+++ b/messages/es.json@@ -313,7 +313,11 @@"logout": "Cerrar sesión","loggingOut": "Cerrando sesión...","ariaLabel": "Menú de usuario",- "defaultUser": "Usuario"+ "defaultUser": "Usuario",+ "theme": "Tema",+ "themeLight": "Claro",+ "themeDark": "Oscuro",+ "themeSystem": "Sistema"},"donation": {"title": "Cómprame un café",diff --git a/messages/ko.json b/messages/ko.jsonindex 4bf6368..81ba120 100644--- a/messages/ko.json+++ b/messages/ko.json@@ -317,7 +317,11 @@"logout": "로그아웃","loggingOut": "로그아웃 중...","ariaLabel": "사용자 메뉴",- "defaultUser": "사용자"+ "defaultUser": "사용자",+ "theme": "테마",+ "themeLight": "라이트",+ "themeDark": "다크",+ "themeSystem": "시스템"},"donation": {"title": "커피 한 잔 후원하기",diff --git a/messages/ru.json b/messages/ru.jsonindex e3e00c4..8e1b2e4 100644--- a/messages/ru.json+++ b/messages/ru.json@@ -1236,7 +1236,11 @@"logout": "Выйти","loggingOut": "Выход...","ariaLabel": "Меню пользователя",- "defaultUser": "Пользователь"+ "defaultUser": "Пользователь",+ "theme": "Тема",+ "themeLight": "Светлая",+ "themeDark": "Тёмная",+ "themeSystem": "Системная"},"featuresShowcase": {"common": {