Use masks to be able to change colour
parent
ec7053f0a1
commit
9e77d44440
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue