Fix platform charts and accessibility overrides
mindflux-ci / build (push) Successful in 23s

This commit is contained in:
AliceDarkest
2026-07-14 15:12:41 +02:00
parent bd76cd11de
commit 7a97e6f24e
5 changed files with 30 additions and 3 deletions
@@ -81,6 +81,9 @@
<!-- Diagramme -->
<script th:inline="javascript">
// theme.js setzt die Plattformklasse erst mit DOMContentLoaded. Die Charts müssen
// danach entstehen, sonst lesen sie noch die alte globale Akzentfarbe.
window.addEventListener('DOMContentLoaded', () => {
// Die Plattform-Tokens liegen auf body.sn-platform. Von dort lesen, damit die
// Diagramme nicht auf die alte globale Akzentfarbe zurückfallen.
const css = getComputedStyle(document.body);
@@ -142,6 +145,7 @@
}
}
});
});
</script>
<!-- Footer -->