Create professional demos and 3D mockups in seconds, directly in your browser
Enhance UI consistency by updating text sizes and colors across various components
CristianOlivera150d780bef6df
diff --git a/app/[locale]/(editor)/editor/page.tsx b/app/[locale]/(editor)/editor/page.tsxindex b941727..d935720 100644--- a/app/[locale]/(editor)/editor/page.tsx+++ b/app/[locale]/(editor)/editor/page.tsx@@ -985,6 +985,7 @@ export default function Editor() {// Videos library stateconst [newVideosCount, setNewVideosCount] = useState<number>(0);const [videosLibraryRefresh, setVideosLibraryRefresh] = useState<number>(0);+ const newVideosBadgeTimeoutRef = useRef<NodeJS.Timeout | null>(null);// Video track clips state (multi-video support)const [videoClips, setVideoClips] = useState<VideoTrackClip[]>([]);@@ -1729,11 +1730,26 @@ export default function Editor() {videoClips: videoClips.length > 0 ? videoClips : undefined,videoClipBlobs: videoClips.length > 1 ? videoBlobsRef.current : undefined,clipAudioStates: Object.fromEntries(clipAudioStateRef.current),+ speed: globalSpeed}).finally(() => {isExportingRef.current = false;});};+ const showNewVideosBadge = useCallback((count: number) => {+ if (newVideosBadgeTimeoutRef.current) {+ clearTimeout(newVideosBadgeTimeoutRef.current);+ newVideosBadgeTimeoutRef.current = null;+ }+ setNewVideosCount(count);+ if (count > 0) {+ newVideosBadgeTimeoutRef.current = setTimeout(() => {+ setNewVideosCount(0);+ newVideosBadgeTimeoutRef.current = null;+ }, 5000);+ }+ }, []);+const handleVideoUpload = useCallback(async (file: File) => {const hasExistingClips = videoClipsRef.current.length > 0;@@ -1742,7 +1758,7 @@ export default function Editor() {try {libraryVideo = await addVideoToLibrary(file);const count = await getLibraryVideoCount();- setNewVideosCount(hasExistingClips ? count : 0);+ showNewVideosBadge(hasExistingClips ? count : 0);setVideosLibraryRefresh(prev => prev + 1);} catch (error) {console.warn("Failed to add video to library:", error);@@ -1812,18 +1828,34 @@ export default function Editor() {setIsPlaying(false);setTimeout(() => clearHistory(), 200);}- }, [uploadVideo, clearHistory]);+ }, [uploadVideo, clearHistory, showNewVideosBadge]);- // Handler to upload video to the library only (from VideosMenu)const handleVideoUploadToLibrary = useCallback(async (file: File) => {try {await addVideoToLibrary(file);const count = await getLibraryVideoCount();- setNewVideosCount(count);+ showNewVideosBadge(count);setVideosLibraryRefresh(prev => prev + 1);} catch (error) {console.warn("Failed to add video to library:", error);}+ }, [showNewVideosBadge]);++ useEffect(() => {+ return () => {+ if (newVideosBadgeTimeoutRef.current) clearTimeout(newVideosBadgeTimeoutRef.current);+ };+ }, []);++ const [globalSpeed, setGlobalSpeed] = useState<number>(1);+ const globalSpeedRef = useRef<number>(1);+ useEffect(() => { globalSpeedRef.current = globalSpeed; }, [globalSpeed]);++ const handleGlobalSpeedChange = useCallback((speed: number) => {+ setGlobalSpeed(speed);+ if (videoRef.current) {+ videoRef.current.playbackRate = speed;+ }}, []);// Handler to add video from library to the track (concatenate)@@ -1894,13 +1926,13 @@ export default function Editor() {setIsPlaying(false);}- setNewVideosCount(0);+ showNewVideosBadge(0);clearHistory();}, 0);return updatedClips;});- }, [clearHistory]);+ }, [clearHistory, showNewVideosBadge]);const activeClipForDims = useMemo(() => (videoClips.length > 0 ? getClipAtTime(videoClips, currentTime) : null),@@ -2102,12 +2134,6 @@ export default function Editor() {});}, []);- useEffect(() => {- if (activeTool === "video") {- setNewVideosCount(0);- }- }, [activeTool]);-const lastLoadedVideoIdRef = useRef<string | null>(null);// Load image from cache when in photo mode and create project if not exists@@ -2401,7 +2427,7 @@ export default function Editor() {const clipTime = timelineToClipTime(startTime, clipAtTime);const onCanPlay = () => {if (videoRef.current) {- videoRef.current.playbackRate = 1.0;+ videoRef.current.playbackRate = globalSpeedRef.current;videoRef.current.currentTime = clipTime;const clipHasAudio = clipAudioStateRef.current.get(clipAtTime.libraryVideoId);videoRef.current.muted = muteOriginalAudioRef.current || clipHasAudio === false;@@ -2533,7 +2559,7 @@ export default function Editor() {clipSwitchTimeRef.current = null;isSwitchingClipRef.current = false;justEndedRef.current = false;- currentVideo.playbackRate = 1.0;+ currentVideo.playbackRate = globalSpeedRef.current;const nextClipHasAudio = clipAudioStateRef.current.get(nextClipSnapshot.libraryVideoId);currentVideo.muted = muteOriginalAudioRef.current || nextClipHasAudio === false;currentVideo.play().catch(e => {@@ -2690,7 +2716,7 @@ export default function Editor() {const shouldPlay = wasPlayingBeforeDragRef.current;const onCanPlay = () => {if (currentVideo) {- currentVideo.playbackRate = 1.0;+ currentVideo.playbackRate = globalSpeedRef.current;currentVideo.currentTime = clipTime;const clipHasAudio = clipAudioStateRef.current.get(clipAtTime.libraryVideoId);currentVideo.muted = muteOriginalAudioRef.current || clipHasAudio === false;@@ -2741,7 +2767,7 @@ export default function Editor() {const handleLoadedMetadata = useCallback(() => {if (videoRef.current) {- videoRef.current.playbackRate = 1.0;+ videoRef.current.playbackRate = globalSpeedRef.current;if (isExportingRef.current) return;@@ -2829,7 +2855,7 @@ export default function Editor() {const onCanPlay = () => {if (currentVideo) {- currentVideo.playbackRate = 1.0;+ currentVideo.playbackRate = globalSpeedRef.current;currentVideo.currentTime = clipTime;const clipHasAudio = clipAudioStateRef.current.get(clipAtTime.libraryVideoId);currentVideo.muted = muteOriginalAudioRef.current || clipHasAudio === false;@@ -3167,7 +3193,7 @@ export default function Editor() {const effectiveCameraUrl = shouldShowCamera ? cameraUrl : null;return (- <div className="flex flex-col h-screen w-full bg-[#0E0E12] text-white/60 font-sans overflow-hidden select-none">+ <div className="flex flex-col h-screen w-full bg-[#0E0E12] text-white/70 font-sans overflow-hidden select-none"><div className="flex flex-1 overflow-hidden"><div className="hidden lg:flex"><ToolsSidebar@@ -3283,6 +3309,8 @@ export default function Editor() {mediaType={isPhotoMode ? "image" : "video"}wallpaperShowAll={wallpaperShowAll}onWallpaperShowAllChange={setWallpaperShowAll}+ globalSpeed={globalSpeed}+ onGlobalSpeedChange={handleGlobalSpeedChange}/></Suspense></motion.div>@@ -3374,6 +3402,7 @@ export default function Editor() {onEnded={handleVideoEnded}activeMediaAspect={activeMediaAspect}activeClipUrl={activeClipUrl}+ onPaddingChange={setPadding}/>{/* Video mode: Show player controls and timeline */}@@ -3430,6 +3459,9 @@ export default function Editor() {selectedAudioTrackId={selectedAudioTrackId}onSelectAudioTrack={handleSelectAudioTrack}onUpdateAudioTrack={handleUpdateAudioTrack}+ globalSpeed={globalSpeed}+ isPlaying={isPlaying}+ onZoomChange={handleZoomChange}/></Suspense></>diff --git a/app/[locale]/(home)/donate/DonateClient.tsx b/app/[locale]/(home)/donate/DonateClient.tsxindex 1fc79e8..df348a9 100644--- a/app/[locale]/(home)/donate/DonateClient.tsx+++ b/app/[locale]/(home)/donate/DonateClient.tsx@@ -34,12 +34,12 @@ export default function DonateClient({ methods, defaultMethod }: DonateClientPro<div className="mb-10"><h1 className="text-2xl font-semibold text-white mb-2 tracking-tight">{t("title")}</h1>- <p className="text-white/50 text-sm leading-relaxed max-w-lg">{t("description")}</p>+ <p className="text-white/60 text-sm leading-relaxed max-w-lg">{t("description")}</p></div><div className="flex flex-col bg-[#0A0A0A] border border-white/10 rounded-xl overflow-hidden shadow-2xl" role="region" aria-label={t("methods")}><div className="px-5 py-3 border-b border-white/10 bg-white/5 flex items-center justify-between">- <span className="text-[10px] font-semibold uppercase tracking-[0.15em] text-white/50">+ <span className="text-[11px] font-semibold uppercase tracking-[0.15em] text-white/60">{t("methods")}</span><Icon icon="lucide:shield-check" width="14" className="text-white/30" />@@ -101,11 +101,11 @@ export default function DonateClient({ methods, defaultMethod }: DonateClientPro<CopyRow label={t("paypal.email")} value={method.email || ""} copyKey="p-e" copied={copied} onCopy={handleCopy} copyText={t("copy")} copiedText={t("copied")} /><div className="flex items-center gap-3"><div className="h-px bg-white/10 flex-1"></div>- <span className="text-[10px] uppercase tracking-widest text-white/30 font-medium">{t("alternative")}</span>+ <span className="text-[11px] uppercase tracking-widest text-white/30 font-medium">{t("alternative")}</span><div className="h-px bg-white/10 flex-1"></div></div><a href={method.link} target="_blank" rel="noopener noreferrer" className="flex items-center justify-center gap-2 w-full px-4 py-2.5 rounded-lg border border-white/10 bg-white/5 hover:bg-white/10 text-sm font-medium text-white transition-colors" aria-label={`${t("paypal.link")} (opens in new window)`}>- <Icon icon="lucide:external-link" width="16" className="text-white/50" aria-hidden="true" />+ <Icon icon="lucide:external-link" width="16" className="text-white/60" aria-hidden="true" />{t("openLink")}</a></div>@@ -160,7 +160,7 @@ function CopyRow({ label, value, copyKey, copied, onCopy, copyText, copiedText }return (<div className="flex items-center justify-between bg-black border border-white/10 rounded-lg p-3 group"><div>- <p className="text-[10px] uppercase tracking-wider text-white/40 mb-1 font-medium" id={`label-${copyKey}`}>{label}</p>+ <p className="text-[11px] uppercase tracking-wider text-white/40 mb-1 font-medium" id={`label-${copyKey}`}>{label}</p><p className="font-mono text-sm text-white/90 tracking-wide" aria-labelledby={`label-${copyKey}`}>{value}</p></div><button@@ -168,7 +168,7 @@ function CopyRow({ label, value, copyKey, copied, onCopy, copyText, copiedText }className={`flex items-center gap-1.5 px-3 py-1.5 rounded border transition-all text-xs font-medium ${copied === copyKey? "border-green-500/30 bg-green-500/10 text-green-400"- : "border-white/10 bg-white/5 text-white/60 hover:text-white hover:bg-white/10"+ : "border-white/10 bg-white/5 text-white/70 hover:text-white hover:bg-white/10"}`}aria-label={`${copied === copyKey ? copiedText : copyText} ${label}`}aria-live="polite"diff --git a/app/[locale]/(legal)/privacy/page.tsx b/app/[locale]/(legal)/privacy/page.tsxindex f9abb74..8f3d072 100644--- a/app/[locale]/(legal)/privacy/page.tsx+++ b/app/[locale]/(legal)/privacy/page.tsx@@ -21,7 +21,7 @@ export default function PrivacyPage() {<nav aria-label="Breadcrumb" className="mb-12"><Linkhref="/"- className="inline-flex items-center text-sm text-white/50 hover:text-white mb-8 transition-colors"+ className="inline-flex items-center text-sm text-white/60 hover:text-white mb-8 transition-colors"aria-label={t("backToHome")}><Icon icon="lucide:arrow-left" width="16" className="mr-2" aria-hidden="true" />@@ -32,7 +32,7 @@ export default function PrivacyPage() {<h1 className="text-3xl md:text-4xl font-semibold text-white mb-3">{t("title")}</h1>- <p className="text-white/50 text-sm">+ <p className="text-white/60 text-sm">{t("lastUpdated", { date: lastUpdatedDate })}</p>@@ -160,7 +160,7 @@ export default function PrivacyPage() {</main><footer className="mt-16 pt-8 border-t border-white/10">- <p className="text-sm text-white/50">+ <p className="text-sm text-white/60">{t.rich("acceptance.content", {terms: (chunks) => (<Linkdiff --git a/app/[locale]/(legal)/terms/page.tsx b/app/[locale]/(legal)/terms/page.tsxindex 53cabba..e24a7bd 100644--- a/app/[locale]/(legal)/terms/page.tsx+++ b/app/[locale]/(legal)/terms/page.tsx@@ -20,7 +20,7 @@ export default function TermsPage() {<nav aria-label="Breadcrumb" className="mb-12"><Linkhref="/"- className="inline-flex items-center text-sm text-white/50 hover:text-white mb-8 transition-colors"+ className="inline-flex items-center text-sm text-white/60 hover:text-white mb-8 transition-colors"aria-label={t("backToHome")}><Icon icon="lucide:arrow-left" width="16" className="mr-2" aria-hidden="true" />@@ -31,7 +31,7 @@ export default function TermsPage() {<h1 className="text-3xl md:text-4xl font-semibold text-white mb-3">{t("title")}</h1>- <p className="text-white/50 text-sm">+ <p className="text-white/60 text-sm">{t("lastUpdated", { date: lastUpdatedDate })}</p></header>@@ -123,7 +123,7 @@ export default function TermsPage() {</main><footer className="mt-16 pt-8 border-t border-white/10">- <p className="text-sm text-white/50">+ <p className="text-sm text-white/60">{t.rich("acceptance2.content", {privacy: (chunks) => (<Linkdiff --git a/app/components/ui/AspectRatioSelect.tsx b/app/components/ui/AspectRatioSelect.tsxindex de5f2c3..43d2e84 100644--- a/app/components/ui/AspectRatioSelect.tsx+++ b/app/components/ui/AspectRatioSelect.tsx@@ -118,12 +118,12 @@ export function AspectRatioSelect({<div className="h-10 flex items-center justify-center"><RatioShape ratio={item.id} isSelected={isSelected} /></div>- <div className="text-[10px] font-medium text-center leading-tight">+ <div className="text-[11px] font-medium text-center leading-tight"><span className={`block ${isSelected ? "text-primary font-semibold" : "text-foreground"}`}>{item.label}</span>{item.subLabel && (- <span className="block opacity-70 mt-0.5 tracking-wider font-mono text-[10px]">+ <span className="block opacity-70 mt-0.5 tracking-wider font-mono text-[11px]">{item.subLabel}</span>)}@@ -141,7 +141,7 @@ export function AspectRatioSelect({{t("customSection.title")}</span>{value === "custom" && (- <span className="text-[10px] font-medium bg-primary/20 text-primary px-2 py-0.5 rounded-full">+ <span className="text-[11px] font-medium bg-primary/20 text-primary px-2 py-0.5 rounded-full">Activo</span>)}@@ -149,7 +149,7 @@ export function AspectRatioSelect({<div className="flex items-center gap-2 mb-3"><div className="relative flex-1">- <span className="absolute left-2.5 top-1/2 -translate-y-1/2 text-[10px] font-medium text-muted-foreground">+ <span className="absolute left-2.5 top-1/2 -translate-y-1/2 text-[11px] font-medium text-muted-foreground">W</span><input@@ -163,7 +163,7 @@ export function AspectRatioSelect({</div><Icon icon="lucide:x" width="12" className="text-muted-foreground" /><div className="relative flex-1">- <span className="absolute left-2.5 top-1/2 -translate-y-1/2 text-[10px] font-medium text-muted-foreground">+ <span className="absolute left-2.5 top-1/2 -translate-y-1/2 text-[11px] font-medium text-muted-foreground">H</span><inputdiff --git a/app/components/ui/BackgroundColorEditor.tsx b/app/components/ui/BackgroundColorEditor.tsxindex 825c1b4..1aa8b0c 100644--- a/app/components/ui/BackgroundColorEditor.tsx+++ b/app/components/ui/BackgroundColorEditor.tsx@@ -170,7 +170,7 @@ function SortableStopList({ stops, onReorder, onColorChange, onPositionChange, o{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/60 transition-colors touch-none select-none flex-shrink-0" >+ <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" ><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">@@ -294,14 +294,14 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditor<div className="space-y-6"><div className="flex bg-[#09090B] 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/60 hover:text-white"}`}+ className={`flex-1 py-1.5 rounded transition ${mode === "gradient" ? "bg-white/10 text-white" : "text-white/70 hover:text-white"}`}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/60 hover:text-white"}`}+ className={`flex-1 py-1.5 rounded transition ${mode === "solid" ? "bg-white/10 text-white" : "text-white/70 hover:text-white"}`}onClick={() => { setMode("solid"); onChange({ type: "solid", config: { color: currentSolidColor } }); }}aria-pressed={mode === "solid"}>@@ -312,7 +312,7 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditor{mode === "solid" && (<div className="space-y-4"><div>- <div className="text-[10px] uppercase tracking-widest text-white/60 font-bold mb-3">{t("sections.presets")}</div>+ <div className="text-[11px] uppercase tracking-widest text-white/70 font-bold mb-3">{t("sections.presets")}</div><div className="grid grid-cols-6 gap-2">{PRESET_SOLID_COLORS.slice(0, 23).map((color) => (<button@@ -335,9 +335,9 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditor<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 rounded-xl 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/50" aria-hidden="true" />- <span className="text-[10px] font-medium uppercase tracking-[0.15em] text-white/50">{t("sections.moreColors")}</span>- <span className="ml-auto text-[10px] text-white/60">{PRESET_SOLID_COLORS.length} total</span>+ <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><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) => (@@ -358,16 +358,16 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditor</div><div className="bg-[#09090B] rounded-xl border border-white/10 p-3 space-y-3">- <div className="text-[10px] uppercase tracking-widest text-white/60 font-bold">{t("sections.customize")}</div>+ <div className="text-[11px] uppercase tracking-widest text-white/70 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-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/60 transition-opacity pointer-events-none" width="20" aria-hidden="true" />+ <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" /></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/50"}`} aria-label={copied ? "Copied" : "Copy color code"}>+ <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"}>{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-[10px] uppercase tracking-widest text-white/60 font-bold mb-3">{t("sections.presets")}</div>+ <div className="text-[11px] uppercase tracking-widest text-white/70 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);@@ -406,11 +406,11 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditor<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 rounded-xl 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/50" aria-hidden="true" />- <span className="text-[10px] font-medium uppercase tracking-[0.15em] text-white/50">+ <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">{t("sections.moreGradients", { type: t(`types.${currentGradient.type}`) })}</span>- <span className="ml-auto text-[10px] text-white/60">{currentPresetGradients.length} total</span>+ <span className="ml-auto text-[11px] text-white/70">{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) => {@@ -435,14 +435,14 @@ export function BackgroundColorEditor({ value, onChange }: BackgroundColorEditor</div><div className="space-y-4">- <div className="text-[10px] uppercase tracking-widest text-white/60 font-bold">{t("sections.customize")}</div>+ <div className="text-[11px] uppercase tracking-widest text-white/70 font-bold">{t("sections.customize")}</div><div className="space-y-2">- <div className="text-[10px] text-white/60 font-medium">{t("sections.type")}</div>+ <div className="text-[11px] text-white/70 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/60 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-white/10 text-white border border-white/20" : "bg-white/10 text-white/70 hover:bg-white/10"}`}onClick={() => handleGradientTypeChange(type)}aria-pressed={currentGradient.type === type}>@@ -455,9 +455,9 @@ 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-[10px] text-white/60 font-medium">+ <div className="flex justify-between items-center text-[11px] text-white/70 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/50 px-2 py-0.5 rounded">{currentGradient.angle ?? (currentGradient.type === "conic" ? 0 : 135)}°</span>+ <span className="font-mono text-white/60 px-2 py-0.5 rounded">{currentGradient.angle ?? (currentGradient.type === "conic" ? 0 : 135)}°</span></div><inputtype="range" min="0" max="360"@@ -476,12 +476,12 @@ 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-[10px] text-white/60 font-medium">+ <div className="flex justify-between items-center text-[11px] text-white/70 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/50 px-2 py-0.5 rounded">{val}%</span>+ <span className="font-mono text-white/60 px-2 py-0.5 rounded">{val}%</span></div><inputtype="range" min="0" max="100" value={val}@@ -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-[10px] text-white/60 font-medium">+ <div className="text-[11px] text-white/70 font-medium">{t("sections.stops", { count: currentGradient.stops.length })}</div>{currentGradient.stops.length < 5 && (- <button onClick={handleAddStop} className="text-[10px] text-white/50 hover:text-white flex items-center gap-1 transition-colors" aria-label={t("sections.add")}>+ <button onClick={handleAddStop} className="text-[11px] text-white/60 hover:text-white 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>)}diff --git a/app/components/ui/ExportDropdown.tsx b/app/components/ui/ExportDropdown.tsxindex 602c000..28e61e1 100644--- a/app/components/ui/ExportDropdown.tsx+++ b/app/components/ui/ExportDropdown.tsx@@ -68,7 +68,7 @@ export function ExportDropdown({ onExport, exportProgress, hasTransparentBackgro</span>)}</div>- <span className={`text-[11px] font-mono ${isGif ? "text-orange-400/70" : "text-white/50"}`}>+ <span className={`text-[11px] font-mono ${isGif ? "text-orange-400/70" : "text-white/60"}`}>{isTransparent ? (<>{resolution} · <span className="text-cyan-400/70">{isGif ? t("gifNotice") : "VP9 Alpha"}</span></>) : (@@ -96,7 +96,7 @@ export function ExportDropdown({ onExport, exportProgress, hasTransparentBackgro<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 rounded-xl overflow-hidden shadow-2xl"><div className="px-4 py-3 border-b border-white/10 bg-white/5">- <span className="text-[10px] font-medium uppercase tracking-[0.15em] text-white/50">+ <span className="text-[11px] font-medium uppercase tracking-[0.15em] text-white/60">{t("title")}</span></div>diff --git a/app/components/ui/ExportImageDropdown.tsx b/app/components/ui/ExportImageDropdown.tsxindex 6d6280c..e5bebb5 100644--- a/app/components/ui/ExportImageDropdown.tsx+++ b/app/components/ui/ExportImageDropdown.tsx@@ -192,7 +192,7 @@ export function ExportImageDropdown({className="w-80 bg-black border-white/15 text-white shadow-2xl p-0 rounded-xl 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-[10px] font-medium uppercase tracking-[0.15em] text-white/50">+ <span className="text-[11px] font-medium uppercase tracking-[0.15em] text-white/60">{t("title") || "Formato"}</span>{isTransparent && (@@ -238,7 +238,7 @@ export function ExportImageDropdown({<Iconicon={opt.icon}width="22"- className={`${isSelected ? "text-white" : "text-white/40 group-hover:text-white/60"}`}+ className={`${isSelected ? "text-white" : "text-white/40 group-hover:text-white/70"}`}aria-hidden="true"/>@@ -277,7 +277,7 @@ export function ExportImageDropdown({</span>)}</div>- <span className="text-[10px] font-mono text-white/30">+ <span className="text-[11px] font-mono text-white/30">{preset.description}</span></div>diff --git a/app/components/ui/ExportOverlay.tsx b/app/components/ui/ExportOverlay.tsxindex ecef8f9..1bc48af 100644--- a/app/components/ui/ExportOverlay.tsx+++ b/app/components/ui/ExportOverlay.tsx@@ -52,7 +52,7 @@ export function ExportOverlay({ exportProgress, onCancel, isTransparentExport }:<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-[10px] font-bold uppercase tracking-[0.3em] text-white/50">+ <span className="text-[11px] font-bold uppercase tracking-[0.3em] text-white/60">{t("processing")}</span></div>@@ -60,7 +60,7 @@ export function ExportOverlay({ exportProgress, onCancel, isTransparentExport }:<div className="text-center mb-8"><h2 className="text-7xl font-bold tracking-tighter text-white tabular-nums">- {exportProgress.progress}<span className="text-2xl text-white/60 ml-1">%</span>+ {exportProgress.progress}<span className="text-2xl text-white/70 ml-1">%</span></h2></div>@@ -83,7 +83,7 @@ export function ExportOverlay({ exportProgress, onCancel, isTransparentExport }:<div className="flex items-start gap-3 p-4 bg-white/5 border border-white/10 rounded-xl"><Icon icon="lucide:alert-circle" className="text-blue-500 shrink-0 mt-0.5" width="18" />- <p className="text-md text-white/60 leading-relaxed">+ <p className="text-md text-white/70 leading-relaxed">{t.rich("warnings.performance", {highlight: (chunks) => (<span className="relative font-bold text-white px-1">@@ -112,7 +112,7 @@ export function ExportOverlay({ exportProgress, onCancel, isTransparentExport }:<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/60 hover:text-red-400 text-sm font-medium transition-all duration-300 rounded-xl"+ 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 rounded-xl"><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 dd108f3..78986c3 100644--- a/app/components/ui/FloatingCameraPreview.tsx+++ b/app/components/ui/FloatingCameraPreview.tsx@@ -133,7 +133,7 @@ export default function FloatingCameraPreview({ stream, config, onConfigChange }borderRadius: radius,}}>- <div className="flex items-center gap-1.5 px-2 py-1 rounded-full bg-black/60 text-white text-[10px] font-medium">+ <div className="flex items-center gap-1.5 px-2 py-1 rounded-full bg-black/60 text-white text-[11px] font-medium"><Icon icon="solar:hand-move-bold" className="size-3.5" />Arrastrar</div>diff --git a/app/components/ui/ImageRecentBackgroundGrid.tsx b/app/components/ui/ImageRecentBackgroundGrid.tsxindex df723cd..70e4980 100644--- a/app/components/ui/ImageRecentBackgroundGrid.tsx+++ b/app/components/ui/ImageRecentBackgroundGrid.tsx@@ -64,15 +64,15 @@ export function ImageRecentBackgroundGrid({aria-label={t("upload.instruction")}tabIndex={0}>- <Icon icon="mdi:cloud-upload" className="text-3xl mx-auto mb-2 text-white/50 group-hover:text-white/70 transition-colors" aria-hidden="true" />- <p className="text-xs text-white/60">+ <Icon icon="mdi:cloud-upload" className="text-3xl mx-auto mb-2 text-white/60 group-hover:text-white/70 transition-colors" aria-hidden="true" />+ <p className="text-xs text-white/70">{t("upload.instruction")} <span className="text-white">{t("upload.action")}</span></p></div>{images.length > 0 && (<div>- <div className="text-[10px] uppercase tracking-widest text-white/60 font-bold mb-3 flex items-center gap-2">+ <div className="text-[11px] uppercase tracking-widest text-white/70 font-bold mb-3 flex items-center gap-2"><Icon icon="mdi:history" width="14" aria-hidden="true" /><span>{t("sections.recent")}</span></div>diff --git a/app/components/ui/PhotoPickerPopover.tsx b/app/components/ui/PhotoPickerPopover.tsxindex 79b0614..8963685 100644--- a/app/components/ui/PhotoPickerPopover.tsx+++ b/app/components/ui/PhotoPickerPopover.tsx@@ -42,7 +42,7 @@ function ProgressiveImage({ photo }: { photo: UnifiedPhoto }) {}`}/><div className="absolute inset-0 bg-linear-to-t from-black/60 via-black/0 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end p-2 pointer-events-none">- <span className="text-[10px] text-white truncate font-medium drop-shadow-md">+ <span className="text-[11px] text-white truncate font-medium drop-shadow-md">{photo.photographer}</span></div>@@ -236,11 +236,11 @@ export function PhotoPickerPopover({ onSelect }: PhotoPickerPopoverProps) {<div className="flex flex-col bg-black border border-white/10 rounded-xl 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 items-center gap-2">- <Icon icon="ph:images-bold" width="13" className="text-white/50" aria-hidden="true" />- <span className="text-[10px] font-medium uppercase tracking-[0.15em] text-white/50">+ <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">{t("title")}</span>- <span className="ml-auto text-[10px] text-white/30">+ <span className="ml-auto text-[11px] text-white/30">{isSearchMode ? `"${activeQuery}"` : t("statusDiscovering")}</span></div>@@ -258,7 +258,7 @@ export function PhotoPickerPopover({ onSelect }: PhotoPickerPopoverProps) {aria-label={t("searchPlaceholder")}/>{inputValue && (- <button onClick={handleClear} className="text-white/30 hover:text-white/60 transition-colors" aria-label="Clear search">+ <button onClick={handleClear} className="text-white/30 hover:text-white/70 transition-colors" aria-label="Clear search"><Icon icon="mdi:close" width="13" aria-hidden="true" /></button>)}@@ -272,7 +272,7 @@ export function PhotoPickerPopover({ onSelect }: PhotoPickerPopoverProps) {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/50 hover:text-white/70 hover:border-white/20"+ : "bg-white/5 border-white/10 text-white/60 hover:text-white/70 hover:border-white/20"}`}>{t(`badges.${badge.key}`)}@@ -295,13 +295,13 @@ export function PhotoPickerPopover({ onSelect }: PhotoPickerPopoverProps) {)}</div><div className="px-4 py-2.5 border-t border-white/10 bg-white/5 shrink-0">- <span className="text-[10px] text-white/30">+ <span className="text-[11px] text-white/30">{t("footerPhotosBy")}{" "}<ahref="https://unsplash.com"target="_blank"rel="noopener noreferrer"- className="underline hover:text-white/50 transition-colors"+ className="underline hover:text-white/60 transition-colors">Unsplash</a>@@ -310,7 +310,7 @@ export function PhotoPickerPopover({ onSelect }: PhotoPickerPopoverProps) {href="https://www.pexels.com"target="_blank"rel="noopener noreferrer"- className="underline hover:text-white/50 transition-colors"+ className="underline hover:text-white/60 transition-colors">Pexels</a>@@ -319,7 +319,7 @@ export function PhotoPickerPopover({ onSelect }: PhotoPickerPopoverProps) {href="https://pixabay.com"target="_blank"rel="noopener noreferrer"- className="underline hover:text-white/50 transition-colors"+ className="underline hover:text-white/60 transition-colors">Pixabay</a>diff --git a/app/components/ui/RecordingOverlay.tsx b/app/components/ui/RecordingOverlay.tsxindex 74dbc08..24962d9 100644--- a/app/components/ui/RecordingOverlay.tsx+++ b/app/components/ui/RecordingOverlay.tsx@@ -84,7 +84,7 @@ export default function RecordingOverlay() {<div className="w-3 h-3 bg-red-500 rounded-sm group-hover:scale-110 transition-transform" />{t('recording.stop')}</div>- <div className="flex items-center gap-1 text-[10px] bg-red-500/10 text-red-300 px-1.5 py-0.5 rounded border border-red-500/20">+ <div className="flex items-center gap-1 text-[11px] bg-red-500/10 text-red-300 px-1.5 py-0.5 rounded border border-red-500/20"><kbd>Alt</kbd><span>+</span><kbd>D</kbd>diff --git a/app/components/ui/RecordingSetupDialog.tsx b/app/components/ui/RecordingSetupDialog.tsxindex 0c57473..3e3ad0f 100644--- a/app/components/ui/RecordingSetupDialog.tsx+++ b/app/components/ui/RecordingSetupDialog.tsx@@ -412,7 +412,7 @@ 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-[10px] transition-all+ 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"}${!setup.camera.enabled ? "opacity-40 cursor-not-allowed" : ""}`}>diff --git a/app/components/ui/Skeleton.tsx b/app/components/ui/Skeleton.tsxindex 449bb77..7864a3e 100644--- a/app/components/ui/Skeleton.tsx+++ b/app/components/ui/Skeleton.tsx@@ -332,7 +332,7 @@ export function ImageBackgroundSkeleton() {export function TimelineSkeleton() {return (- <div className="h-38 shrink-0 bg-[#0D0D11] border-t border-white/10 flex flex-col font-mono text-[10px]">+ <div className="h-38 shrink-0 bg-[#0D0D11] border-t border-white/10 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" />diff --git a/app/components/ui/WalpaperSections.tsx b/app/components/ui/WalpaperSections.tsxindex 9047d0e..05af295 100644--- a/app/components/ui/WalpaperSections.tsx+++ b/app/components/ui/WalpaperSections.tsx@@ -63,11 +63,11 @@ function CategoryPopover({ category, selectedIndex, onSelect }: { category: Wall<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 rounded-xl 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/50" aria-hidden="true" />- <span className="text-[10px] font-medium uppercase tracking-[0.15em] text-white/50">+ <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">{categoryName}</span>- <span className="ml-auto text-[10px] text-white/60">+ <span className="ml-auto text-[11px] text-white/70">{t("popover.moreCount", { count: category.items.length - PREVIEW_LIMIT })}</span></div>@@ -88,7 +88,7 @@ function PrimaryCategoryGrid({ category, selectedIndex, onSelect }: { category:return (<div className="flex flex-col gap-2">- <div className="flex items-center gap-1.5 text-[10px] uppercase tracking-widest text-white/60 font-bold">+ <div className="flex items-center gap-1.5 text-[11px] uppercase tracking-widest text-white/70 font-bold"><Icon icon={category.icon} width="12" /><span>{t(`categories.${category.id}`)}</span></div>@@ -114,7 +114,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-[10px] uppercase tracking-widest text-white/60 font-bold">+ <div className="flex items-center gap-1.5 text-[11px] uppercase tracking-widest text-white/70 font-bold"><Icon icon={category.icon} width="12" aria-hidden="true" /><span>{t(`categories.${category.id}`)}</span></div>@@ -150,7 +150,7 @@ export function WallpaperCatalogGrid({{secondary.length > 0 && (<motion.buttononClick={() => onShowAllChange?.(!showAll)}- className="flex items-center justify-center gap-1.5 text-[10px] uppercase tracking-widest text-white/60 hover:text-white font-bold transition-colors"+ className="flex items-center justify-center gap-1.5 text-[11px] uppercase tracking-widest text-white/70 hover:text-white font-bold transition-colors"whileHover={{ scale: 1.05 }}whileTap={{ scale: 0.95 }}>diff --git a/app/components/ui/editor/AudioMenu.tsx b/app/components/ui/editor/AudioMenu.tsxindex d4184ca..e3ad59b 100644--- a/app/components/ui/editor/AudioMenu.tsx+++ b/app/components/ui/editor/AudioMenu.tsx@@ -116,11 +116,11 @@ export function AudioMenu({/><Buttonvariant="outline"- className="w-full text-xs"+ className="w-full text-sm"onClick={() => fileInputRef.current?.click()}aria-label={t("uploadButton")}>- <Icon icon="mdi:upload" width="14" />+ <Icon icon="solar:upload-minimalistic-outline" width="14" /><span>{t("uploadButton")}</span></Button><p className="text-xs text-white/40 mt-2 text-center">@@ -130,7 +130,7 @@ export function AudioMenu({{audioTracks.length > 0 && (<div className="flex flex-col gap-2">- <div className="text-xs font-medium text-white/60 flex items-center gap-2">+ <div className="text-xs font-medium text-white/70 flex items-center gap-2"><Icon icon="mdi:timeline-clock" width="14" /><span>{t("timelineTracks", { count: audioTracks.length })}</span></div>@@ -193,14 +193,12 @@ export function AudioMenu({</div></div>- {isSelected && (<div className="flex flex-col gap-3 pt-2 border-t border-white/5 animate-in fade-in duration-150"><TrackVolumeSlidertrack={track}onUpdateAudioTrack={onUpdateAudioTrack}/></div>- )}</div>);})}diff --git a/app/components/ui/editor/AudioTrimModal.tsx b/app/components/ui/editor/AudioTrimModal.tsxindex c70a61f..b984433 100644--- a/app/components/ui/editor/AudioTrimModal.tsx+++ b/app/components/ui/editor/AudioTrimModal.tsx@@ -4,6 +4,7 @@ import { useState, useRef, useEffect, useCallback } from "react";import { Button } from "@/components/ui/button";import { Icon } from "@iconify/react";import { motion, useMotionValue, PanInfo } from "framer-motion";+import { useTranslations } from "next-intl";interface AudioTrimModalProps {isOpen: boolean;@@ -26,6 +27,7 @@ export function AudioTrimModal({onConfirm,onCancel,}: AudioTrimModalProps) {+ const t = useTranslations("audioTrimModal");const [trimStart, setTrimStart] = useState(initialTrimStart);const [trimEnd, setTrimEnd] = useState(initialTrimEnd ?? audioDuration);const [isDragging, setIsDragging] = useState(false);@@ -68,22 +70,27 @@ export function AudioTrimModal({return trackRef.current?.getBoundingClientRect().width ?? 0;}, []);- const timeToPixels = useCallback((time: number) => {- const w = trackWidth();- if (!w) return 0;- return (time / audioDuration) * w;- }, [audioDuration, trackWidth]);+ const timeToPixels = useCallback(+ (time: number) => {+ const w = trackWidth();+ if (!w) return 0;+ return (time / audioDuration) * w;+ },+ [audioDuration, trackWidth]+ );- const pixelsToTime = useCallback((pixels: number) => {- const w = trackWidth();- if (!w) return 0;- return (pixels / w) * audioDuration;- }, [audioDuration, trackWidth]);+ const pixelsToTime = useCallback(+ (pixels: number) => {+ const w = trackWidth();+ if (!w) return 0;+ return (pixels / w) * audioDuration;+ },+ [audioDuration, trackWidth]+ );const playPreviewFrom = useCallback((fromTime: number, previewDuration: number) => {const audio = audioRef.current;if (!audio) return;-if (playbackTimeoutRef.current) {clearTimeout(playbackTimeoutRef.current);playbackTimeoutRef.current = null;@@ -92,7 +99,6 @@ export function AudioTrimModal({audio.pause();isPlayingRef.current = false;}-audio.currentTime = Math.max(0, fromTime);const playPromise = audio.play();if (playPromise !== undefined) {@@ -104,7 +110,9 @@ export function AudioTrimModal({isPlayingRef.current = false;}, previewDuration * 1000);})- .catch(() => { isPlayingRef.current = false; });+ .catch(() => {+ isPlayingRef.current = false;+ });}}, []);@@ -127,15 +135,18 @@ export function AudioTrimModal({return () => cancelAnimationFrame(raf);}, [isOpen]);- const handleTrimStartDrag = useCallback((_: MouseEvent | TouchEvent | PointerEvent, info: PanInfo) => {- if (!trackRef.current) return;- let newX = trimStartX.get() + info.delta.x;- const minX = 0;- const maxX = trimEndX.get() - timeToPixels(0.1);- newX = Math.max(minX, Math.min(newX, maxX));- trimStartX.set(newX);- setTrimStart(Math.max(0, Math.min(pixelsToTime(newX), pixelsToTime(trimEndX.get()) - 0.1)));- }, [trimStartX, trimEndX, timeToPixels, pixelsToTime]);+ const handleTrimStartDrag = useCallback(+ (_: MouseEvent | TouchEvent | PointerEvent, info: PanInfo) => {+ if (!trackRef.current) return;+ let newX = trimStartX.get() + info.delta.x;+ const minX = 0;+ const maxX = trimEndX.get() - timeToPixels(0.1);+ newX = Math.max(minX, Math.min(newX, maxX));+ trimStartX.set(newX);+ setTrimStart(Math.max(0, Math.min(pixelsToTime(newX), pixelsToTime(trimEndX.get()) - 0.1)));+ },+ [trimStartX, trimEndX, timeToPixels, pixelsToTime]+ );const handleTrimStartDragEnd = useCallback(() => {setIsDragging(false);@@ -145,15 +156,20 @@ export function AudioTrimModal({playPreviewFrom(clampedTime, pixelsToTime(trimEndX.get()) - clampedTime);}, [trimStartX, trimEndX, pixelsToTime, playPreviewFrom]);- const handleTrimEndDrag = useCallback((_: MouseEvent | TouchEvent | PointerEvent, info: PanInfo) => {- if (!trackRef.current) return;- let newX = trimEndX.get() + info.delta.x;- const minX = trimStartX.get() + timeToPixels(0.1);- const maxX = trackWidth();- newX = Math.max(minX, Math.min(newX, maxX));- trimEndX.set(newX);- setTrimEnd(Math.max(pixelsToTime(trimStartX.get()) + 0.1, Math.min(pixelsToTime(newX), audioDuration)));- }, [trimStartX, trimEndX, audioDuration, timeToPixels, pixelsToTime, trackWidth]);+ const handleTrimEndDrag = useCallback(+ (_: MouseEvent | TouchEvent | PointerEvent, info: PanInfo) => {+ if (!trackRef.current) return;+ let newX = trimEndX.get() + info.delta.x;+ const minX = trimStartX.get() + timeToPixels(0.1);+ const maxX = trackWidth();+ newX = Math.max(minX, Math.min(newX, maxX));+ trimEndX.set(newX);+ setTrimEnd(+ Math.max(pixelsToTime(trimStartX.get()) + 0.1, Math.min(pixelsToTime(newX), audioDuration))+ );+ },+ [trimStartX, trimEndX, audioDuration, timeToPixels, pixelsToTime, trackWidth]+ );const handleTrimEndDragEnd = useCallback(() => {setIsDragging(false);@@ -162,7 +178,7 @@ export function AudioTrimModal({setTrimEnd(clampedTime);playPreviewFrom(pixelsToTime(trimStartX.get()), clampedTime - pixelsToTime(trimStartX.get()));}, [trimEndX, trimStartX, audioDuration, pixelsToTime, playPreviewFrom]);-+const stopAudio = useCallback(() => {if (playbackTimeoutRef.current) clearTimeout(playbackTimeoutRef.current);if (audioRef.current && isPlayingRef.current) {@@ -171,38 +187,47 @@ export function AudioTrimModal({}}, []);-const rangeDraggingRef = useRef(false);const rangePointerStartRef = useRef<{ pointerX: number; startX: number; endX: number } | null>(null);- const handleRangePointerDown = useCallback((e: React.PointerEvent) => {- e.currentTarget.setPointerCapture(e.pointerId);- rangeDraggingRef.current = true;- rangePointerStartRef.current = {- pointerX: e.clientX,- startX: trimStartX.get(),- endX: trimEndX.get(),- };- }, [trimStartX, trimEndX]);-- const handleRangePointerMove = useCallback((e: React.PointerEvent) => {- if (!rangeDraggingRef.current || !rangePointerStartRef.current) return;- const w = trackWidth();- const { pointerX, startX, endX } = rangePointerStartRef.current;- const delta = e.clientX - pointerX;- const duration = endX - startX;-- let newStartX = startX + delta;- let newEndX = endX + delta;-- if (newStartX < 0) { newStartX = 0; newEndX = duration; }- if (newEndX > w) { newEndX = w; newStartX = w - duration; }+ const handleRangePointerDown = useCallback(+ (e: React.PointerEvent) => {+ e.currentTarget.setPointerCapture(e.pointerId);+ rangeDraggingRef.current = true;+ rangePointerStartRef.current = {+ pointerX: e.clientX,+ startX: trimStartX.get(),+ endX: trimEndX.get(),+ };+ },+ [trimStartX, trimEndX]+ );- trimStartX.set(newStartX);- trimEndX.set(newEndX);- setTrimStart(pixelsToTime(newStartX));- setTrimEnd(pixelsToTime(newEndX));- }, [trackWidth, trimStartX, trimEndX, pixelsToTime]);+ const handleRangePointerMove = useCallback(+ (e: React.PointerEvent) => {+ if (!rangeDraggingRef.current || !rangePointerStartRef.current) return;+ const w = trackWidth();+ const { pointerX, startX, endX } = rangePointerStartRef.current;+ const delta = e.clientX - pointerX;+ const duration = endX - startX;+ let newStartX = startX + delta;+ let newEndX = endX + delta;++ if (newStartX < 0) {+ newStartX = 0;+ newEndX = duration;+ }+ if (newEndX > w) {+ newEndX = w;+ newStartX = w - duration;+ }+ trimStartX.set(newStartX);+ trimEndX.set(newEndX);+ setTrimStart(pixelsToTime(newStartX));+ setTrimEnd(pixelsToTime(newEndX));+ },+ [trackWidth, trimStartX, trimEndX, pixelsToTime]+ );const handleRangePointerUp = useCallback(() => {if (!rangeDraggingRef.current) return;@@ -213,8 +238,15 @@ export function AudioTrimModal({playPreviewFrom(finalStart, finalEnd - finalStart);}, [trimStartX, trimEndX, pixelsToTime, playPreviewFrom]);- const handleCancel = useCallback(() => { stopAudio(); onCancel(); }, [stopAudio, onCancel]);- const handleConfirm = useCallback(() => { stopAudio(); onConfirm(trimStart, trimEnd); }, [stopAudio, onConfirm, trimStart, trimEnd]);+ const handleCancel = useCallback(() => {+ stopAudio();+ onCancel();+ }, [stopAudio, onCancel]);++ const handleConfirm = useCallback(() => {+ stopAudio();+ onConfirm(trimStart, trimEnd);+ }, [stopAudio, onConfirm, trimStart, trimEnd]);const formatTime = (seconds: number) => {const mins = Math.floor(seconds / 60);@@ -230,7 +262,12 @@ export function AudioTrimModal({if (!isOpen) return null;return (- <div className="fixed inset-0 z-100 flex items-center justify-center bg-black/60 backdrop-blur-md animate-in fade-in duration-200" role="dialog" aria-modal="true" aria-labelledby="audio-trim-title">+ <div+ className="fixed inset-0 z-100 flex items-center justify-center bg-black/60 backdrop-blur-md animate-in fade-in duration-200"+ role="dialog"+ aria-modal="true"+ aria-labelledby="audio-trim-title"+ ><motion.divinitial={{ scale: 0.95, opacity: 0 }}animate={{ scale: 1, opacity: 1 }}@@ -244,27 +281,33 @@ 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">Recortar audio</h2>- <p className="text-sm text-white/50 mt-0.5">- Arrastra los handles o la zona azul para ajustar+ <h2 id="audio-trim-title" className="text-xl font-bold text-white">+ {t("title")}+ </h2>+ <p className="text-sm text-white/60 mt-0.5">+ {t("subtitle")}</p></div></div>- <button onClick={handleCancel} className="p-2 rounded-lg text-white/40 hover:text-white hover:bg-white/5 transition-colors" aria-label="Close">+ <button+ onClick={handleCancel}+ className="p-2 rounded-lg text-white/40 hover:text-white hover:bg-white/5 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 rounded-xl"><div className="flex items-center justify-between">- <div className="flex items-center gap-2 text-sm text-white/60">+ <div className="flex items-center gap-2 text-sm text-white/70"><Icon icon="mdi:music-note" width="16" aria-hidden="true" /><span className="font-medium text-white">{audioName}</span></div>- <span className="text-xs text-white/40">Duración total: {formatTime(audioDuration)}</span>+ <span className="text-xs text-white/40">+ {t("totalDuration")} {formatTime(audioDuration)}+ </span></div></div>-<div className="mb-8"><divref={trackRef}@@ -277,7 +320,6 @@ export function AudioTrimModal({))}</div></div>-<divclassName="absolute top-0 bottom-0 bg-blue-500/15 border-y border-blue-500/30 cursor-grab active:cursor-grabbing select-none"style={{@@ -294,7 +336,6 @@ export function AudioTrimModal({))}</div></div>-<motion.divclassName="absolute top-0 bottom-0 z-20 flex items-center justify-center"style={{ left: -1, x: trimStartX, width: 2 }}@@ -327,7 +368,6 @@ export function AudioTrimModal({}}/></motion.div>-<motion.divclassName="absolute top-0 bottom-0 z-20 flex items-center justify-center"style={{ left: -1, x: trimEndX, width: 2 }}@@ -361,40 +401,34 @@ 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">Inicio</div>+ <div className="text-xs text-white/40 mb-1">{t("start")}</div><div className="text-lg font-mono text-white">{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">Final</div>+ <div className="text-xs text-white/40 mb-1">{t("end")}</div><div className="text-lg font-mono text-white">{formatTime(trimEnd)}</div></div><Icon icon="mdi:equal" width="20" className="text-white/40 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">Duración</div>+ <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></div></div>-<div className="flex items-center gap-3"><Buttonvariant="outline"onClick={handleCancel}- className="flex-1 h-11 bg-transparent border-white/10 hover:bg-white/5 text-white/60 hover:text-white"+ className="flex-1 h-11 bg-transparent border-white/10 hover:bg-white/5 text-white/70 hover:text-white">- Cancelar+ {t("cancel")}</Button>- <Button- onClick={handleConfirm}- variant="primary"- className="flex-1 h-11 text-white font-medium"- >+ <Button onClick={handleConfirm} variant="primary" className="flex-1 h-11 text-white font-medium"><Icon icon="mdi:check" width="18" className="mr-1.5" aria-hidden="true" />- Aplicar recorte+ {t("apply")}</Button></div></motion.div>diff --git a/app/components/ui/editor/CameraMenu.tsx b/app/components/ui/editor/CameraMenu.tsxindex 019c70a..da6da23 100644--- a/app/components/ui/editor/CameraMenu.tsx+++ b/app/components/ui/editor/CameraMenu.tsx@@ -55,7 +55,7 @@ export function CameraMenu({ cameraUrl, cameraConfig, onCameraConfigChange }: Pr<div className={`${cameraConfig.enabled ? "" : "opacity-50 pointer-events-none"} flex flex-col gap-5`}><fieldset>- <legend className="text-[10px] uppercase tracking-widest text-white/60 font-bold mb-2">+ <legend className="text-[11px] uppercase tracking-widest text-white/70 font-bold mb-2">{t("shape")}</legend><div className="grid grid-cols-3 gap-2">@@ -82,7 +82,7 @@ export function CameraMenu({ cameraUrl, cameraConfig, onCameraConfigChange }: Pr</fieldset><fieldset>- <legend className="text-[10px] uppercase tracking-widest text-white/60 font-bold mb-2">+ <legend className="text-[11px] uppercase tracking-widest text-white/70 font-bold mb-2">{t("position")}</legend><div className="grid grid-cols-2 gap-2">diff --git a/app/components/ui/editor/CursorMenu.tsx b/app/components/ui/editor/CursorMenu.tsxindex 1aaa398..be43fae 100644--- a/app/components/ui/editor/CursorMenu.tsx+++ b/app/components/ui/editor/CursorMenu.tsx@@ -112,7 +112,7 @@ export default function CursorMenu({{/* Sección: Estilo del Cursor */}<div className="space-y-3">- <div className="text-[10px] uppercase tracking-widest text-white/40 font-semibold">+ <div className="text-[11px] uppercase tracking-widest text-white/40 font-semibold">Estilo</div><div className="grid grid-cols-4 gap-2">@@ -123,7 +123,7 @@ export default function CursorMenu({className={`py-3 bg-white/3 hover:bg-white/8 border squircle-element flex flex-col items-center justify-center gap-2 transition-all active:scale-95 group ${cursorConfig.style === style.id? "border-blue-500/50 bg-blue-500/10 text-blue-400"- : "border-white/[0.07] hover:border-white/20 text-white/50"+ : "border-white/[0.07] hover:border-white/20 text-white/60"}`}><Icon@@ -143,7 +143,7 @@ export default function CursorMenu({<>{/* Sección: Color */}<div className="space-y-3">- <div className="text-[10px] uppercase tracking-widest text-white/40 font-semibold">+ <div className="text-[11px] uppercase tracking-widest text-white/40 font-semibold">Color Principal</div><div className="flex gap-2">@@ -209,7 +209,7 @@ export default function CursorMenu({{/* Sección: Efectos de Clic */}<div className="space-y-3"><div className="flex items-center justify-between">- <div className="text-[10px] uppercase tracking-widest text-white/40 font-semibold">+ <div className="text-[11px] uppercase tracking-widest text-white/40 font-semibold">Efecto al hacer clic</div></div>@@ -221,7 +221,7 @@ export default function CursorMenu({className={`flex justify-center items-center py-1.5 rounded transition ${cursorConfig.clickEffect === effect.id? "bg-white/10 text-white"- : "text-white/50 hover:text-white/80"+ : "text-white/60 hover:text-white/80"}`}onClick={() => onCursorConfigChange({ clickEffect: effect.id })}>@@ -233,7 +233,7 @@ export default function CursorMenu({{/* Click effect color */}{cursorConfig.clickEffect !== "none" && (<div className="flex items-center gap-3 pt-2">- <span className="text-[10px] text-white/40">Color del efecto</span>+ <span className="text-[11px] text-white/40">Color del efecto</span><div className="flex gap-1.5 flex-1">{["#3B82F6", "#EF4444", "#10B981", "#F59E0B", "#8B5CF6"].map((color) => (<button@@ -259,7 +259,7 @@ export default function CursorMenu({<div className="flex items-center justify-between"><div className="flex items-center gap-2"><Icon icon="ph:eye" width="16" className="text-white/40" />- <span className="text-xs text-white/60">Mostrar cursor</span>+ <span className="text-xs text-white/70">Mostrar cursor</span></div><buttononClick={() => onCursorConfigChange({ visible: !cursorConfig.visible })}diff --git a/app/components/ui/editor/EditorHoverTooltip.tsx b/app/components/ui/editor/EditorHoverTooltip.tsxindex 4ed4905..5ca311f 100644--- a/app/components/ui/editor/EditorHoverTooltip.tsx+++ b/app/components/ui/editor/EditorHoverTooltip.tsx@@ -18,7 +18,7 @@ export function EditorHoverTooltip({ show }: EditorHoverTooltipProps) {<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">Ctrl</kbd>- <span className="text-white/70 text-[10px]">+</span>+ <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">Scroll</kbd>@@ -35,7 +35,7 @@ export function EditorHoverTooltip({ show }: EditorHoverTooltipProps) {<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">Ctrl</kbd>- <span className="text-white/70 text-[10px]">+</span>+ <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">V</kbd>diff --git a/app/components/ui/editor/EditorTopBar.tsx b/app/components/ui/editor/EditorTopBar.tsxindex 76fceb8..22ff85d 100644--- a/app/components/ui/editor/EditorTopBar.tsx+++ b/app/components/ui/editor/EditorTopBar.tsx@@ -148,7 +148,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/60"+ className={`transition-colors ${canRedo ? "hover:text-white text-white/70" : "opacity-30 cursor-not-allowed text-white/70"}`}><Icon icon="mdi:redo" width="20" />@@ -195,7 +195,7 @@ export function EditorTopBar({><div className="hidden sm:flex flex-col items-end leading-none"><span className="text-[11px] font-medium text-white max-w-25 truncate">{displayName}</span>- <span className="text-[10px] text-neutral-500 max-w-30 truncate">{user.email}</span>+ <span className="text-[11px] text-neutral-500 max-w-30 truncate">{user.email}</span></div><div className="h-8 w-8 rounded-full border border-white/10 bg-neutral-900 overflow-hidden shrink-0 relative"><Image src={avatarUrl} alt={displayName} fill sizes="32px" className="object-cover" unoptimized />diff --git a/app/components/ui/editor/ElementsMenu.tsx b/app/components/ui/editor/ElementsMenu.tsxindex ea68f4b..8f56204 100644--- a/app/components/ui/editor/ElementsMenu.tsx+++ b/app/components/ui/editor/ElementsMenu.tsx@@ -263,15 +263,15 @@ export function ElementsMenu({</div><div className="grid grid-cols-3 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/50 hover:text-white/80"}`} onClick={() => setMode("elements")} role="tab" aria-selected={mode === "elements"} aria-controls="elements-panel">+ <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"><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/50 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-white/10 text-white" : "text-white/60 hover:text-white/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>- <button className={`flex justify-center items-center gap-1.5 py-1.5 rounded transition ${mode === "uploads" ? "bg-white/10 text-white" : "text-white/50 hover:text-white/80"}`} onClick={() => setMode("uploads")} role="tab" aria-selected={mode === "uploads"} aria-controls="uploads-panel">+ <button className={`flex justify-center items-center gap-1.5 py-1.5 rounded transition ${mode === "uploads" ? "bg-white/10 text-white" : "text-white/60 hover:text-white/80"}`} onClick={() => setMode("uploads")} role="tab" aria-selected={mode === "uploads"} aria-controls="uploads-panel"><Icon icon="ph:upload-simple-bold" width="14" aria-hidden="true" />{t("tabs.uploads")}</button>@@ -281,17 +281,17 @@ 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-[10px] uppercase tracking-widest text-white/40 font-semibold">{t("sections.shapes")}</div>+ <div className="text-[11px] uppercase tracking-widest text-white/40 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}`}>{item.icon ? (- <Icon icon={item.icon} width="18" className="text-white/50 group-hover:text-white transition-colors" aria-hidden="true" />+ <Icon icon={item.icon} width="18" className="text-white/60 group-hover:text-white transition-colors" aria-hidden="true" />) : (() => {const SvgComponent = SVG_COMPONENTS[item.id];return SvgComponent- ? <SvgComponent color="currentColor" className="w-4 h-4 text-white/50 group-hover:text-white transition-colors" />+ ? <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>;})()}</button>@@ -309,27 +309,27 @@ export function ElementsMenu({<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 rounded-xl 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-[10px] 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/50 hover:text-white/70 border border-transparent hover:border-white/10"}`}>+ <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"}`}><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-[10px] 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/50 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-400 border border-blue-500/40" : "bg-white/5 text-white/60 hover:text-white/70 border border-transparent hover:border-white/10"}`}><span>{cat.title}</span></button>))}- <span className="ml-auto text-[10px] text-white/60">{t("counts.shapes", { count: filteredSvgItems.length })}</span>+ <span className="ml-auto text-[11px] text-white/70">{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">{item.icon ? (- <Icon icon={item.icon} width="18" className="text-white/50 group-hover:text-white transition-colors" />+ <Icon icon={item.icon} width="18" className="text-white/60 group-hover:text-white transition-colors" />) : (() => {const SvgComponent = SVG_COMPONENTS[item.id];return SvgComponent- ? <SvgComponent color="currentColor" className="w-4 h-4 text-white/50 scale-200 group-hover:text-white transition-colors" />+ ? <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>;})()}</button>@@ -343,7 +343,7 @@ export function ElementsMenu({</div><div className="space-y-2">- <div className="text-[10px] uppercase tracking-widest text-white/40 font-semibold">{t("sections.images")}</div>+ <div className="text-[11px] uppercase tracking-widest text-white/40 font-semibold">{t("sections.images")}</div><div className="grid grid-cols-6 gap-1.5">{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">@@ -365,16 +365,16 @@ export function ElementsMenu({<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 rounded-xl 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-[10px] 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/50 hover:text-white/70 border border-transparent hover:border-white/10"}`}>+ <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"}`}><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-[10px] 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/50 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-400 border border-blue-500/40" : "bg-white/5 text-white/60 hover:text-white/70 border border-transparent hover:border-white/10"}`}><span>{cat.title}</span></button>))}- <span className="ml-auto text-[10px] text-white/60">{t("counts.images", { count: filteredImageItems.length })}</span>+ <span className="ml-auto text-[11px] text-white/70">{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) => (@@ -402,7 +402,7 @@ export function ElementsMenu({<>{selectedElement.type === "svg" && (<div className="space-y-2">- <div className="text-[10px] uppercase tracking-widest text-white/40 font-semibold">{t("properties.color")}</div>+ <div className="text-[11px] uppercase tracking-widest text-white/40 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) => (@@ -433,12 +433,12 @@ 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-[10px] uppercase tracking-widest text-white/40 font-semibold">{t("text.content")}</div>+ <div className="text-[11px] uppercase tracking-widest text-white/40 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><div className="space-y-2">- <div className="text-[10px] uppercase tracking-widest text-white/40 font-semibold">{t("text.presets")}</div>+ <div className="text-[11px] uppercase tracking-widest text-white/40 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]">@@ -451,15 +451,15 @@ export function ElementsMenu({<div className="flex flex-row justify-between gap-2 space-y-2"><div className="space-y-2">- <div className="text-[10px] uppercase tracking-widest text-white/40 font-semibold">{t("text.size")}</div>+ <div className="text-[11px] uppercase tracking-widest text-white/40 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/50 w-6">px</span>+ <span className="text-xs text-white/60 w-6">px</span></div></div><div className="space-y-2">- <div className="text-[10px] uppercase tracking-widest text-white/40 font-semibold">{t("text.font")}</div>+ <div className="text-[11px] uppercase tracking-widest text-white/40 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 }}><SelectValue />@@ -474,7 +474,7 @@ export function ElementsMenu({</div><div className="space-y-2">- <div className="text-[10px] uppercase tracking-widest text-white/40 font-semibold">{t("properties.color")}</div>+ <div className="text-[11px] uppercase tracking-widest text-white/40 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) => (@@ -493,7 +493,7 @@ export function ElementsMenu({</div><div className="space-y-2">- <div className="text-[10px] uppercase tracking-widest text-white/40 font-semibold">{t("text.weight")}</div>+ <div className="text-[11px] uppercase tracking-widest text-white/40 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"}`}>@@ -527,12 +527,12 @@ export function ElementsMenu({{mode === "uploads" && (<div className="flex flex-col gap-5 animate-in fade-in duration-150"><div className="space-y-2">- <div className="text-[10px] uppercase tracking-widest text-white/40 font-semibold">{t("uploads.title")}</div>+ <div className="text-[11px] uppercase tracking-widest text-white/40 font-semibold">{t("uploads.title")}</div><label className={`group flex flex-col items-center justify-center w-full 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-all ${isUploading ? "opacity-50 pointer-events-none" : ""}`} onDragOver={handleDragOver} onDrop={handleDrop}>{isUploading ? (<div className="flex flex-col items-center justify-center w-full"><div className="w-12 h-12 rounded-full bg-white/5 border border-white/10 flex items-center justify-center mx-auto mb-4 transition-transform">- <Icon icon="svg-spinners:180-ring-with-bg" width="24" className="text-white/50" />+ <Icon icon="svg-spinners:180-ring-with-bg" width="24" className="text-white/60" /></div><p className="text-sm font-medium text-white/70 mb-1">{t("uploads.uploading")}</p><p className="text-xs text-white/40">{t("uploads.processing")}</p>@@ -555,14 +555,14 @@ export function ElementsMenu({<div className="space-y-2"><div className="flex justify-between items-center">- <div className="text-[10px] uppercase tracking-widest text-white/40 font-semibold">+ <div className="text-[11px] uppercase tracking-widest text-white/40 font-semibold">{t("uploads.gallery", { count: uploadedImages.length })}</div>{uploadedImages.length > 0 && (<button onClick={() => {canvasUploadsClear().catch(err => console.error("Error clearing canvas uploads:", err));setUploadedImages([]);- }} className="text-[10px] text-red-400/70 hover:text-red-400 transition-colors">+ }} className="text-[11px] text-red-400/70 hover:text-red-400 transition-colors">{t("uploads.clearAll")}</button>)}@@ -573,8 +573,8 @@ export function ElementsMenu({<div className="w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center mb-3"><Icon icon="mynaui:image" width="20" className="text-white/40" /></div>- <span className="text-xs font-medium text-white/60 mb-0.5">{t("uploads.emptyTitle")}</span>- <span className="text-[10px] text-white/40">{t("uploads.emptySubtitle")}</span>+ <span className="text-xs font-medium text-white/70 mb-0.5">{t("uploads.emptyTitle")}</span>+ <span className="text-[11px] text-white/40">{t("uploads.emptySubtitle")}</span></div>) : (uploadedImages.map((image) => (diff --git a/app/components/ui/editor/HistoryMenu.tsx b/app/components/ui/editor/HistoryMenu.tsxindex c18a882..0579969 100644--- a/app/components/ui/editor/HistoryMenu.tsx+++ b/app/components/ui/editor/HistoryMenu.tsx@@ -99,7 +99,7 @@ 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/60"+ <div className={`p-2 rounded-full transition-colors ${isDragging ? "bg-gray-500/20 text-gray-400" : "bg-white/5 text-white/70"}`}><Icon icon="solar:upload-minimalistic-outline" width="24" className="text-white/40 group-hover:text-white/70 transition-colors" /></div>diff --git a/app/components/ui/editor/ImageCropperModal.tsx b/app/components/ui/editor/ImageCropperModal.tsxindex c8ea790..2b3db2c 100644--- a/app/components/ui/editor/ImageCropperModal.tsx+++ b/app/components/ui/editor/ImageCropperModal.tsx@@ -234,7 +234,7 @@ export function ImageCropperModal({</div><span className="text-sm font-medium text-white">Recortar Imagen</span>{imageDimensions.width > 0 && (- <span className="text-[11px] font-mono text-white/60 bg-white/4 px-2 py-0.5 rounded-md border border-white/10">+ <span className="text-[11px] font-mono text-white/70 bg-white/4 px-2 py-0.5 rounded-md border border-white/10">{imageDimensions.width} × {imageDimensions.height}</span>)}@@ -341,7 +341,7 @@ export function ImageCropperModal({<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-[10px] uppercase tracking-widest font-semibold text-white/60 mb-3">+ <p className="text-[11px] uppercase tracking-widest font-semibold text-white/70 mb-3">{t("sections.ratio")}</p><div className="grid grid-cols-3 gap-1">@@ -373,7 +373,7 @@ export function ImageCropperModal({</div><div className="p-4 border-b border-white/10">- <p className="text-[10px] uppercase tracking-widest font-semibold text-white/60 mb-3">+ <p className="text-[11px] uppercase tracking-widest font-semibold text-white/70 mb-3">{t("sections.area")}</p><div className="space-y-2">@@ -386,7 +386,7 @@ export function ImageCropperModal({<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/50">{value.toFixed(1)}%</span>+ <span className="text-[11px] font-mono text-white/60">{value.toFixed(1)}%</span></div>))}</div>diff --git a/app/components/ui/editor/ImageMaskEditor.tsx b/app/components/ui/editor/ImageMaskEditor.tsxindex 5c25136..053e6a2 100644--- a/app/components/ui/editor/ImageMaskEditor.tsx+++ b/app/components/ui/editor/ImageMaskEditor.tsx@@ -113,7 +113,7 @@ export function ImageMaskEditor({onClick={() => 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/50 hover:text-white/80 hover:bg-white/5"+ : "text-white/60 hover:text-white/80 hover:bg-white/5"}`}><Icon icon="mdi:palette-outline" width="14" className="inline mr-1.5" />@@ -123,7 +123,7 @@ export function ImageMaskEditor({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/50 hover:text-white/80 hover:bg-white/5"+ : "text-white/60 hover:text-white/80 hover:bg-white/5"}`}><Icon icon="mdi:tune" width="14" className="inline mr-1.5" />@@ -167,7 +167,7 @@ export function ImageMaskEditor({)}<div className="absolute bottom-1.5 left-1.5 z-10 bg-black/70 backdrop-blur-md px-1.5 py-0.5 rounded border border-white/5 pointer-events-none max-w-[85%]">- <span className={`text-[10px] font-medium tracking-wide block truncate transition-colors ${active ? "text-blue-400" : "text-white/85"}`}>+ <span className={`text-[11px] font-medium tracking-wide block truncate transition-colors ${active ? "text-blue-400" : "text-white/85"}`}>{t(`presets.${preset.id}`)}</span></div>@@ -192,7 +192,7 @@ export function ImageMaskEditor({...maskConfig,top: maskConfig.top ? undefined : { from: 0, to: 30 },})}- className="text-[10px] text-blue-400 hover:text-blue-300"+ className="text-[11px] text-blue-400 hover:text-blue-300">{maskConfig.top ? t("controls.remove") : t("controls.add")}</button>@@ -236,7 +236,7 @@ export function ImageMaskEditor({...maskConfig,bottom: maskConfig.bottom ? undefined : { from: 0, to: 30 },})}- className="text-[10px] text-blue-400 hover:text-blue-300"+ className="text-[11px] text-blue-400 hover:text-blue-300">{maskConfig.bottom ? t("controls.remove") : t("controls.add")}</button>diff --git a/app/components/ui/editor/LabelSidebar.tsx b/app/components/ui/editor/LabelSidebar.tsxindex f7863ca..6f5ba12 100644--- a/app/components/ui/editor/LabelSidebar.tsx+++ b/app/components/ui/editor/LabelSidebar.tsx@@ -11,17 +11,17 @@ export default function LabelSidebar({ audioTracksCount = 0 }: LabelSidebarProps<span className="text-[9px] uppercase font-semibold tracking-wider text-zinc-500">Video</span></div>- <div className={`flex items-center px-3 border-t border-white/5 transition-all duration-300 ${audioTracksCount > 0 ? 'h-13' : 'h-16'- }`}>+ <div className={`flex items-center px-3 border-t border-white/5 transition-all duration-300 ${+ audioTracksCount > 0 ? 'h-10' : 'h-16'+ }`}><span className="text-[9px] uppercase font-semibold tracking-wider text-zinc-500">Zoom</span></div>{audioTracksCount > 0 && (- <div className="h-5 flex items-center px-3 border-t border-white/5 bg-white/1">+ <div className="h-10 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">Audio</span></div>)}</div>-);}\ No newline at end of filediff --git a/app/components/ui/editor/LayersPanel.tsx b/app/components/ui/editor/LayersPanel.tsxindex 75afae0..a250938 100644--- a/app/components/ui/editor/LayersPanel.tsx+++ b/app/components/ui/editor/LayersPanel.tsx@@ -694,7 +694,7 @@ export function LayersPanelInner({{displayOrder.length === 0 ? (<div className="flex flex-col items-center justify-center h-16 gap-2 text-neutral-500"><Icon icon="solar:layers-minimalistic-bold" className="size-5" />- <span className="text-[10px]">{t("layerPanel.noLayers")}</span>+ <span className="text-[11px]">{t("layerPanel.noLayers")}</span></div>) : ((() => {@@ -838,14 +838,14 @@ export function LayersPanelInner({{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-[10px] text-neutral-500">+ <span className="flex-1 text-[11px] text-neutral-500">{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-[10px] 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-neutral-400 hover:text-white hover:bg-white/10 rounded transition-colors"><Icon icon="solar:layers-minimalistic-bold" className="size-4" /> {t("layerPanel.groupAction")}</button>@@ -855,7 +855,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-[10px] 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-neutral-400 hover:text-white hover:bg-white/10 rounded transition-colors"><Icon icon="solar:layers-bold" className="size-4" /> {t("layerPanel.ungroupAction")}</button>diff --git a/app/components/ui/editor/Mockup2dMenu.tsx b/app/components/ui/editor/Mockup2dMenu.tsxindex 61984c8..434df94 100644--- a/app/components/ui/editor/Mockup2dMenu.tsx+++ b/app/components/ui/editor/Mockup2dMenu.tsx@@ -100,9 +100,9 @@ export function Mockup2dMenu({><buttononClick={() => handleDarkModeChange(true)}- className={`flex items-center gap-1 px-2 py-1 rounded-md text-[10px] transition-colors ${mockupConfig?.darkMode+ 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/50"+ : "text-white/30 hover:text-white/60"}`}aria-pressed={mockupConfig?.darkMode}aria-label={t("darkMode.dark")}@@ -112,9 +112,9 @@ export function Mockup2dMenu({</button><buttononClick={() => handleDarkModeChange(false)}- className={`flex items-center gap-1 px-2 py-1 rounded-md text-[10px] transition-colors ${!mockupConfig?.darkMode+ 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/50"+ : "text-white/30 hover:text-white/60"}`}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-[10px] uppercase tracking-widest text-white/40 font-bold">+ <p className="text-[11px] uppercase tracking-widest text-white/40 font-bold">{t("frameColor.label")}</p><div className="grid grid-cols-6 gap-2">@@ -159,7 +159,7 @@ export function Mockup2dMenu({{features.hasUrl && (<div className="space-y-2">- <p className="text-[10px] uppercase tracking-widest text-white/40 font-bold">+ <p className="text-[11px] uppercase tracking-widest text-white/40 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">diff --git a/app/components/ui/editor/Mockup3dMenu.tsx b/app/components/ui/editor/Mockup3dMenu.tsxindex c0a55b5..ac21a77 100644--- a/app/components/ui/editor/Mockup3dMenu.tsx+++ b/app/components/ui/editor/Mockup3dMenu.tsx@@ -319,7 +319,7 @@ export function Mockup3dMenu({<div className="flex flex-col gap-4"><div className="flex items-center justify-between">- <span className="text-[10px] font-semibold text-white/50 uppercase tracking-wider">+ <span className="text-[11px] font-semibold text-white/60 uppercase tracking-wider">{t("configuration")}</span><button@@ -372,7 +372,7 @@ export function Mockup3dMenu({/><div className="flex flex-col gap-2">- <span className="text-xs text-white/60 font-medium">{t("position")}</span>+ <span className="text-[11px] font-semibold text-white/60 uppercase tracking-wider">{t("position")}</span><PositionPadx={imagePhoneX}y={imagePhoneY}diff --git a/app/components/ui/editor/MockupMenu.tsx b/app/components/ui/editor/MockupMenu.tsxindex 4898565..f2bce84 100644--- a/app/components/ui/editor/MockupMenu.tsx+++ b/app/components/ui/editor/MockupMenu.tsx@@ -300,7 +300,7 @@ export function MockupMenu({</div><div className="flex flex-col gap-3">- <p className="text-[10px] uppercase tracking-widest text-white/40 font-bold">+ <p className="text-[11px] uppercase tracking-widest text-white/40 font-bold">{t("frames2D")}</p>@@ -340,7 +340,7 @@ export function MockupMenu({</div></div><div className="flex items-center gap-1.5">- <span className="text-[10px] font-bold tracking-wider">+ <span className="text-[11px] font-bold tracking-wider">{currentMockup?.name || t("none")}</span></div>@@ -358,16 +358,16 @@ export function MockupMenu({<buttonkey={cat.id}onClick={() => handleCategoryChange(cat.id)}- className={`flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-[10px] font-medium uppercase tracking-wider transition-all ${selectedCategory === 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/50 hover:text-white/70 border border-transparent hover:border-white/10"+ : "bg-white/5 text-white/60 hover:text-white/70 border border-transparent hover:border-white/10"}`}><Icon icon={cat.icon} width="12" /><span>{cat.label}</span></button>))}- <span className="ml-auto text-[10px] text-white/60">+ <span className="ml-auto text-[11px] text-white/70">{t("count", { count: filteredMockups.length })}</span></div>@@ -406,7 +406,7 @@ export function MockupMenu({</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-[10px] 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-white/10 px-1 py-0.5 text-[11px] text-white/80 font-semibold tracking-tight rounded-tr-md rounded-bl-lg z-30">{mockup.name}</div>{isActive && (@@ -462,13 +462,12 @@ export function MockupMenu({</div></div></div>- {mediaType === "image" && (<><div className="h-px bg-white/6" /><div className="flex flex-col gap-3"><div className="flex items-center justify-between">- <p className="text-[10px] uppercase tracking-widest text-white/40 font-bold">+ <p className="text-[11px] uppercase tracking-widest text-white/40 font-bold">{t("devices3D")}</p><div className="flex items-center gap-2">@@ -516,8 +515,7 @@ export function MockupMenu({</div></div></>- )}-+{hasActiveFrame && (<Button onClick={handleRemoveAll} variant="outline" className="w-full text-xs" aria-label={t("remove")}><Icon icon="ph:trash-bold" width="13" aria-hidden="true" />diff --git a/app/components/ui/editor/PhotoEditorPlaceholder.tsx b/app/components/ui/editor/PhotoEditorPlaceholder.tsxindex 4f3448e..56974f0 100644--- a/app/components/ui/editor/PhotoEditorPlaceholder.tsx+++ b/app/components/ui/editor/PhotoEditorPlaceholder.tsx@@ -136,7 +136,7 @@ export function PhotoEditorPlaceholder({<Icon icon="lucide:image" width={28} height={28} aria-hidden="true" /></div><div className="text-center">- <p className="text-sm font-medium text-white/60">+ <p className="text-sm font-medium text-white/70">{t("photoMode.title") || "No Image"}</p><p className="text-xs text-white/40 mt-1 max-w-xs">@@ -224,10 +224,10 @@ export function PhotoEditorPlaceholder({<Iconicon="mdi:tune-variant"width={16}- className="text-white/60 group-hover:text-[#00A3EE] transition-colors"+ className="text-white/70 group-hover:text-[#00A3EE] transition-colors"/></div>- <span className="text-[11px] font-semibold text-white/50 group-hover:text-white/80 transition-colors">+ <span className="text-[11px] font-semibold text-white/60 group-hover:text-white/80 transition-colors">{t("photoPreview.custom.customize")}</span></div>@@ -337,7 +337,7 @@ export function PhotoEditorPlaceholder({/><div className="space-y-2">- <div className="flex items-center gap-1.5 text-[11px] text-white/50">+ <div className="flex items-center gap-1.5 text-[11px] text-white/60"><Icon icon="mdi:rotate-3d-variant" width={12} /><span>{t("photoPreview.custom.rotationXY")}</span></div>@@ -428,7 +428,7 @@ export function PhotoEditorPlaceholder({setImagePhoneY(0);}}}- className="w-full mt-4 px-3 py-2 rounded-lg bg-white/5 hover:bg-white/10 text-[11px] text-white/60 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-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"><Icon icon="mdi:restore" width={14} />{t("photoPreview.custom.reset")}@@ -516,7 +516,7 @@ export function PhotoEditorPlaceholder({return (<div className={`flex flex-col bg-black border-t border-white/10 ${className}`}><div className="h-13 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/60 whitespace-nowrap shrink-0">+ <div className="flex items-center gap-2 text-white/70 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")}@@ -537,7 +537,7 @@ export function PhotoEditorPlaceholder({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/50 border border-white/10 hover:bg-white/10"+ : "bg-white/5 text-white/60 border border-white/10 hover:bg-white/10"}`}aria-label={t("photoPreview.apply3D")}aria-pressed={apply3DToBackground}diff --git a/app/components/ui/editor/VideoCropperModal.tsx b/app/components/ui/editor/VideoCropperModal.tsxindex e34244f..e158fa8 100644--- a/app/components/ui/editor/VideoCropperModal.tsx+++ b/app/components/ui/editor/VideoCropperModal.tsx@@ -264,7 +264,7 @@ export function VideoCropperModal({</div><span className="text-sm font-medium text-white">{t("title")}</span>{videoDimensions.width > 0 && (- <span className="text-[11px] font-mono text-white/60 bg-white/4 px-2 py-0.5 rounded-md border border-white/10">+ <span className="text-[11px] font-mono text-white/70 bg-white/4 px-2 py-0.5 rounded-md border border-white/10">{videoDimensions.width} × {videoDimensions.height}</span>)}@@ -332,7 +332,7 @@ export function VideoCropperModal({</div>{videoDimensions.width > 0 && (- <div className="absolute -top-6 left-1/2 -translate-x-1/2 bg-black/80 backdrop-blur-sm border border-white/12 text-white/60 text-[10px] font-mono px-2 py-0.5 rounded-md whitespace-nowrap pointer-events-none">+ <div className="absolute -top-6 left-1/2 -translate-x-1/2 bg-black/80 backdrop-blur-sm border border-white/12 text-white/70 text-[11px] font-mono px-2 py-0.5 rounded-md whitespace-nowrap pointer-events-none">{Math.round((videoDimensions.width * cropArea.width) / 100)} ×{" "}{Math.round((videoDimensions.height * cropArea.height) / 100)}</div>@@ -378,7 +378,7 @@ export function VideoCropperModal({<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-[10px] uppercase tracking-widest font-semibold text-white/60 mb-3">+ <p className="text-[11px] uppercase tracking-widest font-semibold text-white/70 mb-3">{t("sections.ratio")}</p><div className="grid grid-cols-3 gap-1">@@ -410,7 +410,7 @@ export function VideoCropperModal({</div><div className="p-4 border-b border-white/10">- <p className="text-[10px] uppercase tracking-widest font-semibold text-white/60 mb-3">+ <p className="text-[11px] uppercase tracking-widest font-semibold text-white/70 mb-3">{t("sections.area")}</p><div className="space-y-2">@@ -423,7 +423,7 @@ export function VideoCropperModal({<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/50">{value.toFixed(1)}%</span>+ <span className="text-[11px] font-mono text-white/60">{value.toFixed(1)}%</span></div>))}</div>diff --git a/app/components/ui/editor/ZoomGlobalConfig.tsx b/app/components/ui/editor/ZoomGlobalConfig.tsxindex 81bca3b..8765acf 100644--- a/app/components/ui/editor/ZoomGlobalConfig.tsx+++ b/app/components/ui/editor/ZoomGlobalConfig.tsx@@ -30,33 +30,51 @@ export function ZoomGlobalConfig({{fragments.length > 0 && (<div className="space-y-2">- <div className="text-[10px] uppercase tracking-widest text-white/60 font-bold">+ <div className="text-[11px] uppercase tracking-widest text-white/70 font-bold">{t("fragments.title", { count: fragments.length })}</div>- <div className="space-y-1.5" role="list" aria-label={t("fragments.title", { count: fragments.length })}>+ <div+ className="space-y-1.5"+ role="list"+ aria-label={t("fragments.title", { count: fragments.length })}+ >{fragments.map((fragment, index) => (<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"role="listitem"- aria-label={`${t("fragments.label", { index: index + 1 })}, ${formatZoomTime(fragment.startTime)} to ${formatZoomTime(fragment.endTime)}, ${zoomLevelToFactor(fragment.zoomLevel).toFixed(1)}× zoom`}+ aria-label={`${t("fragments.label", { index: index + 1 })}, ${formatZoomTime(+ fragment.startTime+ )} to ${formatZoomTime(fragment.endTime)}, ${zoomLevelToFactor(+ fragment.zoomLevel+ ).toFixed(1)}× zoom`}><div className="size-8 rounded-md bg-blue-500/20 flex items-center justify-center">- <Icon icon="iconamoon:zoom-in-bold" width="14" className="text-blue-400" aria-hidden="true" />+ <Icon+ icon="iconamoon:zoom-in-bold"+ width="14"+ className="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">{t("fragments.label", { index: index + 1 })}</span>- <span className="text-[10px] text-white/40 font-mono">+ <span className="text-[11px] text-white/40 font-mono">{formatZoomTime(fragment.startTime)} - {formatZoomTime(fragment.endTime)}</span></div>- <div className="text-[10px] text-white/30 font-mono">+ <div className="text-[11px] text-white/30 font-mono">{zoomLevelToFactor(fragment.zoomLevel).toFixed(1)}×</div>- <Icon icon="ph:caret-right" width="14" className="text-white/20 group-hover:text-white/40" aria-hidden="true" />+ <Icon+ icon="ph:caret-right"+ width="14"+ className="text-white/20 group-hover:text-white/40"+ aria-hidden="true"+ /></button>))}</div>@@ -73,17 +91,17 @@ export function ZoomGlobalConfig({{t("fragments.add")}</Button>- <div className="text-[10px] text-white/50 space-y-1 pt-2 border-t border-white/10">+ <div className="text-[11px] text-white/60 space-y-1 pt-2 border-t border-white/10"><div className="flex items-center gap-2">- <kbd className="px-1.5 py-0.5 bg-white/5 rounded text-[10px] font-mono">Delete</kbd>+ <kbd className="px-1.5 py-0.5 bg-white/5 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 text-[10px] font-mono">Esc</kbd>+ <kbd className="px-1.5 py-0.5 bg-white/5 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 text-[10px] font-mono">Click en track</kbd>+ <kbd className="px-1.5 py-0.5 bg-white/5 rounded font-mono">{t("shortcuts.keys.click")}</kbd><span>{t("shortcuts.clickTrack")}</span></div></div>diff --git a/app/components/ui/home/DemoVideo.tsx b/app/components/ui/home/DemoVideo.tsxindex ac4515f..9f69bc3 100644--- a/app/components/ui/home/DemoVideo.tsx+++ b/app/components/ui/home/DemoVideo.tsx@@ -68,7 +68,7 @@ export default function DemoVideo() {duration: 0.6,ease: [0.16, 1, 0.3, 1]}}- className="text-[10px] sm:text-xl md:text-2xl font-black text-white italic tracking-tighter drop-shadow-[0_8px_8px_rgba(0,0,0,0.5)] uppercase whitespace-nowrap"+ className="text-[11px] sm:text-xl md:text-2xl font-black text-white italic tracking-tighter drop-shadow-[0_8px_8px_rgba(0,0,0,0.5)] uppercase whitespace-nowrap">{features[featureIndex]}</motion.h2>diff --git a/app/components/ui/home/RecordingSteps.tsx b/app/components/ui/home/RecordingSteps.tsxindex f69c158..12b1057 100644--- a/app/components/ui/home/RecordingSteps.tsx+++ b/app/components/ui/home/RecordingSteps.tsx@@ -53,7 +53,7 @@ export default function InteractiveRecordingSteps() {<div className="flex items-center gap-3"><Icon icon="material-symbols:cast-outline-rounded" className="size-6" aria-hidden="true" /><span>{t('step1.startButton')}</span>- <div className="hidden sm:flex items-center gap-1 text-[10px] bg-white/10 text-neutral-300 px-1.5 py-0.5 rounded border border-white/5 ml-2">+ <div className="hidden sm:flex items-center gap-1 text-[11px] bg-white/10 text-neutral-300 px-1.5 py-0.5 rounded border border-white/5 ml-2"><kbd>Alt</kbd><span>+</span><kbd>S</kbd>@@ -118,7 +118,7 @@ export default function InteractiveRecordingSteps() {<div className="w-full h-14 sm:h-18.75 bg-[#141414] rounded-md border-2 border-[#C0B4F0] overflow-hidden shadow-inner relative transition-colors"><div className="absolute top-1 sm:top-2 left-1 sm:left-2 w-full h-full bg-neutral-800 rounded-t-md border border-white/5"></div></div>- <div className="flex items-center gap-1.5 text-[9px] sm:text-[10px] text-neutral-200">+ <div className="flex items-center gap-1.5 text-[9px] sm:text-[11px] text-neutral-200"><Icon icon="logos:brave" width="12" className="shrink-0" /><span className="truncate">{t('step1.visual.tabTitle')}</span></div>@@ -135,7 +135,7 @@ export default function InteractiveRecordingSteps() {</div></div></div>- <div className="flex items-center gap-1.5 text-[9px] sm:text-[10px] text-neutral-200">+ <div className="flex items-center gap-1.5 text-[9px] sm:text-[11px] text-neutral-200"><Icon icon="logos:visual-studio-code" width="12" className="shrink-0" /><span className="truncate">{t('step1.visual.codeTitle')}</span></div>@@ -143,7 +143,7 @@ export default function InteractiveRecordingSteps() {</div><div className="px-3 sm:px-5 pb-3 sm:pb-5"><div className="border-t border-white/10 pt-3 sm:pt-4 flex flex-col sm:flex-row justify-between items-center mb-4 sm:mb-6 gap-3 sm:gap-0">- <div className="flex items-center gap-2 text-[10px] sm:text-[11px] text-neutral-300">+ <div className="flex items-center gap-2 text-[11px] sm:text-[11px] text-neutral-300"><Icon icon="solar:volume-loud-bold" width="14" className="text-neutral-400 shrink-0" />{t('step1.visual.shareAudio')}</div>@@ -152,10 +152,10 @@ export default function InteractiveRecordingSteps() {</div></div><div className="flex w-full sm:w-auto justify-end gap-2 sm:gap-3">- <button className="flex-1 sm:flex-none px-4 sm:px-5 py-1.5 bg-[#3C3D3F] text-neutral-400 rounded-full text-[10px] sm:text-[11px] font-medium cursor-default!">+ <button className="flex-1 sm:flex-none px-4 sm:px-5 py-1.5 bg-[#3C3D3F] text-neutral-400 rounded-full text-[11px] sm:text-[11px] font-medium cursor-default!">{t('step1.visual.share')}</button>- <button className="flex-1 sm:flex-none px-4 sm:px-5 py-1.5 bg-[#292A2D] text-white rounded-full text-[10px] sm:text-[11px] font-medium border border-[#C0B4F0] ring-1 ring-[#C0B4F0] ring-offset-2 ring-offset-[#292A2D] outline-none cursor-default!">+ <button className="flex-1 sm:flex-none px-4 sm:px-5 py-1.5 bg-[#292A2D] text-white rounded-full text-[11px] sm:text-[11px] font-medium border border-[#C0B4F0] ring-1 ring-[#C0B4F0] ring-offset-2 ring-offset-[#292A2D] outline-none cursor-default!">{t('step1.visual.cancel')}</button></div>@@ -181,16 +181,16 @@ export default function InteractiveRecordingSteps() {<div className="bg-[#1C1A20] border border-white/5 rounded-2xl sm:rounded-full px-4 sm:pl-4 sm:pr-6 py-3 sm:py-2 flex flex-col sm:flex-row items-center gap-3 sm:gap-4 shadow-2xl z-10 w-full sm:w-auto max-w-[90%] sm:max-w-none text-center sm:text-left"><div className="flex flex-col sm:flex-row items-center gap-2 sm:gap-3"><Icon icon="ic:baseline-pause" className="text-white text-lg hidden sm:block" />- <span className="text-[10px] sm:text-[11px] text-[#E8EAED] leading-tight">+ <span className="text-[11px] sm:text-[11px] text-[#E8EAED] leading-tight">{t('step2.visual.barText')}</span></div><div className="flex items-center gap-3 sm:gap-4 sm:ml-2 mt-1 sm:mt-0">- <button className="bg-[#B7BEF8] hover:bg-[#A6AEF7] text-[#141414] text-[10px] sm:text-[11px] font-medium px-3 sm:px-4 py-1.5 rounded-full transition-colors whitespace-nowrap cursor-default!">+ <button className="bg-[#B7BEF8] hover:bg-[#A6AEF7] text-[#141414] text-[11px] sm:text-[11px] font-medium px-3 sm:px-4 py-1.5 rounded-full transition-colors whitespace-nowrap cursor-default!">{t('step2.visual.stop')}</button><div className="relative group/btn">- <span className="text-[#8AB4F8] text-[10px] sm:text-[11px] font-medium hover:text-white transition-colors">+ <span className="text-[#8AB4F8] text-[11px] sm:text-[11px] font-medium hover:text-white transition-colors">{t('step2.visual.hide')}</span><Icon icon="solar:cursor-default-bold" className="absolute -bottom-4 sm:-bottom-5 -right-2 sm:-right-3 text-white text-lg sm:text-xl drop-shadow-[0_2px_4px_rgba(0,0,0,0.5)] z-20" />@@ -229,7 +229,7 @@ export default function InteractiveRecordingSteps() {<h2 className="text-base sm:text-xl md:text-2xl font-bold text-white tracking-tight leading-tight">{t('step3.visual.title')}</h2>- <p className="text-[10px] sm:text-sm text-neutral-400 max-w-48 sm:max-w-60 mx-auto leading-relaxed">+ <p className="text-[11px] sm:text-sm text-neutral-400 max-w-48 sm:max-w-60 mx-auto leading-relaxed">{t('step3.visual.subtitle')}</p></div>@@ -258,7 +258,7 @@ export default function InteractiveRecordingSteps() {><div className={`w-4 h-4 rounded-sm mr-2 ${isRecording ? 'bg-red-500' : 'bg-neutral-500'}`} aria-hidden="true"></div>{isRecording ? t('step1.stopButton') : t('step1.startButton')}- <div className={`hidden sm:flex items-center gap-1 text-[10px] px-1.5 py-0.5 rounded border ml-3 ${isRecording ? 'bg-red-500/10 text-red-300 border-red-500/20' : 'bg-neutral-500/10 text-neutral-400 border-neutral-500/20'}`}>+ <div className={`hidden sm:flex items-center gap-1 text-[11px] px-1.5 py-0.5 rounded border ml-3 ${isRecording ? 'bg-red-500/10 text-red-300 border-red-500/20' : 'bg-neutral-500/10 text-neutral-400 border-neutral-500/20'}`}><kbd>Alt</kbd><span>+</span><kbd>D</kbd>@@ -273,8 +273,8 @@ export default function InteractiveRecordingSteps() {<div className="flex flex-col sm:flex-row items-center gap-3 sm:gap-4 bg-[#1E1E20] border border-white/10 rounded-2xl sm:rounded-full py-3 sm:pl-5 sm:pr-2 sm:py-2 shadow-2xl mx-auto max-w-[200px] sm:max-w-none"><div className="flex items-center justify-center gap-2 sm:gap-3 w-full sm:w-auto pb-2 sm:pb-0 border-b sm:border-b-0 sm:border-r border-white/10 sm:pr-2"><div className="w-2.5 h-2.5 sm:w-3 sm:h-3 rounded-full bg-red-500 animate-pulse" />- <span className="text-[10px] sm:text-[11px] text-white font-medium">{t('step4.visual.recording')}</span>- <span className="text-[10px] sm:text-[11px] text-red-400 font-mono font-bold">+ <span className="text-[11px] sm:text-[11px] text-white font-medium">{t('step4.visual.recording')}</span>+ <span className="text-[11px] sm:text-[11px] text-red-400 font-mono font-bold">00:42</span></div>@@ -283,7 +283,7 @@ export default function InteractiveRecordingSteps() {<div className="w-2.5 h-2.5 sm:w-3 sm:h-3 bg-red-500 rounded-sm group-hover:scale-110 transition-transform" />{t('step4.visual.stop')}</div>- <div className="hidden sm:flex items-center gap-1 text-[10px] bg-red-500/10 text-red-300 px-1.5 py-0.5 rounded border border-red-500/20">+ <div className="hidden sm:flex items-center gap-1 text-[11px] bg-red-500/10 text-red-300 px-1.5 py-0.5 rounded border border-red-500/20"><kbd>Alt</kbd><span>+</span><kbd>D</kbd>diff --git a/app/globals.css b/app/globals.cssindex 637e4c7..2aa6b10 100644--- a/app/globals.css+++ b/app/globals.css@@ -120,9 +120,10 @@@layer base {- html.lenis, html.lenis body {- height: auto;-}+ html.lenis,+ html.lenis body {+ height: auto;+ }* {@apply border-border outline-ring/50;@@ -172,6 +173,24 @@corner-shape: squircle;border-radius: 70px;}++ @keyframes badge-blink {++ 0%,+ 100% {+ opacity: 1;+ box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);+ }++ 50% {+ opacity: 0.35;+ box-shadow: 0 0 10px 2px rgba(16, 185, 129, 0.55);+ }+ }++ .animate-badge-blink {+ animation: badge-blink 2.5s ease-in-out infinite;+ }}@theme {@@ -252,6 +271,15 @@ button {scrollbar-color: rgb(74, 73, 73) transparent;}+.no-scrollbar::-webkit-scrollbar {+ display: none;+}++.no-scrollbar {+ -ms-overflow-style: none;+ scrollbar-width: none;+}+@keyframes gradient-x {0% {background-position: 0% 50%;diff --git a/components/ui/DetailHeaderMenu.tsx b/components/ui/DetailHeaderMenu.tsxindex 88ebf67..6bddc62 100644--- a/components/ui/DetailHeaderMenu.tsx+++ b/components/ui/DetailHeaderMenu.tsx@@ -19,7 +19,7 @@ export function DetailPageHeader({><Icon icon="ph:arrow-left-bold" width="13" /></button>- <div className="flex items-center gap-1.5 text-white/60">+ <div className="flex items-center gap-1.5 text-white/70"><span className="text-md font-mediumtruncate">{label}</span>diff --git a/components/ui/DeviceCard.tsx b/components/ui/DeviceCard.tsxindex 456172a..8da183f 100644--- a/components/ui/DeviceCard.tsx+++ b/components/ui/DeviceCard.tsx@@ -89,7 +89,7 @@ export function DeviceCard({<div className="absolute inset-0 h-24 bg-gradient-to-t from-black via-black/70 to-transparent" /><div className="relative flex items-center gap-2 p-3"><Icon icon={tpl.icon} width={10} />- <span className="truncate text-[10px] text-white">{tpl.title}</span>+ <span className="truncate text-[11px] text-white">{tpl.title}</span></div></div>{isActive && (diff --git a/components/ui/SidebarTool.tsx b/components/ui/SidebarTool.tsxindex a3bd2a1..439088c 100644--- a/components/ui/SidebarTool.tsx+++ b/components/ui/SidebarTool.tsx@@ -52,13 +52,15 @@ 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/60 hover:text-white"}`}+ } ${isActive ? "text-white" : "text-white/70 hover:text-white"}`}>{badgeCount !== undefined && badgeCount > 0 && (- <div className="absolute -top-1 right-1 z-10 min-w-4 h-4 px-1 flex items-center justify-center bg-emerald-500 rounded-full border border-emerald-400 shadow-lg pointer-events-none animate-in zoom-in-50 duration-200">- <span className="text-[9px] font-bold text-white leading-none">- {badgeCount > 9 ? "9+" : badgeCount}- </span>+ <div className="absolute -top-1 right-1 z-10 pointer-events-none animate-in zoom-in-50 duration-200">+ <div className="min-w-4 h-4 px-1 flex items-center justify-center bg-emerald-500 rounded-full border border-emerald-400 shadow-lg animate-badge-blink">+ <span className="text-[9px] font-bold text-white leading-none">+ {badgeCount > 9 ? "9+" : badgeCount}+ </span>+ </div></div>)}{badge && (diff --git a/components/ui/SliderControl.tsx b/components/ui/SliderControl.tsxindex 63537fc..6cd20b9 100644--- a/components/ui/SliderControl.tsx+++ b/components/ui/SliderControl.tsx@@ -88,11 +88,11 @@ export function SliderControl({/><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/50">+ <div className="flex items-center gap-2 text-[12px] font-medium text-white/60">{icon && <Icon icon={icon} width="16" />}<span>{label}</span></div>- <span className="text-[12px] font-mono text-white/50">+ <span className="text-[12px] font-mono text-white/60">{displayValue}{suffix}</span>diff --git a/components/ui/TabButton.tsx b/components/ui/TabButton.tsxindex cdc4cd3..9e646af 100644--- a/components/ui/TabButton.tsx+++ b/components/ui/TabButton.tsx@@ -13,7 +13,7 @@ export function TabButton({ label, isActive, onClick }: TabButtonProps) {className={`flex-1 py-1.5 rounded-md transition ${isActive? "bg-white/10 text-white"- : "hover:text-white text-white/60"+ : "hover:text-white text-white/70"}`}>{label}diff --git a/components/ui/TickSliderControl.tsx b/components/ui/TickSliderControl.tsxnew file mode 100644index 0000000..e5b89f0--- /dev/null+++ b/components/ui/TickSliderControl.tsx@@ -0,0 +1,181 @@+"use client";+import { useRef, useState, useEffect, useCallback, useMemo } from "react";++interface TickSliderControlProps {+ label: string;+ value: number;+ min?: number;+ max?: number;+ step?: number;+ tickStep?: number;+ suffix?: string;+ onChange?: (value: number) => void;+ onChangeEnd?: () => void;+}++export function TickSliderControl({+ label,+ value,+ min = 0.5,+ max = 3,+ step = 0.1,+ tickStep = 0.5,+ suffix = "x",+ onChange,+ onChangeEnd,+}: TickSliderControlProps) {+ const [isDragging, setIsDragging] = useState(false);++ const formatValue = useCallback((val: number) => {+ return parseFloat(val.toFixed(2)).toString();+ }, []);++ const [localInputValue, setLocalInputValue] = useState(formatValue(value));+ const sliderRef = useRef<HTMLDivElement>(null);++ const [prevValue, setPrevValue] = useState(value);+ if (value !== prevValue) {+ setPrevValue(value);+ setLocalInputValue(formatValue(value));+ }++ const updateValue = useCallback(+ (clientX: number) => {+ if (!sliderRef.current || !onChange) return;+ const rect = sliderRef.current.getBoundingClientRect();+ const percentage = Math.max(0, Math.min(100, ((clientX - rect.left) / rect.width) * 100));+ const rawValue = (percentage / 100) * (max - min) + min;+ const newValue = Math.round(rawValue / step) * step;+ onChange(Math.max(min, Math.min(max, parseFloat(newValue.toFixed(2)))));+ },+ [max, min, onChange, step]+ );++ const handleMouseDown = () => setIsDragging(true);++ const handleClick = (e: React.MouseEvent<HTMLDivElement>) => {+ updateValue(e.clientX);+ };++ useEffect(() => {+ if (!isDragging) return;++ const handleMouseMove = (e: MouseEvent) => {+ updateValue(e.clientX);+ };++ const handleMouseUp = () => {+ setIsDragging(false);+ onChangeEnd?.();+ };++ document.addEventListener("mousemove", handleMouseMove);+ document.addEventListener("mouseup", handleMouseUp);++ return () => {+ document.removeEventListener("mousemove", handleMouseMove);+ document.removeEventListener("mouseup", handleMouseUp);+ };+ }, [isDragging, updateValue, onChangeEnd]);++ const handleInputChange = (e: React.ChangeEvent<HTMLInputElement>) => {+ const val = e.target.value;+ if (/^[0-9]*\.?[0-9]*$/.test(val)) {+ setLocalInputValue(val);+ }+ };++ const applyInputValue = () => {+ let parsed = parseFloat(localInputValue);++ if (isNaN(parsed)) {+ setLocalInputValue(formatValue(value));+ return;+ }++ parsed = Math.max(min, Math.min(max, parsed));+ parsed = Math.round(parsed / step) * step;++ const finalValue = parseFloat(parsed.toFixed(2));++ setLocalInputValue(formatValue(finalValue));+ onChange?.(finalValue);+ onChangeEnd?.();+ };++ const handleInputKeyDown = (e: React.KeyboardEvent<HTMLInputElement>) => {+ if (e.key === "Enter") {+ applyInputValue();+ e.currentTarget.blur();+ }+ };++ const displayPercentage = Math.max(0, Math.min(100, ((value - min) / (max - min)) * 100));++ const ticks = useMemo(() => {+ const marks = [];+ const multiplier = 1000;+ const start = Math.round(min * multiplier);+ const end = Math.round(max * multiplier);+ const interval = Math.round(tickStep * multiplier);++ for (let i = start; i <= end; i += interval) {+ const currentVal = i / multiplier;+ marks.push(((currentVal - min) / (max - min)) * 100);+ }+ return marks;+ }, [min, max, tickStep]);++ 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">+ {label}+ </span>++ <div className="flex items-center gap-6">+ <div+ ref={sliderRef}+ className="relative flex h-6 flex-1 cursor-pointer items-center"+ onClick={handleClick}+ onMouseDown={handleMouseDown}+ >+ <div className="absolute left-0 right-0 h-[2px] bg-white/20 rounded-full" />++ {ticks.map((tickPosition, index) => (+ <div+ key={index}+ className="absolute top-1/2 h-[6px] w-[2px] -translate-y-1/2 bg-[#8c8c8c] 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"+ 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"+ 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">+ <input+ type="text"+ value={localInputValue}+ onChange={handleInputChange}+ onBlur={applyInputValue}+ onKeyDown={handleInputKeyDown}+ className="w-full bg-transparent outline-none p-0 text-[#c4c4c4] text-left font-mono"+ />+ {suffix && (+ <span className="pointer-events-none select-none ml-0.5 text-white/60 font-mono">+ {suffix}+ </span>+ )}+ </div>+ </div>+ </div>+ );+}\ No newline at end of filediff --git a/components/ui/tooltip.tsx b/components/ui/tooltip.tsxindex 8e62a2e..ca347be 100644--- a/components/ui/tooltip.tsx+++ b/components/ui/tooltip.tsx@@ -42,7 +42,7 @@ function TooltipContent({data-slot="tooltip-content"sideOffset={sideOffset}className={cn(- "z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in rounded-md bg-foreground px-3 py-1.5 text-[10px] text-balance text-background fade-in-0 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",+ "z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in rounded-md bg-foreground px-3 py-1.5 text-[11px] text-balance text-background fade-in-0 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",className)}{...props}diff --git a/lib/mockup-previews.tsx b/lib/mockup-previews.tsxindex 979e7c0..60ffe78 100644--- a/lib/mockup-previews.tsx+++ b/lib/mockup-previews.tsx@@ -260,7 +260,7 @@ export function BrowserTabGlassPreview() {<div className="w-1 h-1 rounded-full bg-gray-50 flex items-center justify-center"></div></div><div className="mb-0.5 w-3.5 h-3.5 rounded-full bg-white/20 border border-white/30 flex items-center justify-center shadow-sm">- <span className="text-[10px] text-white/80 flex items-center justify-center h-full w-full -mt-[1px]">+</span>+ <span className="text-[11px] text-white/80 flex items-center justify-center h-full w-full -mt-[1px]">+</span></div></div><div className="flex-1 bg-[#f9f9f9] border-t border-white/30 shadow-inner"></div>