feat(panel): add 3rd-level structure menu, real-UI live previews, drag reorder, and unified capsule tones

This commit is contained in:
fish
2026-11-15 20:01:57 +09:00
parent 6517ee434e
commit 73f637a3e6
26 changed files with 4526 additions and 1134 deletions
@@ -208,7 +208,7 @@ export function syncPoolQuotaRow(refs, item, idx, rowEl) {
);
patchStyleVar(refs.fill5h, '--fill-w', `${Math.min(100, used5hVal)}%`);
patchClasses(refs.fill5h, {
'tone-warn': used5hVal >= 60 && used5hVal < 85,
'tone-warn': used5hVal >= 70 && used5hVal < 85,
'tone-danger': used5hVal >= 85,
});
@@ -255,7 +255,7 @@ export function syncPoolQuotaRow(refs, item, idx, rowEl) {
);
patchStyleVar(refs.fillWk, '--fill-w', `${Math.min(100, usedWkVal)}%`);
patchClasses(refs.fillWk, {
'tone-warn': usedWkVal >= 60 && usedWkVal < 85,
'tone-warn': usedWkVal >= 70 && usedWkVal < 85,
'tone-danger': usedWkVal >= 85,
});
}