We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34930a3 commit 74dcf95Copy full SHA for 74dcf95
front/src/components/LinkCard.vue
@@ -7,10 +7,10 @@
7
<div class="mb-2 w-12 h-12">
8
<!-- SVG 代码 -->
9
<div v-if="isSvgContent(link.icon)" v-html="link.icon"
10
- class="w-full h-full flex items-center justify-center dark:invert"></div>
+ class="w-full h-full flex items-center justify-center dark:invert-40"></div>
11
<!-- 图片 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" />
+ <img v-else :src="getIconUrl(link.icon)" :alt="link.name"
+ class="w-full h-full object-contain color-rotate dark:invert-40" @error="onImageError" />
14
</div>
15
16
<div class="w-full px-2">
0 commit comments