feat: 主题色调整

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Hooray
2026-04-23 23:57:18 +08:00
co-authored by Copilot
parent d0dc9275b3
commit 1d86ef87d3
+36 -36
View File
@@ -1,23 +1,23 @@
export const lightTheme = { export const lightTheme = {
// shadcn // shadcn
'--background': '1 0 0', '--background': '1 0 0', // oklch(1 0 0)
'--foreground': '0.141 0.005 285.823', '--foreground': '0.145 0 0', // oklch(0.145 0 0)
'--card': '1 0 0', '--card': '1 0 0', // oklch(1 0 0)
'--card-foreground': '0.141 0.005 285.823', '--card-foreground': '0.145 0 0', // oklch(0.145 0 0)
'--popover': '1 0 0', '--popover': '1 0 0', // oklch(1 0 0)
'--popover-foreground': '0.141 0.005 285.823', '--popover-foreground': '0.145 0 0', // oklch(0.145 0 0)
'--primary': '0.21 0.006 285.885', '--primary': '0.205 0 0', // oklch(0.205 0 0)
'--primary-foreground': '0.985 0 0', '--primary-foreground': '0.985 0 0', // oklch(0.985 0 0)
'--secondary': '0.967 0.001 286.375', '--secondary': '0.97 0 0', // oklch(0.97 0 0)
'--secondary-foreground': '0.21 0.006 285.885', '--secondary-foreground': '0.205 0 0', // oklch(0.205 0 0)
'--muted': '0.967 0.001 286.375', '--muted': '0.97 0 0', // oklch(0.97 0 0)
'--muted-foreground': '0.552 0.016 285.938', '--muted-foreground': '0.556 0 0', // oklch(0.556 0 0)
'--accent': '0.967 0.001 286.375', '--accent': '0.97 0 0', // oklch(0.97 0 0)
'--accent-foreground': '0.21 0.006 285.885', '--accent-foreground': '0.205 0 0', // oklch(0.205 0 0)
'--destructive': '0.577 0.245 27.325', '--destructive': '0.577 0.245 27.325', // oklch(0.577 0.245 27.325)
'--border': '0.92 0.004 286.32', '--border': '0.922 0 0', // oklch(0.922 0 0)
'--input': '0.92 0.004 286.32', '--input': '0.922 0 0', // oklch(0.922 0 0)
'--ring': '0.705 0.015 286.067', '--ring': '0.708 0 0', // oklch(0.708 0 0)
// 主要区域 // 主要区域
'--g-main-area-bg': 'oklch(0.9612 0 0)', '--g-main-area-bg': 'oklch(0.9612 0 0)',
// 头部 // 头部
@@ -55,24 +55,24 @@ export const lightTheme = {
export const darkTheme = { export const darkTheme = {
// shadcn // shadcn
'--background': '0.141 0.005 285.823', '--background': '0.145 0 0', // oklch(0.145 0 0)
'--foreground': '0.985 0 0', '--foreground': '0.985 0 0', // oklch(0.985 0 0)
'--card': '0.21 0.006 285.885', '--card': '0.205 0 0', // oklch(0.205 0 0)
'--card-foreground': '0.985 0 0', '--card-foreground': '0.985 0 0', // oklch(0.985 0 0)
'--popover': '0.21 0.006 285.885', '--popover': '0.205 0 0', // oklch(0.205 0 0)
'--popover-foreground': '0.985 0 0', '--popover-foreground': '0.985 0 0', // oklch(0.985 0 0)
'--primary': '0.92 0.004 286.32', '--primary': '0.922 0 0', // oklch(0.922 0 0)
'--primary-foreground': '0.21 0.006 285.885', '--primary-foreground': '0.205 0 0', // oklch(0.205 0 0)
'--secondary': '0.274 0.006 286.033', '--secondary': '0.269 0 0', // oklch(0.269 0 0)
'--secondary-foreground': '0.985 0 0', '--secondary-foreground': '0.985 0 0', // oklch(0.985 0 0)
'--muted': '0.274 0.006 286.033', '--muted': '0.269 0 0', // oklch(0.269 0 0)
'--muted-foreground': '0.705 0.015 286.067', '--muted-foreground': '0.708 0 0', // oklch(0.708 0 0)
'--accent': '0.274 0.006 286.033', '--accent': '0.269 0 0', // oklch(0.269 0 0)
'--accent-foreground': '0.985 0 0', '--accent-foreground': '0.985 0 0', // oklch(0.985 0 0)
'--destructive': '0.704 0.191 22.216', '--destructive': '0.704 0.191 22.216', // oklch(0.704 0.191 22.216)
'--border': '0.252 0.002 286.27', '--border': '0.252 0 0', // oklch(0.252 0 0)
'--input': '0.341 0 0', '--input': '0.341 0 0', // oklch(0.341 0 0)
'--ring': '0.552 0.016 285.938', '--ring': '0.556 0 0', // oklch(0.556 0 0)
// 主要区域 // 主要区域
'--g-main-area-bg': 'oklch(var(--background))', '--g-main-area-bg': 'oklch(var(--background))',
// 头部 // 头部