Scribe-Android icon indicating copy to clipboard operation
Scribe-Android copied to clipboard

Add dark and light mode responsiveness

Open andrewtavis opened this issue 3 years ago β€’ 18 comments
trafficstars

Terms

Description

This issue is to implement color color scheme switching between light and dark modes.

  • This issue is blocked by #25 as the schemes should be created before this issue

andrewtavis avatar May 19 '22 14:05 andrewtavis

@andrewtavis This seems a good feature. Will be working on it :).

ayushanand308 avatar Feb 25 '23 22:02 ayushanand308

Hey @ayushanand308! Thanks for your interest in Scribe! Yes I think this would be a great feature to better understand the project 😊

I'll assign this to you, and please let me know if you have any questions!

andrewtavis avatar Feb 26 '23 12:02 andrewtavis

@andrewtavis sure!

ayushanand308 avatar Feb 26 '23 15:02 ayushanand308

@andrewtavis Basically what I understand from the task description is that I have to implement a way to switch between dark and light themes on the keyboard right?

ayushanand308 avatar Feb 28 '23 17:02 ayushanand308

WhatsApp Image 2023-03-01 at 00 24 47

Thinking of implementing it like this. Is this ok?

ayushanand308 avatar Feb 28 '23 18:02 ayushanand308

Yes, exactly @ayushanand308! Specifically it would also be good if the default was set based on the mode of the user’s phone. Not sure if you have an idea on how best to do that, and I could support with exploration if needed :) So if the user has dark mode on their phone, it would be great if the option was already selected for them 😊

andrewtavis avatar Feb 28 '23 21:02 andrewtavis

@andrewtavis I would surely ask for help wherever I need it.

ayushanand308 avatar Feb 28 '23 22:02 ayushanand308

Wonderful, @ayushanand308 :) Looking forward to the results! 😊

andrewtavis avatar Mar 01 '23 10:03 andrewtavis

@andrewtavis I am not able to understand how to add functionality to this dark theme checkbox toggle like there is for "vibrate on keypress" and others. Can you help with this.:-)

https://user-images.githubusercontent.com/99035102/222565267-8374282c-f3d2-45a1-8279-1c961c63bb74.mp4

ayushanand308 avatar Mar 02 '23 21:03 ayushanand308

Hi @ayushanand308! Just wanted to write that I have this in mind. Currently visiting family at the moment :)

andrewtavis avatar Mar 05 '23 18:03 andrewtavis

@andrewtavis Yeah no issues.We can get back to this later on 😊.

ayushanand308 avatar Mar 05 '23 19:03 ayushanand308

https://user-images.githubusercontent.com/99035102/224350948-1bb26a91-aa85-42a5-a0e3-e1ec831171c1.mp4

The functionality of default theme being set to the user's default is done.

ayushanand308 avatar Mar 10 '23 15:03 ayushanand308

Wonderful, @ayushanand308!! Sorry I haven’t been responsive. I’m in the midst of lots of family visits and have a wedding today, so really have been busy. Appreciate you getting to this and your dedication! I’m done with this trip Monday evening and will connect with you then.

Thanks again so much 😊

andrewtavis avatar Mar 11 '23 19:03 andrewtavis

@andrewtavis Apologies for responding so late, I was caught up in my semester exams. I also wanted to ask if I can submit a GSOC proposal regarding scribe project to you for review before final proposal submission for any type of feedback.

ayushanand308 avatar Mar 22 '23 09:03 ayushanand308

No stress, @ayushanand308! Do you want to send a PR with the work you did so far and we can figure out how to apply it to the keyboard? :)

As far GSoC, you're welcome to send along a proposal to me! You can reach me at my email in my profile here, and feel free to join us in the Matrix space we made for Scribe (there's a room for GSoC and others like Android). As GSoC is focussing on iOS, I also did a minor PR in Scribe-iOS#96f32ab to open up the Danish keyboard so you can do some work there as you'd expressed before.

andrewtavis avatar Mar 22 '23 14:03 andrewtavis

@andrewtavis I have sent a PR. Can you review it and tell me if you want any changes. :-)

ayushanand308 avatar Mar 24 '23 19:03 ayushanand308

Thanks, @ayushanand308! Will check it later today 😊 Looking forward to seeing how it's changed :)

andrewtavis avatar Mar 25 '23 09:03 andrewtavis

Note for this issue that #33 got dark mode working for Xiaomi Redmi 9. I was not able to reproduce on the latest Pixel, but that PR was merged for the interim progress. Thank you @ayushanand308! As I said in the PR, appreciate the code that you wrote and your willingness to help on all this. I'm sorry I couldn't focus on this as much as I could.

andrewtavis avatar May 09 '23 23:05 andrewtavis

Hey @angrezichatterbox πŸ‘‹ Do you want to write in here so I can assign for you looking further into this one?

andrewtavis avatar Jul 02 '24 22:07 andrewtavis

Ya sure .. I would work on this issue .

angrezichatterbox avatar Jul 03 '24 01:07 angrezichatterbox

The keyboard color should also change according to the current color scheme present in the schema for nightly and normal right

angrezichatterbox avatar Jul 04 '24 04:07 angrezichatterbox

Yes ideally that keyboard color would also change. We can work on the specifics of the colors later when we do the coloration of the special keys, so for now just make the keys black and the background a different grey :)

andrewtavis avatar Jul 04 '24 06:07 andrewtavis

I have made the pull request please do tell if there are any changes to make I would be happy to make it perfect if there are any flaws.

angrezichatterbox avatar Jul 04 '24 12:07 angrezichatterbox

Thanks, @angrezichatterbox! You really are making some progress here!

andrewtavis avatar Jul 04 '24 13:07 andrewtavis

I'll check this tonight :)

andrewtavis avatar Jul 04 '24 13:07 andrewtavis

Closed by #38 πŸ₯³πŸ™Œ Thanks so much for all the consistent work, @angrezichatterbox! Really amazing 😊 I'll write to you on Matrix for the next steps :)

andrewtavis avatar Jul 04 '24 19:07 andrewtavis