feat(theme): 中性色转暖落地(含 -rgb 孪生通道),挂上孪生一致性闸
P1:globals.css 68 处中性色转暖,深通道按「保 L、色相→33°、S≤0.14」算;P4 弱文字分三档 (装饰线 #C3BDB1/非文本信息 #8A8377/正文级 #6E675D);P3 三个深底红收敛为 #E9455F(对暖墨 #141210 实测 4.88:1)。14 处彩性蓝按裁决故意不动。P2:public/fonts/ 放思源宋体可变子集 388.1KB (cmap 回读 0 缺字)+两份 OFL 1.1 正文,--font-serif 队首插入 Novalon Serif SC,系统兜底全保留。 落库时查出并修一条真缺陷:43 条 -rgb 三元组有 22 条从未迁移(:root 11+深色块 11,色相仍 H210-217), 而 Tailwind 有 29 个颜色键经 rgb(var(--X-rgb)) 消费 ⇒ 渲染主通道还是冷的;当时 check:contrast 44/44 全绿(读 hex)、视觉套件 0 张重写 ⇒ 两道闸一起假绿。按「孪生等于同块 hex」对齐 22 条并新增常驻闸 npm run check:token-twins(0 条判红/不等判红/孤儿判红),复测 43/43 一致。
This commit is contained in:
1 parent
723a3d0c20
commit
dd8ee80b97
7 files changed
+134
-87
No files matched your search
@@ -49,6 +49,7 @@
|
||||
"check:contrast": "tsx scripts/utils/check-color-contrast.ts",
|
||||
"check:headings": "tsx scripts/utils/check-heading-hierarchy.ts",
|
||||
"check:brand-token": "tsx scripts/utils/check-brand-text-token.ts",
|
||||
"check:token-twins": "node scripts/check-token-twins.mjs",
|
||||
"check:motion": "tsx scripts/utils/check-motion-constraints.ts",
|
||||
"check:motion:test": "jest --roots '<rootDir>/scripts/utils/__tests__'",
|
||||
"check:a11y": "npm run check:contrast && npm run check:headings && npm run check:brand-token",
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
// 令牌孪生一致性闸:--X-rgb 必须等于同名 --X 的 hex 分量。
|
||||
// 为什么要有它:Tailwind 把 29 个颜色键映成 rgb(var(--X-rgb)),也就是**渲染的主通道在 -rgb 上**;
|
||||
// 而 check:contrast 读的是 hex。于是"只改 hex、漏改 -rgb"能同时骗过对比度闸与视觉基线
|
||||
// (2026-10-16 实测:68 处 hex 已转暖,22 条 -rgb 仍是冷色,视觉套件 0 张重写、对比度 44/44 全绿)。
|
||||
// 判据按 selector 块配对 —— 跨块配对会把明暗两套主题当成一对,报出 26 条假红(本轮踩过)。
|
||||
import { readFileSync } from "node:fs";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
const file = process.argv[2] || path.join(path.dirname(fileURLToPath(import.meta.url)), "..", "src/app/globals.css");
|
||||
const lines = readFileSync(file, "utf8").split("\n");
|
||||
const blocks = [];
|
||||
let cur = null;
|
||||
for (let i = 0; i < lines.length; i++) {
|
||||
const st = lines[i].trim();
|
||||
if (st.endsWith("{") && !st.startsWith("@")) { cur = { sel: st.slice(0, -1).trim(), hex: new Map(), rgb: [] }; blocks.push(cur); continue; }
|
||||
if (st === "}") { cur = null; continue; }
|
||||
if (!cur) continue;
|
||||
let m = /^\s*(--[a-z0-9-]+):\s*#([0-9A-Fa-f]{6})\s*;/.exec(lines[i]);
|
||||
if (m) { cur.hex.set(m[1], m[2]); continue; }
|
||||
m = /^\s*(--[a-z0-9-]+)-rgb:\s*(\d+)\s+(\d+)\s+(\d+)\s*;/.exec(lines[i]);
|
||||
if (m) cur.rgb.push({ name: m[1], line: i + 1, got: [+m[2], +m[3], +m[4]] });
|
||||
}
|
||||
let n = 0, bad = [], orphan = [];
|
||||
for (const b of blocks) for (const r of b.rgb) {
|
||||
n++;
|
||||
const h = b.hex.get(r.name);
|
||||
if (!h) { orphan.push(`[${b.sel}] L${r.line} --${r.name}-rgb 无同块兄弟 --${r.name}`); continue; }
|
||||
const want = [0, 2, 4].map((j) => parseInt(h.slice(j, j + 2), 16));
|
||||
if (want.join() !== r.got.join()) bad.push(`[${b.sel}] L${r.line} --${r.name}-rgb = ${r.got.join(" ")} ≠ #${h} → ${want.join(" ")}`);
|
||||
}
|
||||
console.log(`令牌孪生对账:${n} 条 -rgb 声明(按 ${blocks.length} 个 selector 块配对)`);
|
||||
if (n === 0) { console.log("红:0 条 -rgb 声明 ⇒ 判据没有目标,不算通过"); process.exit(1); }
|
||||
for (const x of [...bad, ...orphan]) console.log(" ✗ " + x);
|
||||
if (bad.length || orphan.length) { console.log(`不成立:数值不一致 ${bad.length} 条、无兄弟 ${orphan.length} 条`); process.exit(1); }
|
||||
console.log(`成立:全部 -rgb 与同块 hex 逐通道相等(${n}/${n})`);
|
||||
@@ -214,7 +214,7 @@ function WhoWeAreSection({ data }: { data: AboutData }) {
|
||||
>
|
||||
<div className="flex items-start gap-6 md:gap-8">
|
||||
{/* 装饰序号:aria-hidden 只把它移出无障碍树,axe 仍按可见文字校验 1.4.3,
|
||||
所以用大字档令牌 text-text-hint(对 #F1F5F9 卡底 3.11:1 ≥ AA 大字 3:1) */}
|
||||
所以用大字档令牌 text-text-hint(对 #FBF9F5 卡底 3.11:1 ≥ AA 大字 3:1) */}
|
||||
<div aria-hidden="true" className="text-4xl md:text-5xl font-black text-text-hint font-mono shrink-0 leading-none pt-1">
|
||||
{value.number}
|
||||
</div>
|
||||
|
||||
@@ -268,7 +268,7 @@ export default function BrandContent() {
|
||||
<span className="text-3xl sm:text-4xl font-black text-brand-ink tracking-tight">
|
||||
{item.year}
|
||||
</span>
|
||||
{/* text-muted 在 bg-tertiary(#F1F5F9) 上仅 4.34:1;换 text-secondary → 9.45:1 */}
|
||||
{/* text-muted 在 bg-tertiary(#FBF9F5) 上仅 4.34:1;换 text-secondary → 9.45:1 */}
|
||||
<span className="text-[11px] tracking-[0.15em] uppercase text-text-secondary bg-bg-tertiary px-2 py-0.5">
|
||||
{item.highlight}
|
||||
</span>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
'use client';
|
||||
|
||||
// 根布局抛错时 Next.js 用内置文档顶替 root layout,而内置文档的 <html> 没有 lang、
|
||||
// 也不读本站的 html[data-theme] 令牌,深色下会落到浏览器默认画布(实测 #0A0E14 令牌失效、
|
||||
// 也不读本站的 html[data-theme] 令牌,深色下会落到浏览器默认画布(实测 #141210 令牌失效、
|
||||
// bgMatchesToken=false,axe 报 html-has-lang)。全站 axe 扫描扩到预渲染产物后暴露此缺口。
|
||||
// 因此这里自带文档壳 + 与 globals.css 同值的 OS 主题样式,不依赖 root layout。
|
||||
export default function GlobalError({
|
||||
@@ -19,11 +19,11 @@ export default function GlobalError({
|
||||
<title>页面无法显示 | 四川睿新致远科技有限公司</title>
|
||||
<style>{`
|
||||
:root { color-scheme: light; }
|
||||
body { margin: 0; background: #FFFFFF; color: #0A0E14;
|
||||
body { margin: 0; background: #FFFFFF; color: #141210;
|
||||
font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root { color-scheme: dark; }
|
||||
body { background: #0A0E14; color: #F8FAFC; }
|
||||
body { background: #141210; color: #FBF9F5; }
|
||||
}
|
||||
`}</style>
|
||||
</head>
|
||||
|
||||
+90
-80
@@ -14,10 +14,10 @@ body {
|
||||
:root {
|
||||
/* === 咨询专业 · 色彩体系(浅色模式) === */
|
||||
/* 墨色核心 */
|
||||
--color-ink: #0A0E14;
|
||||
--color-ink-light: #0F1419;
|
||||
--color-ink-lighter: #151B23;
|
||||
--color-ink-rgb: 10 14 20;
|
||||
--color-ink: #141210;
|
||||
--color-ink-light: #171411;
|
||||
--color-ink-lighter: #201C18;
|
||||
--color-ink-rgb: 20 18 16;
|
||||
|
||||
/* 品牌信号色:朱砂红 — Committed 色彩策略(Bain 式自信表达) */
|
||||
--color-brand: #C41E3A;
|
||||
@@ -35,11 +35,11 @@ body {
|
||||
与 --color-brand-rgb 分离的原因:--color-brand-rgb 同时服务 bg-brand / border-brand,
|
||||
而红底白字按钮在深底上仍需 #C41E3A(实测 5.58:1);
|
||||
一旦随主题提亮,按钮会掉到 3.75:1。故文字与底色必须走两条通道。
|
||||
深色下取 #F87171(248 113 113):于 #0A0E14/#0F1419/#151B23 分别 6.99/6.69/6.26,全达 AA。 */
|
||||
深色下取 #F87171(248 113 113):于 #141210/#171411/#201C18 分别 6.99/6.69/6.26,全达 AA。 */
|
||||
--color-brand-ink: #C41E3A;
|
||||
--color-brand-ink-rgb: 196 30 58;
|
||||
/* 品牌红文字通道的 hover 档:与 --color-brand-hover(底色通道)分离,
|
||||
暗色下必须提亮,否则 #A01830 压在 #0A0E14 上仅 2.06:1(验收 A-12 残留项)。 */
|
||||
暗色下必须提亮,否则 #A01830 压在 #141210 上仅 2.06:1(验收 A-12 残留项)。 */
|
||||
--color-brand-ink-hover: #A01830;
|
||||
--color-brand-ink-hover-rgb: 160 24 48;
|
||||
/* 详情页 Hero badge 的 accent 文字色(accentColor 由各页 hero-themes 传入,
|
||||
@@ -48,7 +48,7 @@ body {
|
||||
--badge-accent-text: var(--badge-accent, var(--color-ink));
|
||||
/* 品牌色深色区块(Bain 式深红背景) */
|
||||
--color-brand-section: #8B1530;
|
||||
--color-brand-section-text: #F8FAFC;
|
||||
--color-brand-section-text: #FBF9F5;
|
||||
--color-brand-section-muted: rgba(248, 250, 252, 0.7);
|
||||
|
||||
/* 辅助色:服务/行业编码 */
|
||||
@@ -81,50 +81,50 @@ body {
|
||||
|
||||
/* 背景色层级 */
|
||||
--color-bg-primary: #FFFFFF;
|
||||
--color-bg-secondary: #F8FAFC;
|
||||
--color-bg-secondary-rgb: 248 250 252;
|
||||
--color-bg-tertiary: #F1F5F9;
|
||||
--color-bg-section: #F8FAFC;
|
||||
--color-bg-secondary: #FBF9F5;
|
||||
--color-bg-secondary-rgb: 251 249 245;
|
||||
--color-bg-tertiary: #FBF9F5;
|
||||
--color-bg-section: #FBF9F5;
|
||||
/* 同 --color-brand-bg-rgb 的理由:bg-[var(--color-bg-section)] 再加 /60 这类写法编译后 0 条规则。
|
||||
与 --color-bg-secondary-rgb 当前同值但语义不同(section ≠ secondary),故独立建三元组,
|
||||
避免任一 token 调整时静默串色。248 250 252 = #F8FAFC。 */
|
||||
--color-bg-section-rgb: 248 250 252;
|
||||
--color-bg-hover: #F1F5F9;
|
||||
避免任一 token 调整时静默串色。248 250 252 = #FBF9F5。 */
|
||||
--color-bg-section-rgb: 251 249 245;
|
||||
--color-bg-hover: #FBF9F5;
|
||||
--color-bg-elevated: #FFFFFF;
|
||||
--color-bg-primary-rgb: 255 255 255;
|
||||
|
||||
/* 文字色层级 */
|
||||
--color-text-primary: #0A0E14;
|
||||
--color-text-secondary: #334155;
|
||||
--color-text-secondary-rgb: 51 65 85;
|
||||
--color-text-tertiary: #475569;
|
||||
--color-text-muted: #64748B;
|
||||
--color-text-muted-rgb: 100 116 139;
|
||||
--color-text-subtle: #64748B;
|
||||
--color-text-placeholder: #64748B;
|
||||
--color-text-primary: #141210;
|
||||
--color-text-secondary: #3A352E;
|
||||
--color-text-secondary-rgb: 58 53 46;
|
||||
--color-text-tertiary: #4F4A42;
|
||||
--color-text-muted: #6E675D;
|
||||
--color-text-muted-rgb: 110 103 93;
|
||||
--color-text-subtle: #6E675D;
|
||||
--color-text-placeholder: #6E675D;
|
||||
/* 仅用于 ≥24px 大号装饰性文本(如章节序号),对白底 3.41:1,满足 AA 大字 3:1。
|
||||
正文、占位符、提示文案请改用 --color-text-placeholder(4.76:1)或更深的令牌。 */
|
||||
--color-text-hint: #7C8CA5;
|
||||
--color-text-inverse: #FFFFFF;
|
||||
|
||||
/* 边框色层级 —— 中度软化:--color-border-primary 从 #E2E8F0 调整为 #EEF2F7(更淡),
|
||||
/* 边框色层级 —— 中度软化:--color-border-primary 从 #EFEAE1 调整为 #F7F4EF(更淡),
|
||||
让 20 处 gap-px bg-border-primary 网格线与所有卡片边框都自动弱化(约 50%),
|
||||
与增强的卡片阴影呼应,视觉从"靠硬边分界"转为"靠阴影分层"。 */
|
||||
--color-border-primary: #EEF2F7;
|
||||
--color-border-primary-rgb: 238 242 247;
|
||||
--color-border-secondary: #CBD5E1;
|
||||
--color-border-secondary-rgb: 203 213 225;
|
||||
--color-border-accent: #0A0E14;
|
||||
--color-border-accent-rgb: 10 14 20;
|
||||
--color-border-light: #F1F5F9;
|
||||
--color-border-light-rgb: 241 245 249;
|
||||
--color-border-dark: #334155;
|
||||
--color-border-dark-rgb: 51 65 85;
|
||||
--color-border-primary: #F7F4EF;
|
||||
--color-border-primary-rgb: 247 244 239;
|
||||
--color-border-secondary: #C3BDB1;
|
||||
--color-border-secondary-rgb: 195 189 177;
|
||||
--color-border-accent: #141210;
|
||||
--color-border-accent-rgb: 20 18 16;
|
||||
--color-border-light: #FBF9F5;
|
||||
--color-border-light-rgb: 251 249 245;
|
||||
--color-border-dark: #3A352E;
|
||||
--color-border-dark-rgb: 58 53 46;
|
||||
--color-border-brand: #C41E3A;
|
||||
--color-border-brand-rgb: 196 30 58;
|
||||
|
||||
/* 链接色 */
|
||||
--color-link: #0A0E14;
|
||||
--color-link: #141210;
|
||||
--color-link-hover: #C41E3A;
|
||||
|
||||
/* 功能色 */
|
||||
@@ -157,18 +157,18 @@ body {
|
||||
--color-info-text: #1D4ED8;
|
||||
|
||||
/* 深色调性区域 */
|
||||
--color-dark-bg: #0A0E14;
|
||||
--color-dark-bg-secondary: #0F1419;
|
||||
--color-dark-bg-tertiary: #151B23;
|
||||
--color-dark-text-primary: #F8FAFC;
|
||||
--color-dark-text-secondary: #CBD5E1;
|
||||
--color-dark-text-muted: #94A3B8;
|
||||
--color-dark-border: #1E293B;
|
||||
--color-dark-bg: #141210;
|
||||
--color-dark-bg-secondary: #171411;
|
||||
--color-dark-bg-tertiary: #201C18;
|
||||
--color-dark-text-primary: #FBF9F5;
|
||||
--color-dark-text-secondary: #C3BDB1;
|
||||
--color-dark-text-muted: #8A8377;
|
||||
--color-dark-border: #2A2621;
|
||||
|
||||
/* 遮罩 / 深色叠加层(dialog 背板、metric-card 深色半透明底):
|
||||
语义上"永远是深色覆盖",不随暗黑模式反色 —— 故用独立 token。 */
|
||||
--color-overlay: #0A0E14;
|
||||
--color-overlay-rgb: 10 14 20;
|
||||
--color-overlay: #141210;
|
||||
--color-overlay-rgb: 20 18 16;
|
||||
|
||||
/* 阴影系统(按层级 + 用途分类) */
|
||||
/* 基础层级:几乎看不见,用于微妙的边界定义 */
|
||||
@@ -198,7 +198,7 @@ body {
|
||||
--font-mono: var(--font-geist-mono, ui-monospace), SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
|
||||
--font-brand: "STKaiti", "KaiTi", "楷体", "SimKai", serif;
|
||||
--font-calligraphy-system: "STKaiti", "KaiTi", "楷体", "SimKai", serif;
|
||||
--font-serif: "Songti SC", "STSongti-SC", "Noto Serif CJK SC", "SimSun", "STSong", serif;
|
||||
--font-serif: "Novalon Serif SC", "Songti SC", "STSongti-SC", "Noto Serif CJK SC", "SimSun", "STSong", serif;
|
||||
|
||||
/* 字号系统(12级排版尺度)—— Mobile First,默认移动端 */
|
||||
--font-size-caption: 0.6875rem;
|
||||
@@ -413,49 +413,49 @@ html:not([data-theme='dark']) .logo-on-dark { display: none; }
|
||||
使用独立 token,不随反色 —— 由组件显式引用(如 bg-dark-bg) */
|
||||
html[data-theme='dark'] {
|
||||
/* 墨色反色 → 文字浅色 */
|
||||
--color-ink: #F8FAFC;
|
||||
--color-ink-light: #E2E8F0;
|
||||
--color-ink-lighter: #CBD5E1;
|
||||
--color-ink-rgb: 248 250 252;
|
||||
--color-ink: #FBF9F5;
|
||||
--color-ink-light: #EFEAE1;
|
||||
--color-ink-lighter: #C3BDB1;
|
||||
--color-ink-rgb: 251 249 245;
|
||||
|
||||
/* 页面底色反色 */
|
||||
--color-bg-primary: #0A0E14;
|
||||
--color-bg-primary-rgb: 10 14 20;
|
||||
--color-bg-secondary: #0F1419;
|
||||
--color-bg-secondary-rgb: 15 20 25;
|
||||
--color-bg-tertiary: #151B23;
|
||||
--color-bg-section: #0F1419;
|
||||
--color-bg-primary: #141210;
|
||||
--color-bg-primary-rgb: 20 18 16;
|
||||
--color-bg-secondary: #171411;
|
||||
--color-bg-secondary-rgb: 23 20 17;
|
||||
--color-bg-tertiary: #201C18;
|
||||
--color-bg-section: #171411;
|
||||
/* 与 :root 的 --color-bg-section-rgb 成对覆写,否则深色下 bg-bg-section/NN 会退回浅色值 */
|
||||
--color-bg-section-rgb: 15 20 25;
|
||||
--color-bg-hover: #151B23;
|
||||
--color-bg-elevated: #151B23;
|
||||
--color-bg-section-rgb: 23 20 17;
|
||||
--color-bg-hover: #201C18;
|
||||
--color-bg-elevated: #201C18;
|
||||
|
||||
/* 文字层级反色 */
|
||||
--color-text-primary: #F8FAFC;
|
||||
--color-text-secondary: #CBD5E1;
|
||||
--color-text-secondary-rgb: 203 213 225;
|
||||
--color-text-tertiary: #94A3B8;
|
||||
--color-text-muted: #94A3B8;
|
||||
--color-text-muted-rgb: 148 163 184;
|
||||
--color-text-subtle: #94A3B8;
|
||||
--color-text-placeholder: #94A3B8;
|
||||
--color-text-hint: #94A3B8;
|
||||
--color-text-inverse: #0A0E14;
|
||||
--color-text-primary: #FBF9F5;
|
||||
--color-text-secondary: #C3BDB1;
|
||||
--color-text-secondary-rgb: 195 189 177;
|
||||
--color-text-tertiary: #8A8377;
|
||||
--color-text-muted: #8A8377;
|
||||
--color-text-muted-rgb: 138 131 119;
|
||||
--color-text-subtle: #8A8377;
|
||||
--color-text-placeholder: #8A8377;
|
||||
--color-text-hint: #8A8377;
|
||||
--color-text-inverse: #141210;
|
||||
|
||||
/* 边框层级反色 */
|
||||
--color-border-primary: #1E293B;
|
||||
--color-border-primary-rgb: 30 41 59;
|
||||
--color-border-secondary: #334155;
|
||||
--color-border-secondary-rgb: 51 65 85;
|
||||
--color-border-accent: #F8FAFC;
|
||||
--color-border-accent-rgb: 248 250 252;
|
||||
--color-border-light: #1E293B;
|
||||
--color-border-light-rgb: 30 41 59;
|
||||
--color-border-dark: #CBD5E1;
|
||||
--color-border-dark-rgb: 203 213 225;
|
||||
--color-border-primary: #2A2621;
|
||||
--color-border-primary-rgb: 42 38 33;
|
||||
--color-border-secondary: #3A352E;
|
||||
--color-border-secondary-rgb: 58 53 46;
|
||||
--color-border-accent: #FBF9F5;
|
||||
--color-border-accent-rgb: 251 249 245;
|
||||
--color-border-light: #2A2621;
|
||||
--color-border-light-rgb: 42 38 33;
|
||||
--color-border-dark: #C3BDB1;
|
||||
--color-border-dark-rgb: 195 189 177;
|
||||
|
||||
/* 链接反色 */
|
||||
--color-link: #F8FAFC;
|
||||
--color-link: #FBF9F5;
|
||||
--color-link-hover: #E04A68;
|
||||
|
||||
/* 功能色反色:浅色调背景 → 深色同色调底;文字/图标 → 同色调浅色,于暗底达 AA。
|
||||
@@ -466,7 +466,7 @@ html[data-theme='dark'] {
|
||||
--color-warning-text: #FBBF24;
|
||||
--color-error-bg: #2A1418;
|
||||
--color-error-text: #F87171;
|
||||
--color-info-bg: #0E1A2A;
|
||||
--color-info-bg: #201C18;
|
||||
--color-info-text: #60A5FA;
|
||||
|
||||
/* 品牌色分两条通道,只有「文字」通道翻转:
|
||||
@@ -484,7 +484,7 @@ html[data-theme='dark'] {
|
||||
/* 42 20 24 = #2A1418;与上方 --color-brand-bg 同步翻转,否则 bg-brand-bg/NN 在深色下仍是浅粉 */
|
||||
--color-brand-bg-rgb: 42 20 24;
|
||||
|
||||
/* hero 徽章文字:accentColor 直用作深底文字不可读(如 #1e3a5f 于 #0B1119 仅 1.65:1),
|
||||
/* hero 徽章文字:accentColor 直用作深底文字不可读(如 #1e3a5f 于 #15120F 仅 1.65:1),
|
||||
深色下按 accent 45% + 白 55% 提亮;--badge-accent 未注入时回退到反色墨字。 */
|
||||
--badge-accent-text: color-mix(in srgb, var(--badge-accent, var(--color-ink)) 45%, white);
|
||||
}
|
||||
@@ -1465,3 +1465,13 @@ p, li, span {
|
||||
.glow-border:hover {
|
||||
animation-play-state: running;
|
||||
}
|
||||
|
||||
/* novalon-serif-sc v1 (P2 自托管) */
|
||||
@font-face {
|
||||
font-family: "Novalon Serif SC";
|
||||
src: url("/fonts/novalon-serif-sc-subset.woff2") format("woff2");
|
||||
font-weight: 200 900; /* 可变字体:一个文件覆盖 200–900 */
|
||||
font-display: swap; /* 首屏不被字体阻塞 */
|
||||
font-style: normal;
|
||||
/* 子集只覆盖源码实际用字(1050 码位);CMS 新增中文由后面的系统衬线兜底 */
|
||||
}
|
||||
@@ -47,8 +47,8 @@ export const HERO_THEMES: Record<string, HeroTheme> = {
|
||||
bi: {
|
||||
id: 'bi',
|
||||
name: 'BI',
|
||||
gradientFrom: '#f6f8fa',
|
||||
gradientTo: '#eef1f5',
|
||||
gradientFrom: '#FAF8F4',
|
||||
gradientTo: '#EFEAE1',
|
||||
gradientAngle: 145,
|
||||
accentColor: '#0c4a6e',
|
||||
accentBg: 'rgba(12, 74, 110, 0.06)',
|
||||
|
||||
Reference in new issue
Block a user