fix(swatch): 修正颜色样本键名前缀格式
This commit is contained in:
parent
3bed5a97c5
commit
61ff3eff5c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user