Skip to content

Commit 74dcf95

Browse files
committed
优化夜间模式图标显示
1 parent 34930a3 commit 74dcf95

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

front/src/components/LinkCard.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
<div class="mb-2 w-12 h-12">
88
<!-- SVG 代码 -->
99
<div v-if="isSvgContent(link.icon)" v-html="link.icon"
10-
class="w-full h-full flex items-center justify-center dark:invert"></div>
10+
class="w-full h-full flex items-center justify-center dark:invert-40"></div>
1111
<!-- 图片 URL -->
12-
<img v-else :src="getIconUrl(link.icon)" :alt="link.name" class="w-full h-full object-contain color-rotate dark:invert"
13-
@error="onImageError" />
12+
<img v-else :src="getIconUrl(link.icon)" :alt="link.name"
13+
class="w-full h-full object-contain color-rotate dark:invert-40" @error="onImageError" />
1414
</div>
1515

1616
<div class="w-full px-2">

0 commit comments

Comments
 (0)