fix(scheme): 修复输出 CSS 变量时缺少分号的问题
This commit is contained in:
@@ -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) => {}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user