UI: add custom CSS support (#21263)
This commit is contained in:
parent
7330fdff63
commit
92ef228af9
12 changed files with 96 additions and 14 deletions
12
tests/custom-css.css
Normal file
12
tests/custom-css.css
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue