From d15038912cf8bd05fdbdd5355941b3cdc6118d39 Mon Sep 17 00:00:00 2001 From: zyycn Date: Sun, 26 Jul 2026 04:34:57 +0800 Subject: [PATCH] feat(ui): replace product branding icon Use the new product mark across the favicon, login panel, and sidebar with a consistent dark brand background and cache-busted browser icon. Co-authored-by: Codex --- frontend/index.html | 2 +- frontend/public/favicon.svg | 14 +++++++------- frontend/src/layout/components/AppSidebar.vue | 10 +++++++--- frontend/src/styles/tokens.css | 1 + frontend/src/views/login/components/LoginPanel.vue | 9 +++++++-- frontend/src/views/login/index.vue | 4 ++-- 6 files changed, 25 insertions(+), 15 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index e52563499..eb31d792f 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -6,7 +6,7 @@ name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" /> - + Codex Proxy RS diff --git a/frontend/public/favicon.svg b/frontend/public/favicon.svg index 066717a38..f6c1d326a 100644 --- a/frontend/public/favicon.svg +++ b/frontend/public/favicon.svg @@ -1,9 +1,9 @@ - - - - - - - + + Codex Proxy + + + + + diff --git a/frontend/src/layout/components/AppSidebar.vue b/frontend/src/layout/components/AppSidebar.vue index c0dfcceda..ee438f9f6 100644 --- a/frontend/src/layout/components/AppSidebar.vue +++ b/frontend/src/layout/components/AppSidebar.vue @@ -1,7 +1,6 @@ -import { ArrowRight, Cat, CircleAlert, Eye, EyeOff, KeyRound, Mail, Moon, Sun } from '@lucide/vue' +import { ArrowRight, CircleAlert, Eye, EyeOff, KeyRound, Mail, Moon, Sun } from '@lucide/vue' import { computed, shallowRef } from 'vue' import BaseButton from '@/components/base/BaseButton.vue' @@ -58,7 +58,12 @@ function togglePasswordVisible(): void {
{ --login-form-bg-c: color-mix(in srgb, var(--cp-bg-muted) 78%, var(--cp-info-bg)); --login-form-shadow: color-mix(in srgb, var(--cp-text-primary) 20%, transparent); --login-form-line: color-mix(in srgb, var(--cp-info-border) 54%, transparent); - --login-logo-bg: color-mix(in srgb, var(--cp-info-bg) 74%, var(--cp-bg-surface)); + --login-logo-bg: var(--cp-brand-mark-bg); --login-logo-text: var(--cp-accent-primary); --login-title: var(--cp-text-primary); --login-brand-title: var(--cp-text-strong); @@ -159,7 +159,7 @@ async function handleSubmit(): Promise { --login-form-bg-c: color-mix(in srgb, var(--cp-bg-page) 90%, transparent); --login-form-shadow: color-mix(in srgb, var(--cp-bg-dark) 70%, transparent); --login-form-line: color-mix(in srgb, var(--cp-info-text) 66%, transparent); - --login-logo-bg: color-mix(in srgb, var(--cp-bg-surface) 84%, transparent); + --login-logo-bg: var(--cp-brand-mark-bg); --login-logo-text: var(--cp-info-text); --login-title: var(--cp-text-strong); --login-brand-title: var(--cp-white);