intuit / CardParts

A reactive, card-based UI framework built on UIKit for iOS developers.
Other
2.52k stars 224 forks source link

iOS 13 Dark Mode? #184

Open ghost opened 4 years ago

ghost commented 4 years ago

Does this library support iOS 13's dark mode?

croossin commented 4 years ago

We have added no additional logic, color schemes, etc. to deal with iOS 13's dark mode. If you would like to take up the research and/or implementation on that, it would be greatly appreciated. We can add a Hacktoberfest label as well.

lkeude96 commented 4 years ago

Hello @croossin. I will probably give it a shot :)

croossin commented 4 years ago

Love it ;) Will assign the issue to you!

@lkeude96 Would also be cool to try and remove any sort of Turbo or Mint references so that the framework can be as generic as possible

lkeude96 commented 4 years ago

First Pass

πŸ‘‹ @croossin after looking at the codebase and the current available themes, I was thinking of potentially creating CardPartsSystemTheme and CardPartsCustomTheme (not sure if those would be the final names yet).

Questions:

Thank you, πŸ˜„

croossin commented 4 years ago

I like the idea of the system and custom themes..!

I'm thinking that we can remove them and just add any of the values we are using inside the themes as a generic color extension. I just want to make the project as generic as possible.

Thanks for all the input!

lkeude96 commented 4 years ago

Work in progress.... (CardPartsSystemTheme) πŸ˜…

lwdupont commented 4 years ago

Woo sweet!!

ghost commented 4 years ago

@lkeude96 Thanks for looking into it. Looks great. Looking forward for the update soon!

croossin commented 4 years ago

This is awesome, @lkeude96 ! Great job. Keep us updated

croossin commented 4 years ago

@lkeude96 How's it coming along?

lkeude96 commented 4 years ago

@croossin πŸ‘‹ Hi sorry for the delay. it's coming along great. Took slightly longer than expected due to some additional workaround in order to maintain backward compatibility. I will be opening a WIP pr soon to start getting feedback and in order to discuss how we want to expose those API to someone using the library. πŸ˜„

croossin commented 4 years ago

Sounds good, @lkeude96 !

lwdupont commented 4 years ago

Can't wait! :)

croossin commented 4 years ago

@lkeude96 - how’s it coming along? Think we will be able to merge before end of month?

lkeude96 commented 4 years ago

@croossin Just open a WIP PR. πŸ˜…One of the main, thing i was still trying to get to work are shadows πŸ€”

croossin commented 4 years ago

@lkeude96 Are shadows the only things missing from having dark mode support?

Draelyre commented 4 years ago

How do we make the background of the CardPartsViewController dark like in the image @lkeude96 sent?

yohaoquan commented 4 years ago

Hey guys. Any update on this? Or anyway I could change the background colour of the VC?