From 9edb6ebc27d16b2a53a06d9ecd65a1dddbc41b7b Mon Sep 17 00:00:00 2001 From: zyycn Date: Sun, 28 Jun 2026 03:19:22 +0800 Subject: [PATCH] feat: refine web theme experience Co-authored-by: Codex --- web/index.html | 10 ++ web/src/App.vue | 3 + web/src/components/base/BaseScrollbar.vue | 36 ++++- web/src/components/base/BaseTable/index.vue | 4 +- web/src/layout/components/AppSidebar.vue | 45 ++++-- web/src/stores/modules/ui.ts | 152 +++++++++++++++++- web/src/styles/base.css | 41 +++++ web/src/styles/tokens.css | 123 ++++++++++++++ .../accounts/components/AccountUsagePanel.vue | 4 +- .../components/AccountOverviewCard.vue | 8 +- .../components/RequestHealthTimelineCard.vue | 16 +- .../dashboard/components/RequestTrendCard.vue | 53 ++++-- web/src/views/login/index.vue | 115 +++++++++++-- web/src/views/settings/index.vue | 20 +-- 14 files changed, 549 insertions(+), 81 deletions(-) diff --git a/web/index.html b/web/index.html index 4b99e07db..a3c87d88c 100644 --- a/web/index.html +++ b/web/index.html @@ -5,6 +5,16 @@ Codex Proxy RS +
diff --git a/web/src/App.vue b/web/src/App.vue index 1dfbad621..7825528b5 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -2,6 +2,9 @@ import { RouterView } from 'vue-router' import { BaseToast } from '@/components/base/BaseToast' +import { useUiStore } from '@/stores/modules/ui' + +useUiStore().initializeTheme()