diff --git a/app/assets/css/main.css b/app/assets/css/main.css index a85ad45..8c7d694 100644 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -111,9 +111,9 @@ --theme-text: #374151; --theme-border: #d1d5db; /* 优雅:更大圆角与柔和阴影 */ - --ui-radius: 12px; - --ui-button-radius: 12px; - --ui-card-radius: 14px; + --ui-radius: 10px; + --ui-button-radius: 10px; + --ui-card-radius: 12px; --ui-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); } @@ -160,13 +160,13 @@ } /* 按钮采用按钮圆角,保持各主题观感统一 */ -button, +/* button, [role="button"] { border-radius: var(--ui-button-radius); -} +} */ /* 常见圆角工具类在不同主题下的“风格化”提升 */ -:where(.theme-classic) .rounded-lg, +/* :where(.theme-classic) .rounded-lg, :where(.theme-classic) .rounded-xl { border-radius: var(--ui-card-radius); } :where(.theme-elegant) .rounded-md { border-radius: var(--ui-button-radius); } @@ -175,4 +175,4 @@ button, :where(.theme-minimal) .rounded-md { border-radius: var(--ui-radius); } :where(.theme-minimal) .rounded-lg { border-radius: calc(var(--ui-radius) + 2px); } -:where(.theme-minimal) .rounded-xl { border-radius: calc(var(--ui-radius) + 4px); } +:where(.theme-minimal) .rounded-xl { border-radius: calc(var(--ui-radius) + 4px); } */