Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pagination bullet CSS variables #4927

Merged

Conversation

Androlax2
Copy link
Contributor

Added some CSS variables for pagination bullet to :

  • Manage size (width & height) of a bullet
  • Manage background color of inactive bullet
  • Manage opacity of inactive color

I might add a variable to manage gap between bullet too.
Something like :

.swiper-pagination-bullet + .swiper-pagination-bullet {
  margin-left: var(--swiper-pagination-gap, 0px);
}

But it might cause issue for RTL

@nolimits4web
Copy link
Owner

Thanks, I also added vertical & horizontal gaps

@nolimits4web nolimits4web merged commit 25416de into nolimits4web:master Sep 8, 2021
@Androlax2 Androlax2 deleted the feat-pagination-css-variables branch September 9, 2021 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants