diff --git a/.opencode/temp/stats-v2-dark-theme-final.png b/.opencode/temp/stats-v2-dark-theme-final.png new file mode 100644 index 0000000..74033bb Binary files /dev/null and b/.opencode/temp/stats-v2-dark-theme-final.png differ diff --git a/.opencode/temp/stats-v2-dark-theme.png b/.opencode/temp/stats-v2-dark-theme.png new file mode 100644 index 0000000..766122d Binary files /dev/null and b/.opencode/temp/stats-v2-dark-theme.png differ diff --git a/.opencode/temp/stats-v2-light-theme-final.png b/.opencode/temp/stats-v2-light-theme-final.png new file mode 100644 index 0000000..83fa517 Binary files /dev/null and b/.opencode/temp/stats-v2-light-theme-final.png differ diff --git a/.opencode/temp/stats-v2-light-theme.png b/.opencode/temp/stats-v2-light-theme.png new file mode 100644 index 0000000..02d2836 Binary files /dev/null and b/.opencode/temp/stats-v2-light-theme.png differ diff --git a/.opencode/temp/stats-v2-month-tab.png b/.opencode/temp/stats-v2-month-tab.png new file mode 100644 index 0000000..c26d809 Binary files /dev/null and b/.opencode/temp/stats-v2-month-tab.png differ diff --git a/.opencode/temp/stats-v2-week-tab.png b/.opencode/temp/stats-v2-week-tab.png new file mode 100644 index 0000000..130af1e Binary files /dev/null and b/.opencode/temp/stats-v2-week-tab.png differ diff --git a/Web/src/assets/theme.css b/Web/src/assets/theme.css index 8e2aa01..08ca5b3 100644 --- a/Web/src/assets/theme.css +++ b/Web/src/assets/theme.css @@ -79,6 +79,10 @@ /* 边框颜色 */ --border-color: #E5E7EB; + + /* 分段控制器 (Segmented Control) - From .pans/v2.pen NDWwE */ + --segmented-bg: #F4F4F5; + --segmented-active-bg: #FFFFFF; } /* ============ 深色主题 ============ */ @@ -110,6 +114,10 @@ /* 图标色 (深色主题) */ --icon-star: #FF6B6B; --icon-coffee: #FCD34D; + + /* 分段控制器 (Segmented Control) - From .pans/v2.pen NDWwE */ + --segmented-bg: #27272a; + --segmented-active-bg: #3f3f46; } /* ============ 通用工具类 ============ */ diff --git a/Web/src/components/TimePeriodTabs.vue b/Web/src/components/TimePeriodTabs.vue index 2fe5d14..ad5be19 100644 --- a/Web/src/components/TimePeriodTabs.vue +++ b/Web/src/components/TimePeriodTabs.vue @@ -1,4 +1,10 @@ -