<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="utf-8"><title>Diff</title>
<link rel="stylesheet" href="../../assets/fonts.css">
<link rel="stylesheet" href="../../assets/base.css">
<link rel="stylesheet" id="theme-link" href="../../assets/themes/minimal-white.css">
<link rel="stylesheet" href="../../assets/animations/animations.css">
<style>
.diff{font-family:var(--font-mono);font-size:14px;line-height:1.6;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border)}
.diff .ln{display:block;padding:2px 16px;white-space:pre}
.diff .add{background:rgba(26,175,108,.12);color:var(--good)}
.diff .del{background:rgba(224,68,90,.12);color:var(--bad)}
.diff .ctx{color:var(--text-2)}
.diff .hd{background:var(--surface-2);color:var(--text-3);padding:8px 16px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid var(--border)}
</style>
</head><body class="single">
<div class="deck"><section class="slide is-active" data-title="Diff">
  <p class="kicker">Before / After</p>
  <h2 class="h2">一次迁移到 tokens 后</h2>
  <div class="card diff mt-l" style="padding:0">
    <div class="hd">assets/components/card.css</div>
    <span class="ln ctx">.card {</span>
    <span class="ln del">-  background: #ffffff;</span>
    <span class="ln del">-  color: #0c0d10;</span>
    <span class="ln del">-  border-radius: 18px;</span>
    <span class="ln del">-  box-shadow: 0 10px 30px rgba(18,24,40,.08);</span>
    <span class="ln add">+  background: var(--surface);</span>
    <span class="ln add">+  color: var(--text-1);</span>
    <span class="ln add">+  border-radius: var(--radius);</span>
    <span class="ln add">+  box-shadow: var(--shadow);</span>
    <span class="ln ctx">}</span>
  </div>
  <p class="dim mt-m">24 个主题从此只需改 variables——其他 0 改动。</p>
</section></div>
<script src="../../assets/runtime.js"></script>
</body></html>
