nightkr / flickboard

Flicking keyboard for Android
GNU Affero General Public License v3.0
124 stars 25 forks source link

Option to ignore Material You colors and instead manually choose them #154

Closed Anarchtism closed 6 months ago

Anarchtism commented 7 months ago

Context

Basically what this comment said;

I'm using an older android phone and don't have the option of upgrading, so I don't have any way to set material you colors. Is it possible there could be a fallback/alternative color option? With messagease there were a few things that could be customized - the color of the buttons, the color of the big letters, of the smaller letters, etc. - but not too many. I don't know anything about android development or I'd make a PR but surely it shouldn't be difficult to add an option in "appearance" to use custom colors instead of material you and then a new menu to pick those colors. Even a just a box to type in a hex code would be acceptable.

Except I'm using a phone that does have Material You -- it's just that I use Project Themer (using root/Magisk) and for some reason sometimes apps don't realize the color change.

Describe your suggested feature

I'd like to be able to choose the accent color, main key label color, secondary/dim key label color, and the background color (currently I use a single color background image to work around this).

Other details

I'd also prefer if entering hex colors were an option -- the current key color selector doesn't seem to allow for black, gray, white, for example.

Acknowledgements

nightkr commented 7 months ago

You can already set the key colour, which should override Material You (the label colour is then derived from that, to ensure decent contrast).

It's weird that Project Themer is ignored... Which version of Android are you on? I noticed that Jetpack Compose reads MYou in two different ways for API 31-33 and 34+ for some reason, maybe PT only sets one of those.

Anarchtism commented 7 months ago

I'm on Android 13.

  1. I would prefer gray (no way to set to gray)
  2. The accent color (highlight on key recognized) isn't changed

https://github.com/nightkr/flickboard/assets/128257705/e052188b-796c-4b46-ad7e-01f9f6c3b219

It actually does get the color Project Themer sets, but then eventually it goes back to the color that the system was set to before Themer changed it.

Anarchtism commented 7 months ago

Three different colors visible in that screen recording I sent:

  1. Green (key label) - color set in FlickBoard's settings
  2. Pinkish Orange (key recognized/FlickBoard accent) - color that Material You is set to before Themer changes it
  3. Gray (my quick settings tiles) - color Themer is set to
nightkr commented 6 months ago

Hm, that video doesn't play in my Firefox, fwiw.

image