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` 的 `