feat(品牌标识): 几何 K 图标(favicon/顶栏标记/theme-color) + 并行会话成果入库
Regression / regression (push) Canceled after 0s
Regression / regression (push) Canceled after 0s
## 品牌标识(本次会话) 起因:品牌此前没有任何图形标识 —— 唯一 favicon 是内联 data-URI 里的字母「A」, 那是 v2.0.0「Aurora Admin → Kole UI」改名漏掉的一处(PC 顶栏也是「A」, 移动端站已是「K」;移动端文档站则完全没有 favicon)。 - 几何:24 网格三个互不接触的笔画(竖 + 两斜),圆头描边; 描边 2.25 → 16px 标签页尺寸下正好 1.5px = 规范原文「描边1.5px」 - 取色分两套(刻意):favicon 硬编码品牌蓝/白(渲染在浏览器标签栏,不继承 kole-dark); 顶栏标记走 currentColor(实测暗色下自动转 rgb(20,22,28)) - 新增 theme-color 双条(light #FFFFFF / dark #1C1F26,取 --kole-color-card-bg) - 修 site/app.js hero 标语 KOLE ADMIN → KOLE UI(改名变形残留) - 移动端 7 个模板补 favicon(此前计数 0) 验收:门禁 9 条全 OK(site-routing/site-routes/mobile-docs/mobile-site/isolation/ theme/nav/i18n/icons);PC 回归 1464/1464 · 移动端 807/807,各连跑 8 次一致; 两端 favicon 405 字节逐字节一致;PC 站控制台错误 1→0。 ## 并行会话成果(本次一并入库) - 图标系统:2576 图标(TDesign/Element Plus,MIT)+ 11 端注入 + 5 个构建门禁工具 + IconPreview 预览页 + ICON-SPEC.md 冻结规格 - 移动端平台:47 组件 × 6 端 + 文档站 53 页 + 隔离门禁 - PC 组件:103 个大后台组件 / 组件11 批次 - uni-app:PC 端试点 + 移动端端实现 + 真实编译验证 ## 工程 - .gitignore 补 .scratch/ 与 .zcode-preexisting-*.txt(会话中间产物,实测 9.1MB,不入库) - CHANGELOG 补品牌标识条目 - ROADMAP 登 S8-P4(品牌标识任务包 + og:image/apple-touch-icon 未做部分)
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
/* Aurora Admin BackToTop 样式 — 对齐 组件7.txt BackToTop:滚动超阈值出现,右下角悬浮,带进度环 */
|
||||
/* Kole UI BackToTop 样式 — 对齐 组件7.txt BackToTop:滚动超阈值出现,右下角悬浮,带进度环 */
|
||||
|
||||
.aa-backtop {
|
||||
.kole-backtop {
|
||||
position: fixed; right: 32px; bottom: 32px; width: 44px; height: 44px;
|
||||
border-radius: 50%; background: var(--au-color-card-bg); border: 1px solid var(--au-color-border);
|
||||
border-radius: 50%; background: var(--kole-color-card-bg); border: 1px solid var(--kole-color-border);
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.12); cursor: pointer;
|
||||
display: flex; align-items: center; justify-content: center; z-index: 1000;
|
||||
opacity: 0; transform: translateY(12px); pointer-events: none;
|
||||
transition: opacity .2s, transform .2s, background .15s;
|
||||
}
|
||||
.aa-backtop.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
|
||||
.aa-backtop:hover { background: var(--au-color-brand-bg); }
|
||||
.aa-backtop svg { position: absolute; top: 0; left: 0; width: 44px; height: 44px; transform: rotate(-90deg); }
|
||||
.aa-backtop-ring-bg { stroke: var(--au-color-border); }
|
||||
.aa-backtop-ring-fg { stroke: var(--au-color-brand); transition: stroke-dashoffset .1s linear; }
|
||||
.aa-backtop-arrow { color: var(--au-color-brand); font-size: 18px; line-height: 1; z-index: 1; }
|
||||
.aa-backtop.aa-no-ring .aa-backtop-ring-fg,
|
||||
.aa-backtop.aa-no-ring .aa-backtop-ring-bg { display: none; }
|
||||
.kole-backtop.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
|
||||
.kole-backtop:hover { background: var(--kole-color-brand-bg); }
|
||||
.kole-backtop svg { position: absolute; top: 0; left: 0; width: 44px; height: 44px; transform: rotate(-90deg); }
|
||||
.kole-backtop-ring-bg { stroke: var(--kole-color-border); }
|
||||
.kole-backtop-ring-fg { stroke: var(--kole-color-brand); transition: stroke-dashoffset .1s linear; }
|
||||
.kole-backtop-arrow { color: var(--kole-color-brand); font-size: 18px; line-height: 1; z-index: 1; }
|
||||
.kole-backtop.kole-no-ring .kole-backtop-ring-fg,
|
||||
.kole-backtop.kole-no-ring .kole-backtop-ring-bg { display: none; }
|
||||
|
||||
@@ -3,34 +3,34 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Aurora Admin · BackToTop(普通 H5)</title>
|
||||
<link rel="stylesheet" href="../.design_library/aurora-admin/colors_and_type.css" />
|
||||
<title>Kole UI · BackToTop(普通 H5)</title>
|
||||
<link rel="stylesheet" href="../.design_library/kole-ui/colors_and_type.css" />
|
||||
<link rel="stylesheet" href="BackToTop.css" />
|
||||
<style>
|
||||
body { margin: 0; background: var(--au-color-page-bg); font-family: var(--font-family, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif); }
|
||||
.aa-demo-banner { padding: 24px; background: var(--au-color-card-bg); border-bottom: 1px solid var(--au-color-border); }
|
||||
.aa-demo-banner h2 { margin: 0 0 8px; color: var(--au-color-text-title); font-size: 18px; }
|
||||
.aa-demo-banner p { margin: 0; color: var(--au-color-text-secondary); font-size: 13px; }
|
||||
.aa-demo-spacer { height: 2200px; padding: 24px; color: var(--au-color-text-secondary); }
|
||||
body { margin: 0; background: var(--kole-color-page-bg); font-family: var(--font-family, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif); }
|
||||
.kole-demo-banner { padding: 24px; background: var(--kole-color-card-bg); border-bottom: 1px solid var(--kole-color-border); }
|
||||
.kole-demo-banner h2 { margin: 0 0 8px; color: var(--kole-color-text-title); font-size: 18px; }
|
||||
.kole-demo-banner p { margin: 0; color: var(--kole-color-text-secondary); font-size: 13px; }
|
||||
.kole-demo-spacer { height: 2200px; padding: 24px; color: var(--kole-color-text-secondary); }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="aa-demo-banner">
|
||||
<div class="kole-demo-banner">
|
||||
<h2>向下滚动页面</h2>
|
||||
<p>滚动超过 400px 后右下角出现返回顶部按钮,环显示滚动进度,点击平滑回到顶部。</p>
|
||||
</div>
|
||||
<div class="aa-demo-spacer">这里是长内容占位区……</div>
|
||||
<div class="kole-demo-spacer">这里是长内容占位区……</div>
|
||||
|
||||
<div class="aa-backtop aa-no-ring" id="backtopPlain" role="button" aria-label="返回顶部(无进度环)" style="left:24px;right:auto;display:flex">
|
||||
<span class="aa-backtop-arrow" aria-hidden="true">↑</span>
|
||||
<div class="kole-backtop kole-no-ring" id="backtopPlain" role="button" aria-label="返回顶部(无进度环)" style="left:24px;right:auto;display:flex">
|
||||
<span class="kole-backtop-arrow" aria-hidden="true">↑</span>
|
||||
</div>
|
||||
|
||||
<div class="aa-backtop" id="backtop" role="button" aria-label="返回顶部">
|
||||
<div class="kole-backtop" id="backtop" role="button" aria-label="返回顶部">
|
||||
<svg viewBox="0 0 44 44">
|
||||
<circle class="aa-backtop-ring-bg" aria-label="返回顶部" cx="22" cy="22" r="20" fill="none" stroke-width="2" />
|
||||
<circle class="aa-backtop-ring-fg" role="button" aria-label="返回顶部" id="ring" cx="22" cy="22" r="20" fill="none" stroke-width="2" />
|
||||
<circle class="kole-backtop-ring-bg" aria-label="返回顶部" cx="22" cy="22" r="20" fill="none" stroke-width="2" />
|
||||
<circle class="kole-backtop-ring-fg" role="button" aria-label="返回顶部" id="ring" cx="22" cy="22" r="20" fill="none" stroke-width="2" />
|
||||
</svg>
|
||||
<span class="aa-backtop-arrow" aria-label="返回顶部">↑</span>
|
||||
<span class="kole-backtop-arrow" aria-label="返回顶部">↑</span>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -26,16 +26,16 @@ export default function BackToTop({ threshold = 400, showRing = true }) {
|
||||
|
||||
return (
|
||||
<div
|
||||
className={'aa-backtop' + (visible ? ' is-visible' : '') + (showRing ? '' : ' aa-no-ring')}
|
||||
className={'kole-backtop' + (visible ? ' is-visible' : '') + (showRing ? '' : ' kole-no-ring')}
|
||||
role="button"
|
||||
aria-label="返回顶部"
|
||||
onClick={toTop}
|
||||
>
|
||||
{showRing ? (
|
||||
<svg viewBox="0 0 44 44">
|
||||
<circle className="aa-backtop-ring-bg" cx="22" cy="22" r="20" fill="none" strokeWidth="2" />
|
||||
<circle className="kole-backtop-ring-bg" cx="22" cy="22" r="20" fill="none" strokeWidth="2" />
|
||||
<circle
|
||||
className="aa-backtop-ring-fg"
|
||||
className="kole-backtop-ring-fg"
|
||||
cx="22"
|
||||
cy="22"
|
||||
r="20"
|
||||
@@ -45,7 +45,7 @@ export default function BackToTop({ threshold = 400, showRing = true }) {
|
||||
/>
|
||||
</svg>
|
||||
) : null}
|
||||
<span className="aa-backtop-arrow">↑</span>
|
||||
<span className="kole-backtop-arrow">↑</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
<template>
|
||||
<div class="aa-backtop" :class="{ 'is-visible': visible, 'aa-no-ring': !showRing }"
|
||||
<div class="kole-backtop" :class="{ 'is-visible': visible, 'kole-no-ring': !showRing }"
|
||||
role="button" aria-label="返回顶部" @click="toTop">
|
||||
<svg viewBox="0 0 44 44" v-if="showRing">
|
||||
<circle class="aa-backtop-ring-bg" cx="22" cy="22" r="20" fill="none" stroke-width="2" />
|
||||
<circle class="aa-backtop-ring-fg" cx="22" cy="22" r="20" fill="none" stroke-width="2"
|
||||
<circle class="kole-backtop-ring-bg" cx="22" cy="22" r="20" fill="none" stroke-width="2" />
|
||||
<circle class="kole-backtop-ring-fg" cx="22" cy="22" r="20" fill="none" stroke-width="2"
|
||||
:style="{ strokeDasharray: circumference, strokeDashoffset: offset }" />
|
||||
</svg>
|
||||
<span class="aa-backtop-arrow">↑</span>
|
||||
<span class="kole-backtop-arrow">↑</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'AaBackToTop',
|
||||
name: 'KoleBackToTop',
|
||||
props: {
|
||||
threshold: { type: Number, default: 400 },
|
||||
showRing: { type: Boolean, default: true }
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<div class="aa-backtop" :class="{ 'is-visible': visible, 'aa-no-ring': !showRing }"
|
||||
<div class="kole-backtop" :class="{ 'is-visible': visible, 'kole-no-ring': !showRing }"
|
||||
role="button" aria-label="返回顶部" @click="toTop">
|
||||
<svg viewBox="0 0 44 44" v-if="showRing">
|
||||
<circle class="aa-backtop-ring-bg" cx="22" cy="22" r="20" fill="none" stroke-width="2" />
|
||||
<circle class="aa-backtop-ring-fg" cx="22" cy="22" r="20" fill="none" stroke-width="2"
|
||||
<circle class="kole-backtop-ring-bg" cx="22" cy="22" r="20" fill="none" stroke-width="2" />
|
||||
<circle class="kole-backtop-ring-fg" cx="22" cy="22" r="20" fill="none" stroke-width="2"
|
||||
:style="{ strokeDasharray: circumference, strokeDashoffset: offset }" />
|
||||
</svg>
|
||||
<span class="aa-backtop-arrow">↑</span>
|
||||
<span class="kole-backtop-arrow">↑</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user