feat(theme): 暗黑模式 Phase 2 批次 2 — services/service-detail/solution-value token 化
将 services-content-v3(7 处)、service-detail-content-v4(7 处)、 solution-value(1 处)的浅色 bg-white 全部迁移到 bg-bg-primary。 浅色下值完全等价(#FFFFFF)→ 浅色视觉零差异;dark 下随 token 自动 反色为 #0A0E14,section 间 bg-bg-secondary 层次交替保留。 【变更】 - services-content-v3.tsx(7 处):Hero + section + 卡片×3 + main wrapper (含卡片条件 className 中两个 bg-white 分支) - service-detail-content-v4.tsx(7 处):Hero + FeaturesSection + 卡片×3 + CasesSection + main wrapper - solution-value.tsx(1 处):共享 section 组件 【验证】 - type-check 0 / lint 0 errors(127 warnings 既有) - jest 128 suites / 1623 passed - 视觉回归 22 passed(含 /services 与 /services/software 浅色快照零 diff) - computed-style 一次性脚本验证(已删除): dark: /services 与 /services/software 的 html/body/header → #0A0E14 section 层次 [primary, secondary, primary, secondary] 自动反色正确 light: 零深色残留 【Phase 2 剩余批次】 - 批次 3:product-detail-content-v3 + products/standalone + detail-hero 共享组件 - 批次 4:admin 全量(user决策:参与暗黑)
This commit is contained in:
@@ -15,7 +15,7 @@ interface SolutionValueSectionProps {
|
||||
|
||||
export function SolutionValueSection({ solution }: SolutionValueSectionProps) {
|
||||
return (
|
||||
<section className="relative bg-white py-20 sm:py-28 md:py-36 overflow-hidden">
|
||||
<section className="relative bg-bg-primary py-20 sm:py-28 md:py-36 overflow-hidden">
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10 relative">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 32 }}
|
||||
|
||||
Reference in New Issue
Block a user