-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Description
Ionic version: (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ... (check one with "x")
[ ] bug report
[x] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
The default pagination color is hard-coded to blue. It's possible to change the pagination color by adding the .swiper-pagination-white or .swiper-pagination-black class to the <ion-slides> element.
<ion-slides class="swiper-pagination-black">
<ion-slide>
</ion-slide>
</ion-slides>Expected behavior:
Their are a lot of undocumented classes for the swiper that are left over, and these are one of them.
I would expect the pagination color to default to the app's primary color. I would also expect to be able to customize the pagination through the color attribute on <ion-slides> as part of the Ion class.
<ion-slides color="dark">
<ion-slide>
</ion-slide>
</ion-slides>I'm not sure if development has started on this yet, but if it hasn't I'll take a crack at a pull request if the feature has merit.
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Cordova CLI: 6.5.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: macOS Sierra
Node Version: v6.7.0
Xcode version: Xcode 8.2.1 Build version 8C1002