squimer / DatePickerDialog-iOS-Swift

Date picker dialog for iOS
MIT License
585 stars 177 forks source link

how change to my color theme? #12

Open longxianlin opened 9 years ago

longxianlin commented 9 years ago

I want background black color, font color white change many views, not working.

DatePickerDialog().show("选择预约日期", doneButtonTitle: "确定", cancelButtonTitle: "取消", datePickerMode: UIDatePickerMode.DateAndTime) {
                (date) -> Void in
                print("选中时间\(date)")
                self.pickedDate = date
                self.tableView.reloadData()
                //self.textField.text = "\(date)"
            }

this work in swift2.1

longxianlin commented 9 years ago

ok, i try this libs FxDatePicker, very good

lfarah commented 8 years ago

@HardcoreIOS said: Please allow the user to have custom features. Like I want the background to have a blur when the picker view is presented, the pickerview's background to be a black instead of the default gray, and the pickerview's text's to be white instead of the default black!

KhaVNguyen commented 8 years ago

Is customizing the color possible yet?

lfarah commented 8 years ago

Not yet. I didn't have time to work on this project lately, but I didn't forget about you! @Reservations

benjohnde commented 8 years ago

That sounds great. Could be a bit difficult to let the DatePickerDialog be fully customizable. But it should be worth to implement a few styles (for instance dark-blurry, white-transparent and so on and so forth).

aravasio commented 7 years ago

No news on this yet, right?

KhaVNguyen commented 7 years ago

@aravasio I ended up just customizing the color by editing the RGB settings in the code of the library.

aravasio commented 7 years ago

Good call. For some reason it never occurred to me to actually modify a Pod.

lfarah commented 7 years ago

Hey @Reservations, what do you think about opening a PR so other people can customize the colors?

lfarah commented 7 years ago

Really sorry guys for not giving attention to this... I'm really packed with stuff to do in other projects

ghost commented 6 years ago

Just change the gradient color or remove the gradient and change background colors of all title label, Done button, date picker and cancel button.