This is a (multiple allowed):
Importing all SCSS node_modules/swiper/components components to load only what i want. See _swiper.scss : https://codesandbox.io/embed/great-heisenberg-f7uyy
Also, i wrote (& commented) a dirty fix, i would avoid using it :D
Navigation arrows should get the $themeColor color.
Navigation arrows stays black.
Thanks 馃檶
This seems more of a styling issue with your code, rather than a swiper problem?
Ive fixed your code here @proov
it seems you werent targetting the arrows for any styles
add this to your swiper.scss file
.swiper-button-prev,
.swiper-button-next {
&:after {
color: $themeColor;
}
}
@proov I'm with you. I feel like the line in components/core/core.scss should be interpolated:
--swiper-theme-color: #{$themeColor};
If I make that change in my src (or use your "dirty" fix) then it works exactly as expected.
@proov I'm with you. I feel like the line in
components/core/core.scssshould be interpolated:--swiper-theme-color: #{$themeColor};If I make that change in my src (or use your "dirty" fix) then it works exactly as expected.
Yeah that's what i think too 馃槄
Fixed by #3334