fix(scheme): 修复输出 CSS 变量时缺少分号的问题

This commit is contained in:
徐涛
2026-01-15 13:07:18 +08:00
parent 04d7c76e2f
commit b18ef4ea4c

View File

@@ -148,7 +148,7 @@ impl SchemeExport for QScheme2 {
collection.push(format!("--color-{key}: light-dark(#{light}, #{dark});")); collection.push(format!("--color-{key}: light-dark(#{light}, #{dark});"));
} }
(Some(color), None) | (None, Some(color)) => { (Some(color), None) | (None, Some(color)) => {
collection.push(format!("--color-{key}: #{color}")); collection.push(format!("--color-{key}: #{color};"));
} }
(None, None) => {} (None, None) => {}
} }