Use masks to be able to change colour
parent
ec7053f0a1
commit
9e77d44440
|
@ -44,11 +44,10 @@
|
||||||
height: var(--shareon-size);
|
height: var(--shareon-size);
|
||||||
width: var(--shareon-size);
|
width: var(--shareon-size);
|
||||||
|
|
||||||
background-image: var(--shareon-svg);
|
background-color: currentColor;
|
||||||
background-repeat: no-repeat;
|
mask: no-repeat center / 100%;
|
||||||
background-size: var(--shareon-size) var(--shareon-size);
|
mask-image: var(--shareon-svg);
|
||||||
content: "";
|
content: "";
|
||||||
vertical-align: middle;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.shareon > .copy-url {
|
.shareon > .copy-url {
|
||||||
|
|
Loading…
Reference in New Issue