crimera / piko

revanced-patches for twitter
GNU General Public License v3.0
878 stars 30 forks source link

Feature Request: Full Color Theme Patch #431

Open monefiera opened 4 days ago

monefiera commented 4 days ago

First

Twitter for Web implements a color theme consisting of six colors, and iOS has a similar feature (unless Elon has removed it), but no such feature exists for Android, even with Twitter Blue (Premium).
Origin Twitter which I've already released with full color patch and I would like to port this patch to piko in the future.
However, the patch content is very complex and I cannot do the PR myself yet, so I will post it on issues.

Expected behavior

The 1st ideal would be to enter a color code somewhere in the piko-settings, and color would change. However, given the need to change smali≒class, which I will discuss later, even I can foresee that this would be difficult.

So the most practical idea to implement this patch is to have a color code option that the user can change at will, similar to the theme options in Revanced and RVX.
In this idea, by entering a color code in Revancify or similar, the patch can be customized with a degree of freedom far beyond that of the Dynamic Color Patch.

How to do

I have already described what exactly needs to be changed and how in my repository, so I will just summarize the main points here. This application is not designed to change the theme color in the first place, so there is a wide range of areas that need to be changed.

Lastly

I know this isn't necessarily feature that many people want, given the complexity of the patch. However, my Origin has been well received for a long time※ (at least more than I thought) and I'm sure there are certainly people who would appreciate it.
I will do my best to do what I can, and I hope you will move to implement it. ※Before moving to GitHub, Origin was published via mega.nz in my note(blog service for Japanese speakers) article.

crimera commented 2 days ago

Will try working on it this coming weekend

MondayNitro commented 1 day ago

the proposed patch only changes the accent color. it would be better to also allow users to change the background color for dark and light themes. (similar to the Inotia theme patch.) Screenshot_17-10-2024_01157_github com

since a pitch-black background might not be appeal to all users when paired with brighter accent colors provided in above patch

i changed my twitter app color using above guide and changed dark color Screenshot_20241016-145449 needless to say it wont look good with pitch black 000000 background

please whenever you add this patch, also provide options to change background colors