修复 CSS Module spin 动画::global(spin) 改为本地 @keyframes spin

PostCSS 将 :global(spin) 解析为伪元素 :: 导致 Vercel 构建失败。
改用在每个 CSS Module 中定义本地 @keyframes spin。
This commit is contained in:
2569718930@qq.com
2026-05-14 18:06:53 +08:00
parent c8103179e1
commit ac90ef9206
9 changed files with 27 additions and 9 deletions
@@ -56,7 +56,7 @@
border: 2px solid rgba(34, 211, 238, 0.18);
border-top-color: #22d3ee;
border-radius: 999px;
animation: :global(spin) 0.8s linear infinite;
animation: spin 0.8s linear infinite;
}
.root :global(.future-v2-sync-strip) {
@@ -1789,3 +1789,5 @@ html.light .root :global(.future-v2-refresh-lock strong) {
color: #0f172a;
}
@keyframes spin { to { transform: rotate(360deg); } }