feat: split burgs to groups

This commit is contained in:
Azgaar 2024-09-30 20:38:52 +02:00
parent f51f78a7a6
commit 63898d8fd8
15 changed files with 543 additions and 383 deletions

View file

@ -342,8 +342,8 @@ function addStylePreset() {
"stroke-dasharray",
"stroke-linecap"
];
options.burgs.groups.forEach(group => {
attributes[`#burgIcons > g[data-name='${group}']`] = burgIconsAttributes;
options.burgs.groups.forEach(({name}) => {
attributes[`#burgIcons > g.${name}`] = burgIconsAttributes;
});
for (const selector in attributes) {