From 48d89a1a91d13239cebe2c1a1900453ad52ad11f Mon Sep 17 00:00:00 2001 From: OG T Date: Wed, 1 Apr 2026 22:15:35 +0800 Subject: [PATCH] =?UTF-8?q?style(font):=20=E7=B3=BB=E7=B5=B1=E6=80=A7?= =?UTF-8?q?=E5=AD=97=E9=AB=94=E5=8D=87=E7=B4=9A=20=E2=80=94=20=E5=B0=8D?= =?UTF-8?q?=E9=BD=8A=E6=A5=AD=E7=95=8C=E6=A8=99=E6=BA=96=20Linear/Vercel/A?= =?UTF-8?q?nthropic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - openclaw-panel: 11/9/8px → 13/12/11px - sidebar: nav 13→14px, badges 11→12px, bottom 12→13px, icons 14→15px - page.tsx: metric labels 11→12px, section headers 12→13px - incident-card: 11px 全面升 12px, meta 12→13px Co-Authored-By: Claude Sonnet 4.6 --- apps/web/src/app/[locale]/page.tsx | 10 +++---- apps/web/src/components/ai/openclaw-panel.tsx | 6 ++-- .../src/components/incident/incident-card.tsx | 28 +++++++++---------- apps/web/src/components/layout/sidebar.tsx | 10 +++---- 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/apps/web/src/app/[locale]/page.tsx b/apps/web/src/app/[locale]/page.tsx index b27940fc7..ea3262302 100644 --- a/apps/web/src/app/[locale]/page.tsx +++ b/apps/web/src/app/[locale]/page.tsx @@ -82,13 +82,13 @@ export default function Home({ params }: { params: { locale: string } }) { borderRight: i < arr.length - 1 ? '0.5px solid #e8e5dc' : 'none', marginRight: i < arr.length - 1 ? 14 : 0, }}> - + {m.label} {String(m.value)} - {m.sub && {m.sub}} + {m.sub && {m.sub}} ))} @@ -114,7 +114,7 @@ export default function Home({ params }: { params: { locale: string } }) { flexShrink: 0, background: '#faf9f3', }}> - + 活躍事件 {(incidents?.length ?? 0) > 0 && ( @@ -167,7 +167,7 @@ export default function Home({ params }: { params: { locale: string } }) {
@@ -185,7 +185,7 @@ export default function Home({ params }: { params: { locale: string } }) {
diff --git a/apps/web/src/components/ai/openclaw-panel.tsx b/apps/web/src/components/ai/openclaw-panel.tsx index e0e826ff9..fd59dc7bb 100644 --- a/apps/web/src/components/ai/openclaw-panel.tsx +++ b/apps/web/src/components/ai/openclaw-panel.tsx @@ -152,14 +152,14 @@ export function OpenClawPanel({ {/* 右側文字 */}
-
+
NemoClaw
-
+
{STATUS_MESSAGES[status]}
+ {t('executing')} ) case 'approved': - return ✓ {t('approved')} + return ✓ {t('approved')} case 'rejected': - return ✗ {t('rejected')} + return ✗ {t('rejected')} case 'error': case 'timeout': return (
- + {buttonState === 'timeout' ? t('timeout') : t('error')} @@ -241,7 +241,7 @@ export function IncidentCard({ incident, decision, onApprovalChange }: IncidentC > ✗ {t('reject')} - {isAnalyzing && } + {isAnalyzing && }
) } @@ -273,7 +273,7 @@ export function IncidentCard({ incident, decision, onApprovalChange }: IncidentC }}> {serviceName}
- + {duration}
@@ -284,7 +284,7 @@ export function IncidentCard({ incident, decision, onApprovalChange }: IncidentC
{/* INC-ID */} -
+
{incident.incident_id}
@@ -302,13 +302,13 @@ export function IncidentCard({ incident, decision, onApprovalChange }: IncidentC gap: 12, flexWrap: 'wrap' as const, }}> - + 影響服務 {incident.affected_services?.length ?? 0} - + 信號數 {incident.signal_count ?? '--'} - + 狀態 {incident.status}
@@ -329,7 +329,7 @@ export function IncidentCard({ incident, decision, onApprovalChange }: IncidentC display: 'flex', alignItems: 'center', gap: 5, - fontSize: 12, + fontSize: 13, color: '#87867f', width: '100%', textAlign: 'left' as const, @@ -348,7 +348,7 @@ export function IncidentCard({ incident, decision, onApprovalChange }: IncidentC border: '0.5px solid #e0ddd4', borderLeft: '3px solid #d97757', borderRadius: 6, - fontSize: 12, + fontSize: 13, color: '#87867f', }}>
{decisionAction}
@@ -367,7 +367,7 @@ export function IncidentCard({ incident, decision, onApprovalChange }: IncidentC
{renderApproveButtons()} {errorMessage && ( - + {errorMessage} )} diff --git a/apps/web/src/components/layout/sidebar.tsx b/apps/web/src/components/layout/sidebar.tsx index 40ab178ac..bbb78e68b 100644 --- a/apps/web/src/components/layout/sidebar.tsx +++ b/apps/web/src/components/layout/sidebar.tsx @@ -216,7 +216,7 @@ export function Sidebar({ gap: collapsed ? 0 : 8, justifyContent: collapsed ? 'center' : 'flex-start', padding: collapsed ? '8px 0' : '6px 12px', - fontSize: 13, + fontSize: 14, color: active ? '#141413' : '#87867f', fontWeight: active ? 600 : 400, borderRight: active ? '2px solid #d97757' : '2px solid transparent', @@ -226,12 +226,12 @@ export function Sidebar({ position: 'relative' as const, }} > - + {!collapsed && {t(item.labelKey)}} {item.badge && count > 0 && ( - + {!collapsed && {t(item.labelKey)}} )