Skip to content

Commit fea061f

Browse files
committed
feat: add trail effect to sparkline pulse
1 parent 9858104 commit fea061f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

app/components/Package/WeeklyDownloadStats.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,13 @@ const config = computed(() => {
167167
pulse: {
168168
show: true,
169169
loop: true, // runs only once if false
170-
radius: 2,
170+
radius: 1.5,
171171
color: pulseColor.value,
172172
easing: 'ease-in-out',
173173
trail: {
174174
show: true,
175-
length: 6,
175+
length: 20,
176+
opacity: 0.75,
176177
},
177178
},
178179
},

0 commit comments

Comments
 (0)