Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4486d82

Browse files
fix: fixed brand logo in navbar for dark mode
1 parent 74afa5e commit 4486d82

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

‎components/icons/brand.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<svg
33
height="40px"
44
width="40px"
5-
class="dark:text-white"
65
fill="#000000"
76
stroke="currentColor"
87
xmlns="http://www.w3.org/2000/svg"
@@ -23,3 +22,8 @@
2322
import Vue from 'vue'
2423
export default Vue.extend({})
2524
</script>
25+
<style scoped>
26+
.dark svg {
27+
filter: invert(1) hue-rotate(180deg);
28+
}
29+
</style>

‎components/navbar.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<Brand />
1818
</NuxtLink>
1919
</div>
20-
2120
<div class="flex items-center justify-between flex-1">
2221
<div class="items-center w-1/2">
2322
<a

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /