feat: Native Material You / Dynamic colors
What should it do?
Can we get native Material You patch for HushGram? It would be really cool if the app had a way to automatically adapt its theme depending on what wallpaper the user has on their phone.
Piko apparently does this by replacing the default colors of the application with Android's own color tokens at runtime instead of using their own colors that are hard-coded into the application.
It would be really cool if HushGram did something similar, maybe even with an option to let it automatically update the color scheme when the user switches between different wallpapers without having to restart the app.
An on/off switch inside of the app's settings would also be very useful in case some color schemes make it hard to read certain text.
Where in Instagram?
Appearance
What happens today?
Currently, the app uses only stock colors, unless a single custom color is manually selected by the user via the static Accent Color patch. The attempt to include the Piko patch into HushGram build via Morphe Manager always fails, since the color code targets in it are mapped to completely different app versions.
Why does it matter?
It would make the app look clean, and blend in nicely with the rest of the Android UI. The biggest reason, is that a proper theme engine, goes beyond just changing the background panels. It also tints the foreground text/buttons/icons to be easily readable against whatever wallpaper the user has, as opposed to the default black/white.
Since most people would prefer HushGram due to the safety it offers, of not getting banned or having issues with their account, having this implemented in the main build we use would allow us to have the best of both worlds.
Before you send it
- [x] I searched the open and closed feature requests and this isn't one of them.
Good idea. Wallpaper colors are first in line for the theme work, with a switch to turn them off. Good to know piko's doesn't apply on this build.
Thank you for the Material You update! If possible could you also incorporate:
Backgrounds - Using Material You colors for background panels, cards, menus etc
Foreground - Adding a toggle to allow icons, links and relevant text to use colors taken from the wallpaper without being hard to read.
Story Rings - Making story rings use Material You colors
Hardcoded Colors - Some things are still blue like the Older posts link and etc
This would help to make Material You much more uniform throughout HushGram.
All four of those are in 0.0.19 🙂 Story rings in the accent color and Backgrounds in the accent color sit next to Accent color, icons and links already follow it, and the Older posts link isn't stuck on blue anymore. Closing this one. Spot something still blue? Let me know and it goes right back open.
There are a couple of issues I spotted. The icons start as material color but once you go to reels tab and come back.. They turn back once again to white.
Also, in the reels tab there is a difference in the colour at the bottom bar.
Same with the inbox.
@SysAdminDoc
Also the glass bar has no colour..
Also if we can have some space between the progress bar and the tab bar
Not sure about others from
https://github.com/SysAdminDoc/HushGram/issues/187#issuecomment-6735565292
but icon color does change when switching between tabs plus older posts is still blue
also verified icon in profile tab
also those two button looks out of place with material you
also asides from theme there is also a new with fullscreen messages it still shows status bar and in reels
gap issue at the bottom is it possible to drop the icons and text all the way to bottom to clear the gap
also switching account menu isn't material you plus when successfully changes the pop up that shows account is switches isn't material you as well.
Also, I would like to recommend considering a change in the colors of the icons and text in the reels tab since they are currently displayed in white Additionally, it would be great to have full-screen stories since right now they don't take up the entire screen like reels do.
I found some of the areas where material you isn't being applied.
The following should also incorporate the Material You accent color
In explorer page:
- Saved/Bookmark icon on the top right corner of screen.
In profile page:
- Posts, Reposts, Tagged and Saved icons should also be in the Material You accent color, regardless of whether they are selected or not.
In the saved page:
-
As above, the Back, Search and Add icons should also incorporate the accent color.
-
The filter options (All, Collections, Features, Series, Reels, Posts and Audio) outlines on the saved section should also have the Material You accent color applied to their borders, titles and when selected (including the background).
Optionally Text color support :
Further text across the app would also be cool to follow Material You accent color . This will further ensure that text continues to match the wallpaper theme and still remains clear to read.
@svyis got more of them now. Once you update, the profile tabs, Saved's buttons and the Saved bookmark on Search follow Icons in the accent color, and two new switches under Accent color cover Saved's filters and main text.
Got it. Thank you. While going through the app again, I found some more things left out. In the search tab, after searching the filters, in the following/follower tab, sorting arrow icons and a small line that’s under the selected option above the search bar, and in the profile tab, like the threads icon and the threads banner outline, which are the same as the previously saved filters on the profile and notification (bell icon). Also, the back button and the three-dot button? I'm not sure if you fixed these last two, but I still just want to let you know. And color support for icons in the story and message tab.
Apart from the themes.
This is the bug I mentioned about the fullscreen message. In the actual DMs, the status bar is hidden, but there's still a gap left. Plus, a new feature, like fullscreen stories,explorer and a profile tab, if possible, later on.
And this, which I just found on the reel menu, in blends reels tab sent button and message tab and In comments gallery, GIF and gift button.
@svyis most of those take the accent in the next update: search filters, the follow list arrows and tab line, the bell, back and three-dot buttons, the reel menu, and the gallery and GIF buttons by comments. It also adds Full screen stories, Full screen Explore and Full screen profile. Story icons and that gap in chats I'm still working on.
@SysAdminDoc thanks for the update. I want to let you know another thing I found about the DMs list in the message tab: the background seems to revert to the default Instagram colors sometimes (only the block behind the dms list) Also watched story ring is instagrams default color aswell with the icon plus account change menu outlines/border.
@svyis got those. The DMs list won't lose its color anymore after the next update (it happened when a notification started Instagram first). Watched story rings, the switcher outlines and the three-dot button on stories take your color now too. The + on your story and the gap in themed chats I'm still checking.
Thanks for the update!.
@SysAdminDoc Is there you can make "Page dots on pill" has materail you color instead of default blue plus a transparent look that hides the pill and only show the dots?
I tried to do it myself but I don't think this looks good. I'll try to see what else i can do.
@svyis no need to build it yourself 🙂 both are in the next update. With Accent color on, the dot for the page you're on takes your color, Material You included, and Pill look gets Dots only, which hides the pill and keeps just the dots.