Use masks to be able to change colour

This commit is contained in:
Nikita Karamov 2023-07-18 12:46:43 +02:00
parent ec7053f0a1
commit 9e77d44440
No known key found for this signature in database
GPG Key ID: 41D6F71EE78E77CD
1 changed files with 3 additions and 4 deletions

View File

@ -44,11 +44,10 @@
height: var(--shareon-size);
width: var(--shareon-size);
background-image: var(--shareon-svg);
background-repeat: no-repeat;
background-size: var(--shareon-size) var(--shareon-size);
background-color: currentColor;
mask: no-repeat center / 100%;
mask-image: var(--shareon-svg);
content: "";
vertical-align: middle;
}
.shareon > .copy-url {