remotes/1693045480750635534/spooky-22
Aevann1 2022-02-27 21:34:33 +02:00
parent eaa169c5df
commit 85797256d8
1 changed files with 2 additions and 1 deletions

View File

@ -917,7 +917,8 @@
{% if not ajax and v and v.theme != 'transparent' %}
<script>
const color = window.getComputedStyle(document.body).getPropertyValue('background-color');
const e = document.getElementsByClassName('container')[0]
const color = getComputedStyle(e).getPropertyValue('background-color');
const markTemplate = (name) => {
return `<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='50px' width='100px'><text transform='translate(20, 40) rotate(-45)' fill='${color}' fill-opacity="0.1" font-size='20'>${name}</text></svg>`;