25 lines
2.7 KiB
HTML
25 lines
2.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN" data-end="vue3" data-slug="themeswitcher">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>themeswitcher · Vue 3 预渲染</title>
|
|
<link rel="stylesheet" href="../../.design_library/kole-ui/colors_and_type.css">
|
|
<link rel="stylesheet" href="../../frameworks/ThemeSwitcher.css">
|
|
<style>
|
|
/* 演示页的 body 口径(见 frameworks/*.html 的 <style>):组件 CSS 不写 body 样式,
|
|
而 .btn 这类 inline-flex 元素的高度依赖行高与留白,缺了就会塌成 0 高。 */
|
|
body { margin: 0; padding: 24px; background: var(--kole-color-page-bg); color: var(--kole-color-text-body);
|
|
font-family: var(--kole-font-family); font-size: 14px; line-height: 22px; }
|
|
#kole-end-preview { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
|
|
html.kole-dark body { background: var(--kole-color-page-bg); color: var(--kole-color-text-body); }
|
|
</style>
|
|
|
|
</head>
|
|
<body class="kole-end-preview-body">
|
|
<!-- 该端实现(frameworks/ThemeSwitcher.vue3.vue)的离线预渲染产物。类名与该端源码一致(tools/build-end-preview.mjs 断言)。 -->
|
|
<div id="kole-end-preview" data-end="vue3" data-slug="themeswitcher">
|
|
<div class="kole-themesw" role="radiogroup" aria-label="主题模式" update="true"><!--[--><div role="radio" tabindex="0" aria-checked="false" class="kole-themesw-opt"><span class="light kole-themesw-dot"></span>日间</div><div role="radio" tabindex="0" aria-checked="false" class="kole-themesw-opt"><span class="dark kole-themesw-dot"></span>夜间</div><div role="radio" tabindex="0" aria-checked="false" class="kole-themesw-opt"><span class="auto kole-themesw-dot"></span>自动</div><!--]--><div class="kole-themesw-colors"><!--[--><span role="radio" aria-label="品牌色 #2F54EB" tabindex="0" aria-checked="false" class="kole-themesw-color" style="background:#2F54EB;"></span><span role="radio" aria-label="品牌色 #1677FF" tabindex="0" aria-checked="false" class="kole-themesw-color" style="background:#1677FF;"></span><span role="radio" aria-label="品牌色 #722ED1" tabindex="0" aria-checked="false" class="kole-themesw-color" style="background:#722ED1;"></span><span role="radio" aria-label="品牌色 #13C2C2" tabindex="0" aria-checked="false" class="kole-themesw-color" style="background:#13C2C2;"></span><span role="radio" aria-label="品牌色 #FA541C" tabindex="0" aria-checked="false" class="kole-themesw-color" style="background:#FA541C;"></span><span role="radio" aria-label="品牌色 #EB2F96" tabindex="0" aria-checked="false" class="kole-themesw-color" style="background:#EB2F96;"></span><!--]--></div><div class="kole-themesw-label">品牌色:brand = $event(应用于 Kole 品牌令牌实时预览)</div></div>
|
|
</div>
|
|
</body>
|
|
</html>
|