beyonk-group/svelte-carousel

How do you style pagination?

mxmzb opened this issue · 2 comments

mxmzb commented

I can style pagination to some extent via :global() selector, but how can I target the current dot?

@mxmzb right now, we don't differentiate between the current dot, and all the other dots.

https://github.com/beyonk-adventures/svelte-carousel/blob/master/src/Carousel.svelte#L60

It would be possible I believe, by creating a small PR to track which dot was the currrent one, and maybe adding a class to it.

mxmzb commented