fix(swatch): 修正颜色样本键名前缀格式

This commit is contained in:
徐涛 2025-07-21 22:33:59 +08:00
parent 3bed5a97c5
commit 61ff3eff5c

View File

@ -51,7 +51,7 @@ impl Swatch {
let mut collection = LinkedHashMap::new();
for l in SWATCH_LIGHTINGS {
collection.insert(format!("{name}-{l:02}"), self.get_hex(l));
collection.insert(format!("swatch-{name}-{l:02}"), self.get_hex(l));
}
collection