forked from rDrama/rDrama
master
parent
eaa169c5df
commit
85797256d8
|
@ -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>`;
|
||||
|
|
Loading…
Reference in New Issue