Movatterモバイル変換


[0]ホーム

URL:


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

Commit4486d82

Browse files
committed
fix: fixed brand logo in navbar for dark mode
1 parent74afa5e commit4486d82

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
importVuefrom'vue'
2423
exportdefaultVue.extend({})
2524
</script>
25+
<style scoped>
26+
.darksvg {
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
<divclass="flex items-center justify-between flex-1">
2221
<divclass="items-center w-1/2">
2322
<a

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp