@@ -323,11 +323,7 @@ const StudioEditor = ({ exampleId, initialJson }: { exampleId: ExampleKey, initi
323323 </ div >
324324
325325 < div
326- className = "flex-1 overflow-auto p-8 flex justify-center bg-gradient-to-br from-slate-100 via-gray-50 to-indigo-100 relative"
327- style = { {
328- backgroundImage : 'radial-gradient(circle, #cbd5e1 1.5px, transparent 1.5px)' ,
329- backgroundSize : '32px 32px'
330- } }
326+ className = "flex-1 overflow-auto p-8 flex justify-center bg-gradient-to-br from-slate-100 via-gray-50 to-indigo-100 relative bg-dot-pattern"
331327 >
332328 < div className = { `${ viewportStyles [ viewportSize ] } transition-all duration-300 ease-in-out` } >
333329 < div
@@ -369,7 +365,7 @@ const StudioEditor = ({ exampleId, initialJson }: { exampleId: ExampleKey, initi
369365 < div className = "flex flex-col items-center gap-4" >
370366 < div className = "relative" >
371367 < div className = "w-12 h-12 border-4 border-indigo-200 border-t-indigo-600 rounded-full animate-spin" > </ div >
372- < div className = "absolute inset-0 w-12 h-12 border-4 border-purple-200 border-t-purple-600 rounded-full animate-spin" style = { { animationDirection : ' reverse' , animationDuration : '1s' } } > </ div >
368+ < div className = "absolute inset-0 w-12 h-12 border-4 border-purple-200 border-t-purple-600 rounded-full animate-spin- reverse" > </ div >
373369 </ div >
374370 < p className = "text-sm font-semibold text-gray-600" > Rendering your UI...</ p >
375371 </ div >
@@ -414,12 +410,7 @@ const StudioEditor = ({ exampleId, initialJson }: { exampleId: ExampleKey, initi
414410 </ div >
415411
416412 { /* Side Preview */ }
417- < div className = "w-1/2 h-full flex flex-col bg-gradient-to-br from-slate-100 via-gray-50 to-indigo-100 relative"
418- style = { {
419- backgroundImage : 'radial-gradient(circle, #cbd5e1 1.5px, transparent 1.5px)' ,
420- backgroundSize : '32px 32px'
421- } }
422- >
413+ < div className = "w-1/2 h-full flex flex-col bg-gradient-to-br from-slate-100 via-gray-50 to-indigo-100 relative bg-dot-pattern" >
423414 < div className = "flex-1 overflow-auto p-8 flex items-center justify-center" >
424415 < div className = "w-full max-w-xl mx-auto rounded-2xl shadow-2xl bg-background border-2 border-gray-300 overflow-hidden" >
425416 < div className = "h-9 bg-gradient-to-b from-gray-100 to-gray-50 border-b-2 border-gray-300 flex items-center px-3 gap-2" >
0 commit comments