From 131442cae2e12e55a077634c7ce15bc87e715742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=97=D0=B8=D0=BC=D0=B8=D0=BD?= Date: Tue, 12 May 2026 11:38:14 +0000 Subject: [PATCH] =?UTF-8?q?chore(theme):=20bg-white=20=E2=86=92=20bg-surfa?= =?UTF-8?q?ce=20(B=20=E2=80=94=20dark=20theme=20sweep)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ordinis-admin-ui/src/components/form/SchemaDrivenForm.tsx | 2 +- ordinis-admin-ui/src/components/geo/AoiPickerDialog.tsx | 4 ++-- .../src/components/record/RecordHistoryDrawer.tsx | 2 +- ordinis-admin-ui/src/components/schema/PropertyEditor.tsx | 4 ++-- .../src/components/timetravel/TimeTravelPicker.tsx | 4 ++-- ordinis-admin-ui/src/routes/audit.tsx | 8 ++++---- ordinis-admin-ui/src/routes/outbox.tsx | 2 +- ordinis-admin-ui/src/routes/webhooks.$id.tsx | 4 ++-- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/ordinis-admin-ui/src/components/form/SchemaDrivenForm.tsx b/ordinis-admin-ui/src/components/form/SchemaDrivenForm.tsx index e426786..a38018e 100644 --- a/ordinis-admin-ui/src/components/form/SchemaDrivenForm.tsx +++ b/ordinis-admin-ui/src/components/form/SchemaDrivenForm.tsx @@ -1033,7 +1033,7 @@ const ReferenceSelectField = ({ className={[ 'w-full appearance-none border rounded-sm pl-3 pr-9 py-2 text-body font-display', 'truncate overflow-hidden whitespace-nowrap text-ellipsis', - 'bg-white text-black transition-colors', + 'bg-surface text-ink transition-colors', 'focus:outline-none focus:ring-1 focus:ring-accent focus:border-accent', errorMsg ? 'border-mars' : 'border-line hover:border-ink/40', isLoading ? 'cursor-wait text-mute' : 'cursor-pointer', diff --git a/ordinis-admin-ui/src/components/geo/AoiPickerDialog.tsx b/ordinis-admin-ui/src/components/geo/AoiPickerDialog.tsx index 80f67cb..178cf05 100644 --- a/ordinis-admin-ui/src/components/geo/AoiPickerDialog.tsx +++ b/ordinis-admin-ui/src/components/geo/AoiPickerDialog.tsx @@ -166,7 +166,7 @@ export const AoiPickerDialog = ({ isOpen, onClose, onApply, initial }: Props) => 'px-3 py-1.5 text-cell font-display rounded-sm border transition-colors', active ? 'border-accent bg-accent text-white' - : 'border-line bg-white text-ink hover:border-ink/40', + : 'border-line bg-surface text-ink hover:border-ink/40', ].join(' ')} > {label} @@ -192,7 +192,7 @@ export const AoiPickerDialog = ({ isOpen, onClose, onApply, initial }: Props) => type="button" onClick={handleClear} disabled={!shape} - className="px-3 py-1.5 text-cell font-display rounded-sm border border-line bg-white text-ink hover:border-ink/40 disabled:opacity-40 disabled:cursor-not-allowed" + className="px-3 py-1.5 text-cell font-display rounded-sm border border-line bg-surface text-ink hover:border-ink/40 disabled:opacity-40 disabled:cursor-not-allowed" > {t('aoi.dialog.clear')} diff --git a/ordinis-admin-ui/src/components/record/RecordHistoryDrawer.tsx b/ordinis-admin-ui/src/components/record/RecordHistoryDrawer.tsx index 8481f62..7b1da26 100644 --- a/ordinis-admin-ui/src/components/record/RecordHistoryDrawer.tsx +++ b/ordinis-admin-ui/src/components/record/RecordHistoryDrawer.tsx @@ -83,7 +83,7 @@ export const RecordHistoryDrawer = ({ : status === 'future' ? 'bg-warn border-horizon' : status === 'expired' - ? 'bg-white border-ink/40' + ? 'bg-surface border-ink/40' : 'bg-aurora border-aurora' }`} /> diff --git a/ordinis-admin-ui/src/components/schema/PropertyEditor.tsx b/ordinis-admin-ui/src/components/schema/PropertyEditor.tsx index a46dde2..c8c2187 100644 --- a/ordinis-admin-ui/src/components/schema/PropertyEditor.tsx +++ b/ordinis-admin-ui/src/components/schema/PropertyEditor.tsx @@ -49,7 +49,7 @@ export const PropertyEditor = ({ const update = (patch: Partial) => onChange({ ...prop, ...patch }) return ( -
+
{t('schema.property')} #{index + 1} @@ -125,7 +125,7 @@ export const PropertyEditor = ({
{t('schema.opaque.hint')}
-
+          
             {JSON.stringify(prop.rawSchema ?? {}, null, 2)}
           
diff --git a/ordinis-admin-ui/src/components/timetravel/TimeTravelPicker.tsx b/ordinis-admin-ui/src/components/timetravel/TimeTravelPicker.tsx index d2bc4b5..d49d80b 100644 --- a/ordinis-admin-ui/src/components/timetravel/TimeTravelPicker.tsx +++ b/ordinis-admin-ui/src/components/timetravel/TimeTravelPicker.tsx @@ -418,7 +418,7 @@ function StatusFooter({ valueDate.getMinutes(), ) } - className="text-mono w-10 px-1.5 py-0.5 rounded-sm border border-line bg-white text-center" + className="text-mono w-10 px-1.5 py-0.5 rounded-sm border border-line bg-surface text-center" aria-label={t('timeTravel.hours')} /> : @@ -433,7 +433,7 @@ function StatusFooter({ Math.max(0, Math.min(59, parseInt(e.target.value, 10) || 0)), ) } - className="text-mono w-10 px-1.5 py-0.5 rounded-sm border border-line bg-white text-center" + className="text-mono w-10 px-1.5 py-0.5 rounded-sm border border-line bg-surface text-center" aria-label={t('timeTravel.minutes')} /> diff --git a/ordinis-admin-ui/src/routes/audit.tsx b/ordinis-admin-ui/src/routes/audit.tsx index 75b3c0b..fc97d98 100644 --- a/ordinis-admin-ui/src/routes/audit.tsx +++ b/ordinis-admin-ui/src/routes/audit.tsx @@ -309,7 +309,7 @@ function ActiveFilterChips({ filters, onRemove }: ActiveFilterChipsProps) { onClick={() => onRemove(f.key)} className={[ 'inline-flex items-center gap-1.5 px-2 py-1 rounded-sm border text-cell', - 'bg-white border-line hover:border-ink/40 hover:bg-line/30', + 'bg-surface border-line hover:border-ink/40 hover:bg-line/30', 'transition-colors group', ].join(' ')} title={t('audit.filter.removeChip')} @@ -356,7 +356,7 @@ function FilterPanel({ } return ( -
+
{t('audit.diff.before')}
-
+                
                   {row.payloadBefore
                     ? JSON.stringify(row.payloadBefore, null, 2)
                     : '—'}
@@ -519,7 +519,7 @@ function AuditRow({ row }: { row: AuditEntry }) {
                 
{t('audit.diff.after')}
-
+                
                   {row.payloadAfter
                     ? JSON.stringify(row.payloadAfter, null, 2)
                     : '—'}
diff --git a/ordinis-admin-ui/src/routes/outbox.tsx b/ordinis-admin-ui/src/routes/outbox.tsx
index 4f523a9..cf29424 100644
--- a/ordinis-admin-ui/src/routes/outbox.tsx
+++ b/ordinis-admin-ui/src/routes/outbox.tsx
@@ -164,7 +164,7 @@ function StatCard({ label, value, tone }: StatCardProps) {
         ? 'text-grass'
         : 'text-accent'
   return (
-    
+
{label}
diff --git a/ordinis-admin-ui/src/routes/webhooks.$id.tsx b/ordinis-admin-ui/src/routes/webhooks.$id.tsx index a1e8947..e82d9e8 100644 --- a/ordinis-admin-ui/src/routes/webhooks.$id.tsx +++ b/ordinis-admin-ui/src/routes/webhooks.$id.tsx @@ -235,7 +235,7 @@ function WebhookDetailPage() { 'text-cap inline-flex items-center gap-1.5 px-2.5 py-1 rounded-sm border transition-colors', active ? 'border-accent bg-accent/8 text-accent' - : 'border-line bg-white text-ink-2 hover:border-ink/40', + : 'border-line bg-surface text-ink-2 hover:border-ink/40', ].join(' ')} > {s} @@ -443,7 +443,7 @@ function RotateRevealModal({ onClick={onClose} >
e.stopPropagation()} >