From 50552b563e453bfc92a55b2c2f4577d089c58899 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 25 Jun 2026 16:56:21 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=9B=BD=E8=81=98=E7=BA=A2=E6=8D=A2?= =?UTF-8?q?=E8=82=A4=E5=AE=9E=E6=96=BD=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- .../plans/2026-06-25-guopin-red-theme.md | 529 ++++++++++++++++++ 1 file changed, 529 insertions(+) create mode 100644 docs/superpowers/plans/2026-06-25-guopin-red-theme.md diff --git a/docs/superpowers/plans/2026-06-25-guopin-red-theme.md b/docs/superpowers/plans/2026-06-25-guopin-red-theme.md new file mode 100644 index 0000000..ae4d22d --- /dev/null +++ b/docs/superpowers/plans/2026-06-25-guopin-red-theme.md @@ -0,0 +1,529 @@ +# 国聘红 · 国企风格全站换肤 Implementation Plan + +> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. + +**Goal:** 将 offer_frontend 前端从"黑金 + Element Plus 默认蓝"换肤为"国聘红 + 白底"国企风格,全站统一,不改任何功能/结构/接口。 + +**Architecture:** 在 `src/style.css` 定义全局 CSS 令牌并覆盖 Element Plus 主色变量(`--el-color-primary` 系列),使全站 `type="primary"` 组件自动变红;再逐文件把硬编码的黑/金/蓝替换为令牌引用。纯样式改造,零逻辑变更。 + +**Tech Stack:** Vue 3 + Vite + Element Plus 2.x(CSS 变量覆盖,不引入 SCSS)。 + +## Global Constraints + +- 不改任何 `.vue` 的 `