UI: add custom CSS support (#21263)

This commit is contained in:
Michael Geers 2025-05-20 10:16:14 +02:00 • committed by GitHub
parent 7330fdff63
commit 92ef228af9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 96 additions and 14 deletions

12
tests/custom-css.css Normal file
View file

@ -0,0 +1,12 @@
:root {
--evcc-dark-green: rebeccapurple;
--evcc-yellow: hotpink;
}
[data-testid="header"],
[data-testid="footer"] {
display: none !important;
}
/* test against markup injection */
</style><script>alert("hello");</script><style>