From db3728e96e56971fa5bf59226ffe5957bd4cf4a7 Mon Sep 17 00:00:00 2001 From: kanare-dev Date: Sat, 28 Mar 2026 19:41:30 +0900 Subject: [PATCH] fix: refactor panel styling to use design tokens --- components/features/StyleTransformer.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/components/features/StyleTransformer.tsx b/components/features/StyleTransformer.tsx index 717d426..c186d43 100644 --- a/components/features/StyleTransformer.tsx +++ b/components/features/StyleTransformer.tsx @@ -601,15 +601,15 @@ export function StyleTransformer() { overflowY: "auto", border: `1px solid ${C.rule}`, borderRadius: "4px", - background: C.bg, + background: C.panelBg, boxShadow: "0 1px 4px rgba(26,24,20,0.06)", + overflow: "hidden", }} >
原文 - + {inputText.length} 文字
@@ -665,7 +665,7 @@ export function StyleTransformer() { style={{ borderTop: `1px solid ${C.rule}`, padding: "0.75rem 1.75rem", - background: C.bg, + background: C.panelBg, display: "flex", flexDirection: "column", gap: "0.5rem", @@ -783,7 +783,6 @@ export function StyleTransformer() { style={{ padding: "0 1.75rem", borderBottom: `1px solid ${C.rule}`, - background: "#D4CEC6", display: "flex", alignItems: "center", justifyContent: "space-between",