styles: refactor codebase base style

This commit is contained in:
2026-06-17 14:46:12 +05:30
parent 182d4ac293
commit 15f54372f4
43 changed files with 161 additions and 268 deletions

View File

@@ -51,13 +51,13 @@ export function ProjectDialog({
<Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent className="max-w-2xl" onOpenAutoFocus={(event) => event.preventDefault()}>
<DialogHeader className="gap-2">
<DialogTitle className="flex items-center gap-3 text-xl">
<DialogTitle className="flex items-center gap-3">
<div className="rounded-lg bg-primary p-2 text-primary-foreground shadow-sm">
<Layers className="size-5" />
</div>
{projectId ? 'Edit Project Details' : 'Create New Project'}
</DialogTitle>
<DialogDescription className="text-sm">
<DialogDescription>
{projectId
? 'Update the technical specifications for your road infrastructure project.'
: 'Provide the essential road data to establish a new analysis project.'}
@@ -97,7 +97,7 @@ export function ProjectDialog({
<div className="grid gap-8 pt-2 md:grid-cols-2">
<div className="space-y-4">
<p className="flex items-center gap-2 text-[11px] font-black tracking-widest text-muted-foreground">
<p className="flex items-center gap-2 text-muted-foreground">
<MapPin className="size-3.5 opacity-60" />
START POINT
</p>
@@ -108,7 +108,7 @@ export function ProjectDialog({
type="number"
step="any"
placeholder="0.0000"
className="font-mono text-xs"
className="font-mono"
aria-invalid={!!startLatErrorMessage}
{...register('start_lat')}
/>
@@ -119,7 +119,7 @@ export function ProjectDialog({
type="number"
step="any"
placeholder="0.0000"
className="font-mono text-xs"
className="font-mono"
aria-invalid={!!startLngErrorMessage}
{...register('start_lng')}
/>
@@ -128,7 +128,7 @@ export function ProjectDialog({
</div>
<div className="space-y-4">
<p className="flex items-center gap-2 text-[11px] font-black tracking-widest text-muted-foreground">
<p className="flex items-center gap-2 text-muted-foreground">
<MapPin className="size-3.5 opacity-60" />
END POINT
</p>
@@ -139,7 +139,7 @@ export function ProjectDialog({
type="number"
step="any"
placeholder="0.0000"
className="font-mono text-xs"
className="font-mono"
aria-invalid={!!endLatErrorMessage}
{...register('end_lat')}
/>
@@ -150,7 +150,7 @@ export function ProjectDialog({
type="number"
step="any"
placeholder="0.0000"
className="font-mono text-xs"
className="font-mono"
aria-invalid={!!endLngErrorMessage}
{...register('end_lng')}
/>