Files
zkxw/docs/theme-demos/index.html
T
2026-06-14 17:20:52 +08:00

247 lines
6.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Web 管理端 · 主题色选型(Logo 绿 + 非绿 UI)</title>
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<style>
:root {
--text: #1e293b;
--text-muted: #64748b;
--border: #e2e8f0;
--surface: #fff;
--bg: #f8fafc;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Inter, -apple-system, sans-serif;
font-size: 14px;
line-height: 1.5;
color: var(--text);
background: var(--bg);
padding: 32px 24px 48px;
}
h1 {
margin: 0 0 8px;
font-size: 22px;
}
.lead {
margin: 0 0 12px;
color: var(--text-muted);
max-width: 760px;
}
.hint {
margin: 0 0 28px;
padding: 12px 16px;
max-width: 760px;
border-radius: 10px;
background: #fff;
border: 1px solid var(--border);
font-size: 13px;
color: var(--text-muted);
}
.hint strong {
color: var(--text);
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 16px;
max-width: 1100px;
}
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
padding: 18px;
text-decoration: none;
color: inherit;
transition:
box-shadow 0.2s,
border-color 0.2s;
}
.card:hover {
border-color: #cbd5e1;
box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}
.card h2 {
margin: 0 0 6px;
font-size: 16px;
}
.card p {
margin: 0 0 14px;
font-size: 13px;
color: var(--text-muted);
}
.colors {
display: flex;
gap: 6px;
margin-bottom: 12px;
align-items: center;
}
.colors span {
width: 36px;
height: 36px;
border-radius: 8px;
border: 1px solid rgba(0, 0, 0, 0.06);
}
.colors .logo-chip {
width: auto;
height: auto;
padding: 4px 8px;
font-size: 11px;
font-weight: 600;
background: #ecfdf5;
color: #047857;
border-color: #a7f3d0;
}
.meta {
font-size: 12px;
color: var(--text-muted);
font-family: ui-monospace, monospace;
}
.badge {
display: inline-block;
margin-bottom: 10px;
padding: 2px 8px;
border-radius: 6px;
font-size: 11px;
font-weight: 600;
background: #f1f5f9;
color: #475569;
}
.badge.recommend {
background: #eff6ff;
color: #1d4ed8;
}
.badge.current {
background: #fef2f2;
color: #b91c1c;
}
.footer-links {
margin-top: 32px;
max-width: 760px;
font-size: 13px;
color: var(--text-muted);
}
.footer-links a {
color: #2563eb;
text-decoration: none;
font-weight: 500;
}
.footer-links a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<h1>Web 管理端 · 主题色选型</h1>
<p class="lead">
每套 Demo 均使用<strong>真实绿色 Logo</strong>,UI 主色改为蓝/青/灰等非绿色,便于对比「Logo 绿 +
界面主色」的分层效果。页面含侧栏、列表、Tag、弹窗预览,顶部可一键切换 00~04。
</p>
<p class="hint">
<strong>打开方式:</strong>用浏览器直接打开本目录下的 HTML(建议从
<code>index.html</code> 进入)。路径:<code>docs/theme-demos/</code>
</p>
<div class="grid">
<a class="card" href="00-fresh-mint-clash.html">
<span class="badge current">现状对比</span>
<h2>00 · 现行薄荷绿(Logo 同色)</h2>
<p>Logo 与 UI 都是绿色,层次容易糊在一起。</p>
<div class="colors">
<span class="logo-chip">Logo 绿</span>
<span style="background: #10b981"></span>
<span style="background: #059669"></span>
<span style="background: #ecfdf5"></span>
</div>
<div class="meta">UI #10b981 · #059669 · #ecfdf5</div>
</a>
<a class="card" href="01-slate-blue.html">
<span class="badge recommend">推荐</span>
<h2>01 · 深海蓝</h2>
<p>医疗/质检后台常见;Logo 绿 + UI 蓝,专业且清晰。</p>
<div class="colors">
<span class="logo-chip">Logo 绿</span>
<span style="background: #2563eb"></span>
<span style="background: #1d4ed8"></span>
<span style="background: #eff6ff"></span>
</div>
<div class="meta">UI #2563eb · #1d4ed8 · #eff6ff</div>
</a>
<a class="card" href="02-bio-teal.html">
<h2>02 · 生物青绿</h2>
<p>偏蓝的 Teal,保留一点生命/实验室气质。</p>
<div class="colors">
<span class="logo-chip">Logo 绿</span>
<span style="background: #0d9488"></span>
<span style="background: #0f766e"></span>
<span style="background: #f0fdfa"></span>
</div>
<div class="meta">UI #0d9488 · #0f766e · #f0fdfa</div>
</a>
<a class="card" href="03-graphite-blue.html">
<h2>03 · 石墨灰 + 蓝色按钮</h2>
<p>界面最克制;导航 Slate 灰,主按钮单独用蓝。</p>
<div class="colors">
<span class="logo-chip">Logo 绿</span>
<span style="background: #475569"></span>
<span style="background: #0369a1"></span>
<span style="background: #f8fafc"></span>
</div>
<div class="meta">导航 #475569 · 按钮 #0369a1</div>
</a>
<a class="card" href="04-indigo-tech.html">
<h2>04 · 靛蓝科技</h2>
<p>偏数字化平台感,辨识度高,略活泼。</p>
<div class="colors">
<span class="logo-chip">Logo 绿</span>
<span style="background: #4f46e5"></span>
<span style="background: #4338ca"></span>
<span style="background: #eef2ff"></span>
</div>
<div class="meta">UI #4f46e5 · #4338ca · #eef2ff</div>
</a>
</div>
<p class="footer-links">
若 A 批仍不满意,见
<a href="../theme-demos-alt/index.html">主题选型 B(深色侧栏 / 暖灰 / 医院蓝 / 极简等 6 套)</a> ·
全绿色系见 <a href="../green-theme-demos/index.html">深绿变体(01~06)</a>。
</p>
</body>
</html>