@@ -203,31 +203,31 @@ function CreateCollection() {
203203 </ div >
204204
205205 { mode === 'manual' ? (
206- < div className = "flex-1 overflow-y-auto custom-scrollbar max-w-6xl mx-auto w-full py-4 " >
207- < div className = "bg-[var(--color-bg-card)] border border-[var(--color-border)] rounded-xl p-6 shadow-sm" >
208- < div className = "form-group mb-6 " >
209- < label className = "form-label text-xs font-semibold text-[var(--color-text-muted)] uppercase tracking-wider mb-1.5 block" >
206+ < div className = "flex-1 overflow-y-auto custom-scrollbar max-w-6xl mx-auto w-full py-6 " >
207+ < div className = "bg-[var(--color-bg-card)] border border-[var(--color-border)] rounded-xl p-8 shadow-sm" >
208+ < div className = "form-group mb-8 " >
209+ < label className = "form-label text-sm font-semibold text-[var(--color-text-muted)] uppercase tracking-wider mb-3 block" >
210210 Collection Name
211211 </ label >
212212 < input
213213 type = "text"
214214 value = { name }
215215 onChange = { ( e ) => setName ( e . target . value ) }
216216 disabled = { initialName === 'users' }
217- className = "input-field w-full text-sm font-mono"
217+ className = "input-field w-full text-base font-mono py-2 "
218218 style = { {
219219 cursor : initialName === 'users' ? 'not-allowed' : 'text' ,
220220 opacity : initialName === 'users' ? 0.7 : 1
221221 } }
222222 placeholder = "e.g. products, orders, articles"
223223 autoFocus = { initialName !== 'users' }
224224 />
225- < small className = "text-xs text-[var(--color-text-muted)] mt-1.5 block" >
225+ < small className = "text-sm text-[var(--color-text-muted)] mt-2 block" >
226226 This will be the name of your collection in the database.
227227 </ small >
228228 </ div >
229229
230- < div className = "mt-6 " >
230+ < div className = "mt-8 " >
231231 < div className = "flex justify-between items-center mb-3" >
232232 < h3 className = "text-sm font-semibold text-[var(--color-text-main)] m-0" > Fields</ h3 >
233233 < button
@@ -239,7 +239,7 @@ function CreateCollection() {
239239 </ button >
240240 </ div >
241241
242- < div className = "flex items-center gap-2 px-3 py-1.5 mb-1 text-[10px] font-semibold text-[var(--color-text-muted)] tracking-wider" >
242+ < div className = "flex items-center gap-2 px-3 py-3 mb-2 text-xs font-semibold text-[var(--color-text-muted)] tracking-wider" >
243243 < span className = "flex-2" > NAME</ span >
244244 < span className = "flex-1" > TYPE</ span >
245245 < span className = "w-6 text-center" > REQ</ span >
@@ -388,7 +388,7 @@ function FieldRow({
388388 onChange = { handleKeyChange }
389389 disabled = { isFixed }
390390 placeholder = "field_name"
391- className = "input-field w-full text-xs font-mono py-1 px-2 h-7 "
391+ className = "input-field w-full text-sm font-mono py-2 px-3 h-9 "
392392 />
393393 </ div >
394394
@@ -398,7 +398,7 @@ function FieldRow({
398398 value = { field . type }
399399 onChange = { handleTypeChange }
400400 disabled = { isFixed }
401- className = "input-field w-full text-xs py-1 px-2 h-7 "
401+ className = "input-field w-full text-sm py-2 px-3 h-9 "
402402 >
403403 { ALL_TYPES . map ( t => (
404404 < option key = { t } value = { t } > { t } </ option >
@@ -412,7 +412,7 @@ function FieldRow({
412412 < select
413413 value = { field . ref || 'users' }
414414 onChange = { handleRefChange }
415- className = "input-field w-full text-xs py-1 px-2 h-7 font-mono text-cyan-400"
415+ className = "input-field w-full text-sm py-2 px-3 h-9 font-mono text-cyan-400"
416416 >
417417 < option value = "users" > users (Auth)</ option >
418418 { collections . filter ( c => c . name !== 'users' ) . map ( c => (
@@ -424,12 +424,12 @@ function FieldRow({
424424
425425 { /* Array Item Type Selector */ }
426426 { isArray && (
427- < div className = "flex-1 flex items-center gap-1" >
428- < span className = "text-[10px] text-[var(--color-text-muted)]" > of </ span >
427+ < div className = "flex-1 flex items-center gap-1.5 " >
428+ < span className = "text-[11px] font-semibold text-[var(--color-text-muted)]" > OF </ span >
429429 < select
430430 value = { field . items ?. type || 'String' }
431431 onChange = { handleArrayItemTypeChange }
432- className = "input-field w-full text-xs py-1 px-2 h-7 "
432+ className = "input-field w-full text-sm py-2 px-3 h-9 "
433433 >
434434 { ARRAY_ITEM_TYPES . map ( t => (
435435 < option key = { t } value = { t } > { t } </ option >
0 commit comments