Skip to content

Commit

Permalink
fix: add color to arrow in card
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed Sep 4, 2024
1 parent 035b527 commit f3a1822
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/AnimatedArrow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script setup lang="ts">
import { gsap } from 'gsap'
import { computed, ref, watch } from 'vue'
import WIcon from '../icon/WIcon.vue'
import WIcon from './icon/WIcon.vue'
import { IconName } from './icon/WIcon'
const arrow = ref(null)
Expand Down
2 changes: 1 addition & 1 deletion src/components/Card/WCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<h3 class="text-xl text-black-950 font-semibold leading-4">
{{ title }}
</h3>
<AnimatedArrow :hover="hover" />
<AnimatedArrow :hover="hover" color="#C6C6C6" />
</div>
<hr class="hr my-md" />
<slot name="description" class="text-sm text-black-950"></slot>
Expand Down
3 changes: 2 additions & 1 deletion src/components/Card/__snapshots__/WCard.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ exports[`WCard > icon 1`] = `
data-v-870c3481=""
>
<svg
class="arrow ml-md h-[14px]"
class="color arrow ml-md h-[14px] arrow ml-md h-[14px]"
data-v-c15836e8=""
fill="none"
height="25"
viewBox="0 0 15 25"
Expand Down

0 comments on commit f3a1822

Please sign in to comment.