Skip to content

Commit 8365b55

Browse files
committed
fix(board): adjust powered by colors in dark mode
1 parent d87010e commit 8365b55

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

packages/board/src/PoweredBy.svelte

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
target="_blank" rel="noopener" title="About Wuffle">
2121

2222
<!-- ./logo-gray.svg with dynamic fill color -->
23-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" width="20" height="20"><path d="M12 0h56c7 0 12 5 12 12v56c0 7-5 12-12 12H12C5 80 0 75 0 68V12C0 5 5 0 12 0z" fill="currentColor"/><path d="M15 10h21c3 0 5 2 5 5v6c0 3-2 5-5 5H15c-2 0-4-2-4-5v-6c0-3 2-5 4-5zm0 20h21c3 0 5 2 5 5v6c0 2-2 4-5 4H15c-2 0-4-1-4-4v-6c0-3 2-5 4-5zm27 22h21c2 0 4 2 4 5v6c0 2-2 4-4 4H42c-2 0-4-2-4-4v-6c0-3 2-5 4-5z" fill="#fff"/></svg>
23+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" width="20" height="20">
24+
<path d="M12 0h56c7 0 12 5 12 12v56c0 7-5 12-12 12H12C5 80 0 75 0 68V12C0 5 5 0 12 0z" fill="currentColor"/>
25+
<path class="logo-boxes" d="M15 10h21c3 0 5 2 5 5v6c0 3-2 5-5 5H15c-2 0-4-2-4-5v-6c0-3 2-5 4-5zm0 20h21c3 0 5 2 5 5v6c0 2-2 4-5 4H15c-2 0-4-1-4-4v-6c0-3 2-5 4-5zm27 22h21c2 0 4 2 4 5v6c0 2-2 4-4 4H42c-2 0-4-2-4-4v-6c0-3 2-5 4-5z" />
26+
</svg>
2427
</a>
2528
</div>
2629

@@ -49,8 +52,14 @@
4952
display: inline-flex;
5053
}
5154
52-
&:not(:hover, :focus-within) .logo {
53-
color: #999;
55+
&:not(:hover, :focus-within) {
56+
.logo {
57+
color: #999;
58+
}
59+
60+
.logo-boxes {
61+
fill: $light;
62+
}
5463
}
5564
5665
&:hover,
@@ -62,6 +71,10 @@
6271
.help {
6372
display: block;
6473
}
74+
75+
.logo-boxes {
76+
fill: $light;
77+
}
6578
}
6679
6780
.help {
@@ -91,7 +104,7 @@
91104
color: $light;
92105
93106
&:not(:hover, :focus-within) .logo {
94-
color: $dark;
107+
color: lighten($dark, 30%);
95108
}
96109
97110
&:hover,

0 commit comments

Comments
 (0)