Allow icon color to be customized

This commit is contained in:
TheThomaas 2024-02-06 22:32:03 +01:00
parent a9908e3807
commit 9a88c64cef

View file

@ -11,7 +11,7 @@
&:before, &:after { &:before, &:after {
--m-interior: .5rem; --m-interior: .5rem;
--m-exterior: -.125rem; --m-exterior: -.125rem;
background-color: currentColor; background-color: var(--icon-color, currentColor);
display: inline-block; display: inline-block;
flex: 0 0 auto; flex: 0 0 auto;
block-size: 1.5rem; block-size: 1.5rem;