remotes/1693045480750635534/spooky-22
Aevann1 2022-02-27 20:48:05 +02:00
parent a5e4b07acf
commit 11de41e794
1 changed files with 3 additions and 1 deletions

View File

@ -353,8 +353,10 @@
<div id="sex"></div>
<script>
const color = window.getComputedStyle(document.body).getPropertyValue('background-color');
const markTemplate = (name) => {
return `<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='200px' width='200px'><text transform='translate(20, 100) rotate(-45)' fill='rgba(45,45,45,0.075)' font-size='60'>${name}</text></svg>`;
return `<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='200px' width='200px'><text transform='translate(20, 100) rotate(-45)' fill='${color}' fill-opacity="0.05" font-size='60'>${name}</text></svg>`;
};
const base64Mark = btoa(markTemplate("{{v.id}}"));