Skip to content

Create professional demos and 3D mockups in seconds, directly in your browser

fix: update shadow opacity in mockup components for improved visual consistency

CristianOlivera10ef20a4ed77e
diff --git a/app/components/ui/WalpaperSections.tsx b/app/components/ui/WalpaperSections.tsx
index bd2f691..f3157b6 100644
--- a/app/components/ui/WalpaperSections.tsx
+++ b/app/components/ui/WalpaperSections.tsx
@@ -165,7 +165,6 @@ export function WallpaperCatalogGrid({ selectedIndex = -1, onSelect }: Wallpaper
);
}
-// These sub-components keep the same logic — ensure they use img or bg-url correctly.
function WallpaperThumb({ item, isSelected, onSelect }: { item: WallpaperItem; isSelected: boolean; onSelect?: (index: number) => void; }) {
return (
<button
diff --git a/app/components/ui/editor/mockups/BraveGlassMockup.tsx b/app/components/ui/editor/mockups/BraveGlassMockup.tsx
index d8426c1..e66fb99 100644
--- a/app/components/ui/editor/mockups/BraveGlassMockup.tsx
+++ b/app/components/ui/editor/mockups/BraveGlassMockup.tsx
@@ -55,7 +55,7 @@ export function BraveGlassMockup({
style={{
borderRadius: `${cornerRadius}px`,
boxShadow: shadows > 0
- ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,0.5)`
+ ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,1)`
: 'none',
borderTop: "1px solid rgba(255,255,255,0.6)",
borderLeft: "1px solid rgba(255,255,255,0.6)",
diff --git a/app/components/ui/editor/mockups/BraveMockup.tsx b/app/components/ui/editor/mockups/BraveMockup.tsx
index be273ce..93019ca 100644
--- a/app/components/ui/editor/mockups/BraveMockup.tsx
+++ b/app/components/ui/editor/mockups/BraveMockup.tsx
@@ -54,7 +54,7 @@ export function BraveMockup({
style={{
borderRadius: `${cornerRadius}px`,
boxShadow: shadows > 0
- ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,0.5)`
+ ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,1)`
: 'none',
}}
>
diff --git a/app/components/ui/editor/mockups/BrowserTabGlassMockup.tsx b/app/components/ui/editor/mockups/BrowserTabGlassMockup.tsx
index 196f00a..93c8558 100644
--- a/app/components/ui/editor/mockups/BrowserTabGlassMockup.tsx
+++ b/app/components/ui/editor/mockups/BrowserTabGlassMockup.tsx
@@ -24,7 +24,7 @@ export function BrowserTabGlassMockup({
const tabBg = isDark ? "rgba(255,255,255,0.12)" : "rgba(255,255,255,0.8)";
const tabBorderColor = isDark ? "rgba(255,255,255,0.2)" : "rgba(255,255,255,0.9)";
- const tabTitleColor = isDark ? "#d1d5db" : "#374151"; // gray-300 / gray-700
+ const tabTitleColor = isDark ? "#d1d5db" : "#374151";
const tabCloseColor = isDark ? "rgba(209,213,219,0.6)" : "rgba(75,85,99,0.8)";
const tabCloseBg = isDark ? "rgba(255,255,255,0.1)" : "rgba(156,163,175,0.2)";
@@ -48,7 +48,7 @@ export function BrowserTabGlassMockup({
style={{
borderRadius: `${cornerRadius}px`,
boxShadow: shadows > 0
- ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,0.5)`
+ ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,1)`
: "none",
borderTop: "1px solid rgba(255,255,255,0.6)",
borderLeft: "1px solid rgba(255,255,255,0.6)",
diff --git a/app/components/ui/editor/mockups/ChromeGlassMockup.tsx b/app/components/ui/editor/mockups/ChromeGlassMockup.tsx
index 73d2177..ab5c933 100644
--- a/app/components/ui/editor/mockups/ChromeGlassMockup.tsx
+++ b/app/components/ui/editor/mockups/ChromeGlassMockup.tsx
@@ -63,7 +63,7 @@ export function ChromeGlassMockup({
style={{
borderRadius: `${cornerRadius}px`,
boxShadow: shadows > 0
- ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,0.5)`
+ ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,1)`
: "none",
borderTop: "1px solid rgba(255,255,255,0.6)",
borderLeft: "1px solid rgba(255,255,255,0.6)",
diff --git a/app/components/ui/editor/mockups/ChromeMockup.tsx b/app/components/ui/editor/mockups/ChromeMockup.tsx
index 3d81b1a..43e9e23 100644
--- a/app/components/ui/editor/mockups/ChromeMockup.tsx
+++ b/app/components/ui/editor/mockups/ChromeMockup.tsx
@@ -26,10 +26,10 @@ export function ChromeMockup({
const opacity = headerOpacity / 100;
const bgColor = isDark ? "#1e1e1e" : "#ffffff";
- const tabBarBg = frameColor; // tab bar = frameColor directo
- const addressBg = frameColor; // address bar = frameColor directo
- const tabActiveBg = deriveSearchBg(frameColor); // active tab = slightly lighter/darker
- const urlBarBgBase = deriveSearchBg(frameColor); // search bar = mismo derivado
+ const tabBarBg = frameColor;
+ const addressBg = frameColor;
+ const tabActiveBg = deriveSearchBg(frameColor);
+ const urlBarBgBase = deriveSearchBg(frameColor);
const addressBorder = isDark ? "rgba(255,255,255,0.1)" : "rgba(0,0,0,0.12)";
const textColor = isDark ? "#9ca3af" : "#374151";
const iconColor = isDark ? "rgba(255,255,255,0.5)" : "rgba(55,65,81,0.7)";
@@ -62,7 +62,7 @@ export function ChromeMockup({
style={{
borderRadius: `${cornerRadius}px`,
boxShadow: shadows > 0
- ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,0.5)`
+ ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,1)`
: "none",
}}
>
diff --git a/app/components/ui/editor/mockups/GlassCurveMockup.tsx b/app/components/ui/editor/mockups/GlassCurveMockup.tsx
index 42b9a11..242ace5 100644
--- a/app/components/ui/editor/mockups/GlassCurveMockup.tsx
+++ b/app/components/ui/editor/mockups/GlassCurveMockup.tsx
@@ -22,14 +22,14 @@ export function GlassCurveMockup({
const headerOpacity = config.headerOpacity ?? 10;
const headerScale = (config.headerScale || 100) / 100;
- const framePadding = 4 * headerScale; // Equivalente a p-1 (4px)
- const reflectionWidth = 16 * headerScale; // Equivalente a w-4 (16px)
+ const framePadding = 4 * headerScale;
+ const reflectionWidth = 16 * headerScale;
- const notchTop = 16 * headerScale; // top-4
- const notchWidth = 40 * headerScale; // w-10
- const notchHeight = 4 * headerScale; // h-1
+ const notchTop = 16 * headerScale;
+ const notchWidth = 40 * headerScale;
+ const notchHeight = 4 * headerScale;
- const contentPaddingTop = 32 * headerScale; // pt-8
+ const contentPaddingTop = 32 * headerScale;
const screenBg = isDark ? "#0a0a0a" : "#ffffff";
const borderColor = isDark ? "rgba(255, 255, 255, 0.1)" : "rgba(255, 255, 255, 0.4)";
@@ -47,7 +47,7 @@ export function GlassCurveMockup({
backgroundColor: hexToRgba(frameColor, headerOpacity),
borderRadius: `${cornerRadius * 2.5}px`,
boxShadow: shadows > 0
- ? `0 ${shadows}px ${shadows * 2}px rgba(0,0,0,0.25)`
+ ? `0 ${shadows}px ${shadows * 2}px rgba(0,0,0,1)`
: 'none',
border: `3px solid ${borderColor}`,
}}
diff --git a/app/components/ui/editor/mockups/GlassFullMockup.tsx b/app/components/ui/editor/mockups/GlassFullMockup.tsx
index d1862a0..5fee70c 100644
--- a/app/components/ui/editor/mockups/GlassFullMockup.tsx
+++ b/app/components/ui/editor/mockups/GlassFullMockup.tsx
@@ -23,30 +23,30 @@ export function GlassFullMockup({
const headerOpacity = config.headerOpacity ?? 10;
const headerScale = (config.headerScale || 100) / 100;
- const framePadding = 12 * headerScale; // Equivalente a p-3
- const buttonWidth = 4 * headerScale; // Equivalente a w-1
+ const framePadding = 12 * headerScale;
+ const buttonWidth = 4 * headerScale;
- const notchTop = 8 * headerScale; // top-2
- const notchWidth = 104 * headerScale; // w-26
- const notchHeight = 24 * headerScale; // h-6
- const notchPaddingX = 8 * headerScale; // px-2
- const dotSize = 8 * headerScale; // size-2
+ const notchTop = 8 * headerScale;
+ const notchWidth = 104 * headerScale;
+ const notchHeight = 24 * headerScale;
+ const notchPaddingX = 8 * headerScale;
+ const dotSize = 8 * headerScale;
- const statusBarHeight = 32 * headerScale; // h-8
- const statusBarPaddingX = 28 * headerScale; // px-7
- const timeFontSize = 10 * headerScale; // text-[10px]
+ const statusBarHeight = 32 * headerScale;
+ const statusBarPaddingX = 28 * headerScale;
+ const timeFontSize = 10 * headerScale;
- const signalBarWidth = 2 * headerScale; // w-[2px]
- const iconsGap = 6 * headerScale; // gap-1.5
- const wifiSize = 12 * headerScale; // w-3 h-3
- const batteryWidth = 18 * headerScale; // w-4.5
- const batteryHeight = 10 * headerScale; // h-2.5
+ const signalBarWidth = 2 * headerScale;
+ const iconsGap = 6 * headerScale;
+ const wifiSize = 12 * headerScale;
+ const batteryWidth = 18 * headerScale;
+ const batteryHeight = 10 * headerScale;
- const contentPaddingTop = 40 * headerScale; // pt-10
+ const contentPaddingTop = 40 * headerScale;
- const homeIndicatorWidth = 128 * headerScale; // w-32
- const homeIndicatorHeight = 4 * headerScale; // h-1
- const homeIndicatorBottom = 8 * headerScale; // bottom-2
+ const homeIndicatorWidth = 128 * headerScale;
+ const homeIndicatorHeight = 4 * headerScale;
+ const homeIndicatorBottom = 8 * headerScale;
const screenBg = isDark ? "#0a0a0a" : "#f9f9f9";
const frameBorderColor = isDark ? "rgba(255, 255, 255, 0.15)" : "rgba(255, 255, 255, 0.3)";
@@ -61,15 +61,14 @@ export function GlassFullMockup({
<div
className={`relative flex flex-col ${className}`}
>
- {/* Marco de cristal */}
<div
className="relative flex flex-col backdrop-blur-2xl"
style={{
padding: `${framePadding}px`,
backgroundColor: hexToRgba(frameColor, headerOpacity),
- borderRadius: `${cornerRadius * 2.8}px`, // Proportional to rounded-[3.5rem]
+ borderRadius: `${cornerRadius * 2.8}px`,
boxShadow: shadows > 0
- ? `0 ${shadows}px ${shadows * 2}px rgba(0,0,0,0.25)`
+ ? `0 ${shadows}px ${shadows * 2}px rgba(0,0,0,1)`
: 'none',
border: `1px solid ${frameBorderColor}`,
}}
@@ -78,9 +77,9 @@ export function GlassFullMockup({
className="absolute backdrop-blur-md rounded-l-sm"
style={{
left: `-${buttonWidth}px`,
- top: '15%', // top-24 proporcional
+ top: '15%',
width: `${buttonWidth}px`,
- height: '5%', // h-8 proporcional
+ height: '5%',
backgroundColor: buttonBg,
borderLeft: `1px solid ${frameBorderColor}`,
borderTop: `1px solid ${frameBorderColor}`,
@@ -92,9 +91,9 @@ export function GlassFullMockup({
className="absolute backdrop-blur-md rounded-l-sm"
style={{
left: `-${buttonWidth}px`,
- top: '25%', // top-40 proporcional
+ top: '25%',
width: `${buttonWidth}px`,
- height: '12%', // h-20 proporcional
+ height: '12%',
backgroundColor: buttonBg,
borderLeft: `1px solid ${frameBorderColor}`,
borderTop: `1px solid ${frameBorderColor}`,
@@ -106,9 +105,9 @@ export function GlassFullMockup({
className="absolute backdrop-blur-md rounded-r-sm"
style={{
right: `-${buttonWidth}px`,
- top: '28%', // top-44 proporcional
+ top: '28%',
width: `${buttonWidth}px`,
- height: '14%', // h-24 proporcional
+ height: '14%',
backgroundColor: buttonBg,
borderRight: `1px solid ${frameBorderColor}`,
borderTop: `1px solid ${frameBorderColor}`,
@@ -120,7 +119,7 @@ export function GlassFullMockup({
className="relative w-full h-full overflow-hidden flex flex-col shadow-inner"
style={{
backgroundColor: screenBg,
- borderRadius: `${cornerRadius * 2.3}px`, // Proportional to rounded-[2.8rem]
+ borderRadius: `${cornerRadius * 2.3}px`,
border: `1px solid ${screenBorderColor}`,
}}
>
diff --git a/app/components/ui/editor/mockups/GlassUIContainerMockup.tsx b/app/components/ui/editor/mockups/GlassUIContainerMockup.tsx
index 53df07a..1dc4ee5 100644
--- a/app/components/ui/editor/mockups/GlassUIContainerMockup.tsx
+++ b/app/components/ui/editor/mockups/GlassUIContainerMockup.tsx
@@ -22,7 +22,7 @@ export function GlassUIContainerMockup({
style={{
borderRadius: `${cornerRadius}px`,
boxShadow: shadows > 0
- ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,0.5)`
+ ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,1)`
: "none",
borderTop: "1px solid rgba(255,255,255,0.6)",
borderLeft: "1px solid rgba(255,255,255,0.6)",
diff --git a/app/components/ui/editor/mockups/HardShellMockup.tsx b/app/components/ui/editor/mockups/HardShellMockup.tsx
index ab3b225..c8d6feb 100644
--- a/app/components/ui/editor/mockups/HardShellMockup.tsx
+++ b/app/components/ui/editor/mockups/HardShellMockup.tsx
@@ -25,26 +25,26 @@ export function HardShellMockup({
const outerPadding = 6 * headerScale;
const bezelPadding = 4 * headerScale;
- const cameraTop = 10 * headerScale; // top-2.5
- const cameraSize = 14 * headerScale; // w-3.5 h-3.5
- const cameraLensSize = 5 * headerScale; // w-[5px]
+ const cameraTop = 10 * headerScale;
+ const cameraSize = 14 * headerScale;
+ const cameraLensSize = 5 * headerScale;
- const statusBarHeight = 32 * headerScale; // h-8
- const statusBarPaddingX = 16 * headerScale; // px-4
- const timeFontSize = 12 * headerScale; // text-[12px]
- const networkFontSize = 10 * headerScale; // text-[10px]
+ const statusBarHeight = 32 * headerScale;
+ const statusBarPaddingX = 16 * headerScale;
+ const timeFontSize = 12 * headerScale;
+ const networkFontSize = 10 * headerScale;
- const signalBarWidth = 3 * headerScale; // w-[3px]
- const batteryWidth = 22 * headerScale; // Slightly wider
+ const signalBarWidth = 3 * headerScale;
+ const batteryWidth = 22 * headerScale;
const batteryHeight = 11 * headerScale;
- const contentPaddingTop = 44 * headerScale; // pt-11
+ const contentPaddingTop = 44 * headerScale;
- const homeIndicatorWidth = 112 * headerScale; // w-28
- const homeIndicatorHeight = 6 * headerScale; // h-1.5
- const homeIndicatorBottom = 8 * headerScale; // bottom-2
+ const homeIndicatorWidth = 112 * headerScale;
+ const homeIndicatorHeight = 6 * headerScale;
+ const homeIndicatorBottom = 8 * headerScale;
- const screenBg = isDark ? "#000000" : "#f8fafc"; // slate-50
+ const screenBg = isDark ? "#000000" : "#f8fafc";
const textColor = isDark ? "#ffffff" : "#000000";
const frameBorderColor = isDark ? "rgba(255, 255, 255, 0.1)" : "rgba(0, 0, 0, 0.2)";
@@ -55,27 +55,25 @@ export function HardShellMockup({
return (
<div className={`relative flex flex-col items-center justify-center ${className}`}>
- {/* 1. Marco Exterior (Hard Shell) */}
<div
className="relative flex items-center justify-center shadow-2xl"
style={{
padding: `${outerPadding}px`,
backgroundColor: frameColor,
- borderRadius: `${cornerRadius * 1.5}px`, // xl (suavizado)
+ borderRadius: `${cornerRadius * 1.5}px`,
border: `1px solid ${frameBorderColor}`,
boxShadow: shadows > 0
- ? `0 ${shadows / 2}px ${shadows}px -12px rgba(0,0,0,0.5)`
+ ? `0 ${shadows / 2}px ${shadows}px -12px rgba(0,0,0,1)`
: 'none',
}}
>
- {/* Botón Volumen (Derecha) */}
<div
className="absolute shadow-inner rounded-r-md"
style={{
right: `-${buttonWidth}px`,
- top: '18%', // Proportional position (top-32)
+ top: '18%',
width: `${buttonWidth}px`,
- height: '9%', // Proporcional a h-16
+ height: '9%',
backgroundColor: buttonBgColor,
borderTop: `1px solid ${buttonBorderColor}`,
borderRight: `1px solid ${buttonBorderColor}`,
@@ -83,14 +81,13 @@ export function HardShellMockup({
}}
/>
- {/* Botón Encendido (Derecha) */}
<div
className="absolute shadow-inner rounded-r-md"
style={{
right: `-${buttonWidth}px`,
- top: '31%', // Proportional position (top-56)
+ top: '31%',
width: `${buttonWidth}px`,
- height: '5%', // Proporcional a h-9
+ height: '5%',
backgroundColor: buttonBgColor,
borderTop: `1px solid ${buttonBorderColor}`,
borderRight: `1px solid ${buttonBorderColor}`,
@@ -98,22 +95,20 @@ export function HardShellMockup({
}}
/>
- {/* 2. Bisel Negro Interior */}
<div
className="relative w-full h-full overflow-hidden flex flex-col"
style={{
backgroundColor: "#000000",
padding: `${bezelPadding}px`,
- borderRadius: `${cornerRadius * 1.2}px`, // lg
+ borderRadius: `${cornerRadius * 1.2}px`,
boxShadow: 'inset 0 0 4px rgba(0,0,0,1)'
}}
>
- {/* 3. Pantalla */}
<div
className="relative w-full h-full flex flex-col overflow-hidden"
style={{
backgroundColor: screenBg,
- borderRadius: `${cornerRadius * 0.8}px`, // sm/md
+ borderRadius: `${cornerRadius * 0.8}px`,
}}
>
<div
@@ -130,7 +125,7 @@ export function HardShellMockup({
style={{
width: `${cameraLensSize}px`,
height: `${cameraLensSize}px`,
- backgroundColor: 'rgba(30, 58, 138, 0.6)' // blue-900/60
+ backgroundColor: 'rgba(30, 58, 138, 0.6)'
}}
/>
</div>
diff --git a/app/components/ui/editor/mockups/IPhoneSlimMockup.tsx b/app/components/ui/editor/mockups/IPhoneSlimMockup.tsx
index 25c6d1d..e4275cf 100644
--- a/app/components/ui/editor/mockups/IPhoneSlimMockup.tsx
+++ b/app/components/ui/editor/mockups/IPhoneSlimMockup.tsx
@@ -58,7 +58,7 @@ export function IPhoneSlimMockup({
backgroundColor: hexToRgba(frameColor, headerOpacity),
borderRadius: `${cornerRadius * 2.5}px`,
boxShadow: shadows > 0
- ? `0 ${shadows}px ${shadows * 2}px rgba(0,0,0,0.4)`
+ ? `0 ${shadows}px ${shadows * 2}px rgba(0,0,0,1)`
: 'none',
border: `1px solid ${borderColor}`,
}}
diff --git a/app/components/ui/editor/mockups/MacosContainerGlassMockup.tsx b/app/components/ui/editor/mockups/MacosContainerGlassMockup.tsx
index 8e14b97..ccdd2c6 100644
--- a/app/components/ui/editor/mockups/MacosContainerGlassMockup.tsx
+++ b/app/components/ui/editor/mockups/MacosContainerGlassMockup.tsx
@@ -26,7 +26,7 @@ export function MacosContainerGlassMockup({
style={{
borderRadius: `${cornerRadius}px`,
boxShadow: shadows > 0
- ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,0.5)`
+ ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,1)`
: "none",
borderTop: "1px solid rgba(255,255,255,0.6)",
borderLeft: "1px solid rgba(255,255,255,0.6)",
diff --git a/app/components/ui/editor/mockups/MacosDarkIdeMockup.tsx b/app/components/ui/editor/mockups/MacosDarkIdeMockup.tsx
index 4c26a12..4632e42 100644
--- a/app/components/ui/editor/mockups/MacosDarkIdeMockup.tsx
+++ b/app/components/ui/editor/mockups/MacosDarkIdeMockup.tsx
@@ -47,7 +47,7 @@ export function MacosDarkIdeMockup({
style={{
borderRadius: `${cornerRadius}px`,
boxShadow: shadows > 0
- ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,0.5)`
+ ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,1)`
: "none",
}}
>
diff --git a/app/components/ui/editor/mockups/MacosGhostGlassMockup.tsx b/app/components/ui/editor/mockups/MacosGhostGlassMockup.tsx
index 68e010c..2366243 100644
--- a/app/components/ui/editor/mockups/MacosGhostGlassMockup.tsx
+++ b/app/components/ui/editor/mockups/MacosGhostGlassMockup.tsx
@@ -57,7 +57,7 @@ export function MacosGhostGlassMockup({
style={{
borderRadius: `${cornerRadius}px`,
boxShadow: shadows > 0
- ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,0.5)`
+ ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,1)`
: 'none',
borderTop: "1px solid rgba(255,255,255,0.6)",
borderLeft: "1px solid rgba(255,255,255,0.6)",
diff --git a/app/components/ui/editor/mockups/MacosGhostIdeMockup.tsx b/app/components/ui/editor/mockups/MacosGhostIdeMockup.tsx
index 52c3525..2a856e4 100644
--- a/app/components/ui/editor/mockups/MacosGhostIdeMockup.tsx
+++ b/app/components/ui/editor/mockups/MacosGhostIdeMockup.tsx
@@ -48,7 +48,7 @@ export function MacosGhostIdeMockup({
style={{
borderRadius: `${cornerRadius}px`,
boxShadow: shadows > 0
- ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,0.5)`
+ ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,1)`
: "none",
}}
>
diff --git a/app/components/ui/editor/mockups/MacosGhostMockup.tsx b/app/components/ui/editor/mockups/MacosGhostMockup.tsx
index e4ab21b..0865241 100644
--- a/app/components/ui/editor/mockups/MacosGhostMockup.tsx
+++ b/app/components/ui/editor/mockups/MacosGhostMockup.tsx
@@ -57,7 +57,7 @@ export function MacosGhostMockup({
style={{
borderRadius: `${cornerRadius}px`,
boxShadow: shadows > 0
- ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,0.5)`
+ ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,1)`
: 'none',
}}
>
diff --git a/app/components/ui/editor/mockups/MacosGlassMockup.tsx b/app/components/ui/editor/mockups/MacosGlassMockup.tsx
index 5c6bc5d..69f1ce3 100644
--- a/app/components/ui/editor/mockups/MacosGlassMockup.tsx
+++ b/app/components/ui/editor/mockups/MacosGlassMockup.tsx
@@ -57,7 +57,7 @@ export function MacosGlassMockup({
style={{
borderRadius: `${cornerRadius}px`,
boxShadow: shadows > 0
- ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,0.5)`
+ ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,1)`
: 'none',
borderTop: "1px solid rgba(255,255,255,0.6)",
borderLeft: "1px solid rgba(255,255,255,0.6)",
diff --git a/app/components/ui/editor/mockups/MacosMockup.tsx b/app/components/ui/editor/mockups/MacosMockup.tsx
index 0570245..cd59449 100644
--- a/app/components/ui/editor/mockups/MacosMockup.tsx
+++ b/app/components/ui/editor/mockups/MacosMockup.tsx
@@ -57,7 +57,7 @@ export function MacosMockup({
style={{
borderRadius: `${cornerRadius}px`,
boxShadow: shadows > 0
- ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,0.5)`
+ ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,1)`
: 'none',
}}
>
diff --git a/app/components/ui/editor/mockups/NoneMockup.tsx b/app/components/ui/editor/mockups/NoneMockup.tsx
index ae9a094..d45eac7 100644
--- a/app/components/ui/editor/mockups/NoneMockup.tsx
+++ b/app/components/ui/editor/mockups/NoneMockup.tsx
@@ -20,7 +20,7 @@ export function NoneMockup({
style={{
borderRadius: `${roundedCorners}px`,
boxShadow: shadows > 0
- ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,0.5)`
+ ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,1)`
: 'none',
}}
>
diff --git a/app/components/ui/editor/mockups/S24UltraMockup.tsx b/app/components/ui/editor/mockups/S24UltraMockup.tsx
index de58f08..b7b354c 100644
--- a/app/components/ui/editor/mockups/S24UltraMockup.tsx
+++ b/app/components/ui/editor/mockups/S24UltraMockup.tsx
@@ -51,20 +51,18 @@ export function S24UltraMockup({
return (
<div className={`relative flex flex-col items-center justify-center ${className}`}>
- {/* 1. Marco Exterior (Chasis) */}
<div
className="relative flex items-center justify-center shadow-2xl"
style={{
padding: `${framePadding}px`,
backgroundColor: frameColor,
- borderRadius: `${cornerRadius * 1.2}px`, // S24 Ultra is more square
+ borderRadius: `${cornerRadius * 1.2}px`,
border: `1px solid ${frameBorderColor}`,
boxShadow: shadows > 0
- ? `0 ${shadows / 2}px ${shadows}px -12px rgba(0,0,0,0.5)`
+ ? `0 ${shadows / 2}px ${shadows}px -12px rgba(0,0,0,1)`
: 'none',
}}
>
- {/* Botón Volumen */}
<div
className="absolute shadow-sm"
style={{
@@ -82,7 +80,6 @@ export function S24UltraMockup({
}}
/>
- {/* Botón Encendido */}
<div
className="absolute shadow-sm"
style={{
@@ -100,7 +97,6 @@ export function S24UltraMockup({
}}
/>
- {/* 2. Pantalla Interior */}
<div
className="relative w-full h-full overflow-hidden flex flex-col"
style={{
@@ -109,7 +105,6 @@ export function S24UltraMockup({
border: `1px solid ${screenBorderColor}`
}}
>
- {/* Cámara Hole-punch */}
<div
className="absolute bg-black rounded-full z-20 flex items-center justify-center"
style={{
@@ -130,7 +125,6 @@ export function S24UltraMockup({
/>
</div>
- {/* Barra de Estado */}
<div
className="absolute top-0 w-full flex items-center justify-between z-10"
style={{
@@ -186,7 +180,6 @@ export function S24UltraMockup({
</div>
</div>
- {/* Área de Inyección de Contenido */}
<div
className="relative w-full h-full flex flex-col"
style={{
@@ -199,7 +192,6 @@ export function S24UltraMockup({
</div>
</div>
- {/* Botones de Navegación (Android) */}
<div
className="absolute bottom-0 w-full flex items-center justify-center z-10"
style={{
diff --git a/app/components/ui/editor/mockups/VSCodeMockup.tsx b/app/components/ui/editor/mockups/VSCodeMockup.tsx
index f4c977b..e3df115 100644
--- a/app/components/ui/editor/mockups/VSCodeMockup.tsx
+++ b/app/components/ui/editor/mockups/VSCodeMockup.tsx
@@ -53,11 +53,10 @@ export function VSCodeMockup({
style={{
borderRadius: `${cornerRadius}px`,
boxShadow: shadows > 0
- ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,0.5)`
+ ? `0 ${shadows * 0.3}px ${shadows}px rgba(0,0,0,1)`
: "none",
}}
>
- {/* Title Bar */}
<div
className="flex items-center justify-between select-none shrink-0"
style={{
@@ -137,7 +136,6 @@ export function VSCodeMockup({
</div>
</div>
- {/* Content */}
<div
className="flex-1 relative overflow-hidden"
style={{ backgroundColor: bgColor }}