File size: 803 Bytes
ef987bb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!doctype html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <title>Answer Theme Toggle Fixture</title>
  <style>

    :root { --bg: #ffffff; --fg: #111827; --panel: #f3f4f6; }

    body { margin: 0; padding: 24px; font-family: Arial, sans-serif; background: var(--bg); color: var(--fg); }

    .panel { background: var(--panel); color: var(--fg); padding: 16px; margin: 12px 0; border: 1px solid #ddd; }

  </style>
</head>
<body>
  <header><button data-testid="theme-toggle">主题切换</button></header>
  <main>
    <section class="panel" data-testid="question-list">Question list</section>
    <section class="panel" data-testid="question-detail">Question detail</section>
    <section class="panel" data-testid="comment-area">Comments</section>
  </main>
</body>
</html>