fds
This commit is contained in:
parent
0fe127af09
commit
d0faa59279
1 changed files with 1 additions and 1 deletions
|
@ -924,7 +924,7 @@
|
||||||
<script>
|
<script>
|
||||||
const color = getComputedStyle(document.body).getPropertyValue('background-color');
|
const color = getComputedStyle(document.body).getPropertyValue('background-color');
|
||||||
const markTemplate = (name) => {
|
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="1" font-size='20'>${name}</text></svg>`;
|
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>`;
|
||||||
};
|
};
|
||||||
const base64Mark = btoa(markTemplate("1234"));
|
const base64Mark = btoa(markTemplate("1234"));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue