feat: burg groups - render anchors

This commit is contained in:
Azgaar 2025-03-27 00:57:35 +01:00
parent 5ed31dd8bf
commit bd05453e63
6 changed files with 139 additions and 49 deletions

View file

@ -77,11 +77,17 @@ function applyStyle(styleJSON) {
const group = selector.replace("#burgLabels > g#", "");
style.burgLabels[group] = styleJSON[selector];
}
if (selector.startsWith("#burgIcons")) {
const group = selector.replace("#burgIcons > g#", "");
style.burgIcons[group] = styleJSON[selector];
}
if (selector.startsWith("#anchors")) {
const group = selector.replace("#anchors > g#", "");
style.anchors[group] = styleJSON[selector];
}
const el = document.querySelector(selector);
if (!el) continue;