rcaferati / react-awesome-slider

React content transition slider. Awesome Slider is a 60fps, light weight, performant component that renders an animated set of production ready UI general purpose sliders with fullpage transition support for NextJS and GatsbyJS. 🖥️ 📱
https://fullpage.caferati.me
MIT License
2.92k stars 294 forks source link

how to change organic-arrow-color ? please guide #204

Open UAhmadSoft opened 2 years ago

UAhmadSoft commented 2 years ago

I am using your nice component like this `<AwesomeSlider style={{ maxWidth: 200, maxHeight: 200, }} infinite={false}

{state?.images.map((img) => (

{/*

1

*/}

))} `

please guide me how to change organic-arrow-color

zalogarciam commented 1 year ago

Hello

The only way I could change it is overwriting these classes. Hope this helps

.awssldcontrolsarrow-right::before{ background-color: var(--primary-highlight-color)!important; }

.awssldcontrolsarrow-right::after{ background-color: var(--primary-highlight-color)!important; }

.awssldcontrolsarrow-left::before{ background-color: var(--primary-highlight-color)!important; }

.awssldcontrolsarrow-left::after{ background-color: var(--primary-highlight-color)!important; }

Actually, you can ignore the !important