beyonk-group / svelte-carousel

A super lightweight, super simple Carousel for Svelte 3
MIT License
213 stars 38 forks source link

Custom Colors #5

Closed s0kil closed 5 years ago

s0kil commented 6 years ago

Would be great to be able to customize default control colors.

For example:

export default {
    data() {
        carouselControlsButtonColor: "rgba(255, 255, 255, 0)";
    }
    components: {
        Carousel,
        Slide
    }
};

And Carousel would inherit those properies.

antony commented 6 years ago

@DanielSokil agreed. Right now I think you can do it with styling and :global ?

antony commented 5 years ago

Closing since the official way to do this is via global.