style: 默认主题色修改为#1677FF(antd主题色)

This commit is contained in:
dap
2025-08-05 17:47:18 +08:00
parent 0459047ab7
commit dcd6afb6af
8 changed files with 32 additions and 27 deletions

View File

@@ -1,9 +1,10 @@
:root {
/** 弹出层的基础层级 **/
--popup-z-index: 2000;
--font-family: -apple-system, blinkmacsystemfont, 'Segoe UI', roboto,
'Helvetica Neue', arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
--font-family:
-apple-system, blinkmacsystemfont, 'Segoe UI', roboto, 'Helvetica Neue',
arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
'Segoe UI Symbol', 'Noto Color Emoji';
/* Default background color of <body />...etc */
--background: 0 0% 100%;
@@ -30,7 +31,7 @@
/* 主题颜色 */
--primary: 212 100% 45%;
--primary: 215 100% 54%;
--primary-foreground: 0 0% 98%;
/* Used for destructive actions such as <Button variant="destructive"> */

View File

@@ -108,7 +108,7 @@ exports[`defaultPreferences immutability test > should not modify the config obj
"theme": {
"builtinType": "default",
"colorDestructive": "hsl(348 100% 61%)",
"colorPrimary": "hsl(212 100% 45%)",
"colorPrimary": "hsl(215 100% 54%)",
"colorSuccess": "hsl(144 57% 58%)",
"colorWarning": "hsl(42 84% 61%)",
"mode": "dark",

View File

@@ -109,7 +109,7 @@ const defaultPreferences: Preferences = {
theme: {
builtinType: 'default',
colorDestructive: 'hsl(348 100% 61%)',
colorPrimary: 'hsl(212 100% 45%)',
colorPrimary: 'hsl(215 100% 54%)',
colorSuccess: 'hsl(144 57% 58%)',
colorWarning: 'hsl(42 84% 61%)',
mode: 'auto',

View File

@@ -9,7 +9,7 @@ interface BuiltinThemePreset {
const BUILT_IN_THEME_PRESETS: BuiltinThemePreset[] = [
{
color: 'hsl(212 100% 45%)',
color: 'hsl(215 100% 54%)',
type: 'default',
},
{