Allow customizing foreground and background colour

css
Nikita Karamov 2023-07-18 13:16:04 +02:00
parent fb9359820f
commit 83433f0faf
No known key found for this signature in database
GPG Key ID: 41D6F71EE78E77CD
1 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,8 @@
--shareon-size: 20px;
--shareon-padding: 8px;
--shareon-radius: 4px;
--shareon-fg: #fff;
--shareon-bg: unset;
}
.shareon {
@ -26,8 +28,8 @@
border: none;
border-radius: var(--shareon-radius);
color: white;
background-color: var(--color);
color: var(--shareon-fg, var(--color));
background-color: var(--shareon-bg, var(--color));
font-size: calc(var(--shareon-size) * 0.8);
text-decoration: none;