From 95335dcf2d7f078983380deaa117bf8c488f5393 Mon Sep 17 00:00:00 2001 From: Vixalie Date: Mon, 4 Aug 2025 21:54:17 +0800 Subject: [PATCH] =?UTF-8?q?style(theme):=20=E8=B0=83=E6=95=B4=E9=A2=9C?= =?UTF-8?q?=E8=89=B2=E5=8F=98=E9=87=8F=E5=B9=B6=E7=A7=BB=E9=99=A4=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E6=A0=B7=E5=BC=8F=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 调整 --color-overlay、--color-outline 和 --color-outline-variant 的值 - 移除了大量的文本样式变量定义,包括标题、正文和标签的样式 --- src/theme.css | 72 +++------------------------------------------------ 1 file changed, 3 insertions(+), 69 deletions(-) diff --git a/src/theme.css b/src/theme.css index 137008b..5f43972 100644 --- a/src/theme.css +++ b/src/theme.css @@ -284,9 +284,9 @@ --color-swatch-neutral-95: light-dark(#eeeeee, #eeeeee); --color-swatch-neutral-98: light-dark(#f8f9f8, #f8f9f8); --color-shadow: light-dark(#040303, #040303); - --color-overlay: light-dark(#040304, #020202); - --color-outline: light-dark(#0b090a, #040304); - --color-outline-variant: light-dark(#0f0e0e, #010101); + --color-overlay: light-dark(#2f2d2d, #2f2d2d); + --color-outline: light-dark(#9f9e9d, #232121); + --color-outline-variant: light-dark(#bebebd, #171616); --color-defensive: light-dark(#2177b8, #2177b8); --color-defensive-hover: light-dark(#50a1e5, #50a1e5); --color-defensive-active: light-dark(#005695, #005695); @@ -358,72 +358,6 @@ system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; --font-serif: 'Noto Serif CJK', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif; - --base-font-size: 16px; - - --text-display-lg: 3.5625rem; - --text-display-lg--line-height: 4rem; - --text-display-lg--font-weight: 400; - - --text-display-md: 2.8125rem; - --text-display-md--line-height: 3.25rem; - --text-display-md--font-weight: 400; - - --text-display-sm: 2.25rem; - --text-display-sm--line-height: 2.75rem; - --text-display-sm--font-weight: 400; - - --text-headline-lg: 2rem; - --text-headline-lg--line-height: 2.5rem; - --text-headline-lg--font-weight: 400; - - --text-headline-md: 1.75rem; - --text-headline-md--line-height: 2.25rem; - --text-headline-md--font-weight: 400; - - --text-headline-sm: 1.5rem; - --text-headline-sm--line-height: 2rem; - --text-headline-sm--font-weight: 400; - - --text-title-lg: 1.375rem; - --text-title-lg--line-height: 1.75rem; - --text-title-lg--font-weight: 400; - - --text-title-md: 1rem; - --text-title-md--line-height: 1.5rem; - --text-title-md--font-weight: 400; - - --text-title-sm: 0.875rem; - --text-title-sm--line-height: 1.25rem; - --text-title-sm--font-weight: 500; - - --text-body-lg: 1rem; - --text-body-lg--line-height: 1.5rem; - --text-body-lg--font-weight: 400; - - --text-body-md: 0.875rem; - --text-body-md--line-height: 1.25rem; - --text-body-md--font-weight: 400; - - --text-body-sm: 0.75rem; - --text-body-sm--line-height: 1rem; - --text-body-sm--font-weight: 400; - - --text-body-xs: 0.625rem; - --text-body-xs--line-height: 0.75rem; - --text-body-xs--font-weight: 400; - - --text-label-lg: 0.875rem; - --text-label-lg--line-height: 1.25rem; - --text-label-lg--font-weight: 500; - - --text-label-md: 0.75rem; - --text-label-md--line-height: 1rem; - --text-label-md--font-weight: 500; - --text-label-md--text-transform: none; - - --text-label-sm: 0.6875rem; - --text-label-sm--line-height: 1rem; - --text-label-sm--font-weight: 500; --elevation-0: none; --elevation-1: 0 1px 3px 1px --alpha(var(--color-shadow) / 15%),