@@ -146,48 +146,48 @@ export function ProjectMetadataModal({
146146 if ( stringsLoading ) return undefined ;
147147
148148 return (
149- < div className = "tw- fixed tw- inset-0 tw- z-50 tw- flex tw- items-center tw- justify-center tw- bg-black/40" >
149+ < div className = "tw: fixed tw: inset-0 tw: z-50 tw: flex tw: items-center tw: justify-center tw: bg-black/40" >
150150 < dialog
151151 aria-labelledby = "project-metadata-modal-title"
152152 aria-modal = "true"
153- className = "tw- bg-background tw- text-foreground tw- rounded-lg tw- border tw- border-border tw- p-6 tw-w-[32rem] tw- shadow-lg"
153+ className = "tw: bg-background tw: text-foreground tw: rounded-lg tw: border tw: border-border tw: p-6 tw:w-lg tw: shadow-lg"
154154 open
155155 >
156156 < h2
157157 id = "project-metadata-modal-title"
158- className = "tw- text-base tw- font-semibold tw- text-foreground tw- mb-4"
158+ className = "tw: text-base tw: font-semibold tw: text-foreground tw: mb-4"
159159 >
160160 { localizedStrings [ '%interlinearizer_modal_metadata_title%' ] }
161161 </ h2 >
162162
163163 { /* Editable fields */ }
164- < div className = "tw- flex tw- flex-col tw- gap-3 tw- mb-4" >
165- < div className = "tw- flex tw- flex-col tw- gap-1" >
164+ < div className = "tw: flex tw: flex-col tw: gap-3 tw: mb-4" >
165+ < div className = "tw: flex tw: flex-col tw: gap-1" >
166166 < label
167- className = "tw- text-xs tw- font-medium tw- text-muted-foreground tw- uppercase tw- tracking-wide"
167+ className = "tw: text-xs tw: font-medium tw: text-muted-foreground tw: uppercase tw: tracking-wide"
168168 htmlFor = "metadata-edit-name"
169169 >
170170 { localizedStrings [ '%interlinearizer_modal_metadata_name_label%' ] }
171171 </ label >
172172 < input
173173 id = "metadata-edit-name"
174- className = "tw- rounded tw- border tw- border-border tw- bg-background tw- px-2 tw- py-1 tw- text-sm tw- text-foreground"
174+ className = "tw: rounded tw: border tw: border-border tw: bg-background tw: px-2 tw: py-1 tw: text-sm tw: text-foreground"
175175 value = { editName }
176176 placeholder = { localizedStrings [ '%interlinearizer_modal_metadata_name_placeholder%' ] }
177177 onChange = { ( e ) => setEditName ( e . target . value ) }
178178 />
179179 </ div >
180180
181- < div className = "tw- flex tw- flex-col tw- gap-1" >
181+ < div className = "tw: flex tw: flex-col tw: gap-1" >
182182 < label
183- className = "tw- text-xs tw- font-medium tw- text-muted-foreground tw- uppercase tw- tracking-wide"
183+ className = "tw: text-xs tw: font-medium tw: text-muted-foreground tw: uppercase tw: tracking-wide"
184184 htmlFor = "metadata-edit-description"
185185 >
186186 { localizedStrings [ '%interlinearizer_modal_metadata_description_label%' ] }
187187 </ label >
188188 < textarea
189189 id = "metadata-edit-description"
190- className = "tw- rounded tw- border tw- border-border tw- bg-background tw- px-2 tw- py-1 tw- text-sm tw- text-foreground tw- resize-none"
190+ className = "tw: rounded tw: border tw: border-border tw: bg-background tw: px-2 tw: py-1 tw: text-sm tw: text-foreground tw: resize-none"
191191 rows = { 2 }
192192 value = { editDescription }
193193 placeholder = {
@@ -197,16 +197,16 @@ export function ProjectMetadataModal({
197197 />
198198 </ div >
199199
200- < div className = "tw- flex tw- flex-col tw- gap-1" >
200+ < div className = "tw: flex tw: flex-col tw: gap-1" >
201201 < label
202- className = "tw- text-xs tw- font-medium tw- text-muted-foreground tw- uppercase tw- tracking-wide"
202+ className = "tw: text-xs tw: font-medium tw: text-muted-foreground tw: uppercase tw: tracking-wide"
203203 htmlFor = "metadata-edit-language"
204204 >
205205 { localizedStrings [ '%interlinearizer_modal_metadata_analysis_language_label%' ] }
206206 </ label >
207207 < input
208208 id = "metadata-edit-language"
209- className = "tw- rounded tw- border tw- border-border tw- bg-background tw- px-2 tw- py-1 tw- text-sm tw- text-foreground tw- font-mono"
209+ className = "tw: rounded tw: border tw: border-border tw: bg-background tw: px-2 tw: py-1 tw: text-sm tw: text-foreground tw: font-mono"
210210 value = { editLanguage }
211211 placeholder = {
212212 localizedStrings [ '%interlinearizer_modal_metadata_language_placeholder%' ]
@@ -217,7 +217,7 @@ export function ProjectMetadataModal({
217217 </ div >
218218
219219 { /* Read-only metadata */ }
220- < dl className = "tw- flex tw- flex-col tw- gap-2 tw- mb-5" >
220+ < dl className = "tw: flex tw: flex-col tw: gap-2 tw: mb-5" >
221221 < MetadataRow
222222 label = { localizedStrings [ '%interlinearizer_modal_metadata_id_label%' ] }
223223 value = { interlinearProjectId }
@@ -236,14 +236,14 @@ export function ProjectMetadataModal({
236236
237237 { /* Footer */ }
238238 { confirmingDelete ? (
239- < div className = "tw- rounded tw- border tw- border-destructive/40 tw- bg-destructive/5 tw- px-3 tw- py-2" >
240- < p className = "tw- font-medium tw- text-foreground tw- mb-0.5" >
239+ < div className = "tw: rounded tw: border tw: border-destructive/40 tw: bg-destructive/5 tw: px-3 tw: py-2" >
240+ < p className = "tw: font-medium tw: text-foreground tw: mb-0.5" >
241241 { localizedStrings [ '%interlinearizer_modal_metadata_delete_confirm_title%' ] }
242242 </ p >
243- < p className = "tw- text-xs tw- text-muted-foreground tw- mb-2" >
243+ < p className = "tw: text-xs tw: text-muted-foreground tw: mb-2" >
244244 { localizedStrings [ '%interlinearizer_modal_metadata_delete_confirm_body%' ] }
245245 </ p >
246- < div className = "tw- flex tw- gap-2 tw- justify-end" >
246+ < div className = "tw: flex tw: gap-2 tw: justify-end" >
247247 < Button
248248 variant = "secondary"
249249 size = "sm"
@@ -263,16 +263,16 @@ export function ProjectMetadataModal({
263263 </ div >
264264 </ div >
265265 ) : (
266- < div className = "tw- flex tw- gap-2 tw- justify-between" >
266+ < div className = "tw: flex tw: gap-2 tw: justify-between" >
267267 < Button
268268 variant = "destructive"
269269 onClick = { ( ) => setConfirmingDelete ( true ) }
270270 disabled = { isSubmitting }
271271 >
272- < Trash2 size = { 13 } className = "tw- mr-1" />
272+ < Trash2 size = { 13 } className = "tw: mr-1" />
273273 { localizedStrings [ '%interlinearizer_modal_metadata_delete%' ] }
274274 </ Button >
275- < div className = "tw- flex tw- gap-2" >
275+ < div className = "tw: flex tw: gap-2" >
276276 < Button variant = "secondary" onClick = { onClose } disabled = { isSubmitting } >
277277 { localizedStrings [ '%interlinearizer_modal_metadata_close%' ] }
278278 </ Button >
@@ -302,12 +302,12 @@ function MetadataRow({
302302 mono,
303303} : Readonly < { label : string ; value : string ; mono ?: boolean } > ) {
304304 return (
305- < div className = "tw- flex tw- flex-col tw- gap-0.5" >
306- < dt className = "tw- text-xs tw- font-medium tw- text-muted-foreground tw- uppercase tw- tracking-wide" >
305+ < div className = "tw: flex tw: flex-col tw: gap-0.5" >
306+ < dt className = "tw: text-xs tw: font-medium tw: text-muted-foreground tw: uppercase tw: tracking-wide" >
307307 { label }
308308 </ dt >
309309 < dd
310- className = { [ 'tw- text-sm tw- break-all tw- text-foreground' , mono ? 'tw- font-mono' : '' ]
310+ className = { [ 'tw: text-sm tw: break-all tw: text-foreground' , mono ? 'tw: font-mono' : '' ]
311311 . filter ( Boolean )
312312 . join ( ' ' ) }
313313 >
0 commit comments