发布 0.1.0:通知渠道、告警规则与多项体验修复
CI / test (push) Successful in 27s
Release / release (push) Successful in 26s

This commit is contained in:
Wang Defa
2026-07-10 17:31:19 +08:00
parent 9d0c116ce3
commit 5464d2dfea
68 changed files with 1604 additions and 359 deletions
+26 -1
View File
@@ -136,7 +136,9 @@ body {
width: 26px;
margin: 0;
display: grid;
grid-template-rows: 1fr 1fr;
/* minmax(0,…) 允许行收缩:small 尺寸下按钮固有高度(18px)大于半行,
1fr 的隐式 min-height:auto 会把行撑爆,下箭头溢出框外 */
grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
border-left: 1px solid var(--color-line-soft);
}
.app-input-number .n-input__suffix > :last-child {
@@ -158,6 +160,7 @@ body {
--n-text-color-focus: var(--color-ink);
width: 100%;
height: 100%;
min-height: 0;
border-radius: inherit;
color: var(--color-ink-3);
}
@@ -258,3 +261,25 @@ body {
}
}
}
/* 明暗主题扩散切换(useThemeRipple):关掉 View Transitions 默认交叉淡入,
由 JS 在 ::view-transition-new(root) 上做以触发点为圆心的 clip-path 揭示;
旧快照垫底不动,blend 还原为普通覆盖,避免半透明混色。 */
::view-transition-old(root),
::view-transition-new(root) {
animation: none;
mix-blend-mode: normal;
}
::view-transition-old(root) {
z-index: 1;
}
::view-transition-new(root) {
z-index: 2;
}
/* 扩散进行中禁掉页面自身的过渡:new 快照是实时层,Naive 等组件的
0.3s 颜色渐变会在扩散圆内继续播放,叠加揭示动画表现为闪烁/渗色。 */
html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
transition: none !important;
}