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

Darkmode #216

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open

Darkmode #216

wants to merge 28 commits into from

Conversation

croossin
Copy link
Contributor

@croossin croossin commented Jan 7, 2020

Before you make a Pull Request, read the important guidelines:

Issue Link 🔗 #184

  • Is this a bug fix or a feature?
  • Feature
  • Does it break any existing functionality?
  • I think because we introduce some new properties to the theme protocol, it might cause some erroes

Goals of this PR 🎉

  • Why is the change important?
  • Its dark mode 😂
  • What does this fix?
  • How far has it been tested?

How Has This Been Tested 🔍

Please let us know if you have tested your PR and if we need to reproduce the issues. Also, please let us know if we need any relevant information for running the tests.

  • User Interface Testing
  • Application Testing

Test Configuration 👾

  • Xcode version: 11.1 (11A1027)
  • Device/Simulator: Simulator
  • iOS version: iOS 13.1

Things to check on 🎯

  • My Pull Request code follows the coding standards and styles of the project
  • I have worked on unit tests and reviewed my code to the best of my ability
  • I have used comments to make other coders understand my code better
  • My changes are good to go without any warnings
  • I have added unit tests both for the happy and sad path
  • All of my unit tests pass successfully before pushing the PR
  • I have made sure all dependent downstream changes impacted by my PR are working

@croossin croossin mentioned this pull request Jan 7, 2020
7 tasks
@lwdupont
Copy link
Contributor

lwdupont commented Jan 7, 2020

Yes!! :)


extension UIColor {
// Adaptable Colors
static var SystemBlue : UIColor {get {if #available(iOS 13.0, *){return .systemBlue} else {return UIColor.color(0, green: 122, blue: 255)}}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about camelCasing for color names systemBlue instead of SystemBlue ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the reason why @lkeude96 implemented it this way is because if you do camel case such as systemBlue there will be a naming clash with Apples UIColor systemBlue

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes precisely what @croossin mentionned. I noticed that Black was previously capitalized so i used the same pattern

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also explored adding them in a nested struct.

@tys-adventure
Copy link

Is there anything holding this back from being merged? 😯

@croossin
Copy link
Contributor Author

croossin commented Jan 21, 2020

@TyJPhillips Just fixing up some last second stuff

@croossin
Copy link
Contributor Author

Just trying to get CardPartAttributedTextView working nicely with dark mode
Simulator Screen Shot - iPhone 11 Pro Max - 2020-01-21 at 07 00 30

@tys-adventure
Copy link

Just trying to get CardPartAttributedTextView working nicely with dark mode
Simulator Screen Shot - iPhone 11 Pro Max - 2020-01-21 at 07 00 30

Looking good thus far sir! Looking forward to the merge, and keep up the good work!

@croossin
Copy link
Contributor Author

I believe we are good to go now!! @badrinathvm Feel free to take another look 👍

@croossin
Copy link
Contributor Author

And a huge shoutout to @lkeude96 for all of his contributions !!!!!

README.md Show resolved Hide resolved
@badrinathvm
Copy link
Contributor

@croossin Looks Good to me.

@ghost
Copy link

ghost commented Feb 21, 2020

Any plans to merge this?

1 similar comment
@bevbomb
Copy link

bevbomb commented Jul 3, 2020

Any plans to merge this?

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.

6 participants