Skip to content

Commit cafdb3c

Browse files
custom fill colors for social tray icons
1 parent 6c2a82e commit cafdb3c

File tree

6 files changed

+14
-6
lines changed

6 files changed

+14
-6
lines changed

src/assets/discord.svg

+1-1
Loading

src/assets/github.svg

+1-1
Loading

src/assets/twitter-logo.svg

+1-1
Loading

src/components/footer/footer.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ export default class Footer extends HTMLElement {
1818
</a>
1919
</li>
2020
21-
<li class="social-icon">
21+
<li class="${styles.socialIcon}">
2222
<a href="https://discord.gg/bsy9jvWh" title="Discord">
2323
${discordIcon}
2424
</a>
2525
</li>
2626
27-
<li class="social-icon">
27+
<li class="${styles.socialIcon}">
2828
<a href="https://twitter.com/PrjEvergreen" title="Twitter">
2929
${twitterIcon}
3030
</a>

src/components/footer/footer.module.css

+5-1
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@
2121
display: flex;
2222
gap: var(--size-3);
2323
list-style-type: none;
24-
background-color: var(--color-gray);
24+
background-color: var(--color-secondary);
2525
border: var(--border-size-1) solid var(--color-black);
2626
border-radius: var(--radius-6);
2727
padding: var(--size-2) var(--size-3);
2828
align-items: center;
2929
justify-content: center;
3030
cursor: pointer;
3131
}
32+
33+
.socialIcon svg {
34+
fill: var(--color-gray);
35+
}

src/components/header/header.css

+4
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ header {
4848
cursor: pointer;
4949
}
5050

51+
.social-icon svg {
52+
fill: var(--color-secondary);
53+
}
54+
5155
.mobile-menu,
5256
.mobile-menu.active,
5357
.mobile-menu-items,

0 commit comments

Comments
 (0)