HushGram icon indicating copy to clipboard operation
HushGram copied to clipboard

feat: Native Material You / Dynamic colors

Open svyis opened this issue 1 month ago • 22 comments

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.

svyis avatar Oct 14 '26 17:10 svyis

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.

SysAdminDoc avatar Oct 16 '26 00:10 SysAdminDoc

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

Image

This would help to make Material You much more uniform throughout HushGram.

svyis avatar Oct 25 '26 07:10 svyis

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.

SysAdminDoc avatar Nov 09 '26 02:11 SysAdminDoc

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.

Image Image Image

alok1nanda avatar Nov 09 '26 08:11 alok1nanda

Same with the inbox.

Image

alok1nanda avatar Nov 10 '26 08:11 alok1nanda

@SysAdminDoc

alok1nanda avatar Nov 12 '26 20:11 alok1nanda

Also the glass bar has no colour..

Screenshot_20261113-224053

alok1nanda avatar Nov 13 '26 21:11 alok1nanda

Also if we can have some space between the progress bar and the tab bar

alok1nanda avatar Nov 13 '26 21:11 alok1nanda

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

image

also verified icon in profile tab

IMG_20261114_233202_cleanup

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

image

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.

svyis avatar Nov 14 '26 18:11 svyis

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.

svyis avatar Nov 18 '26 15:11 svyis

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 avatar Nov 24 '26 11:11 svyis

@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.

SysAdminDoc avatar Nov 25 '26 15:11 SysAdminDoc

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.

IMG_20261126_021820

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.

IMG_20261126_023624

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 avatar Nov 25 '26 21:11 svyis

@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 avatar Nov 26 '26 00:11 SysAdminDoc

@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.

IMG_20261126_143259 IMG_20261126_143205

svyis avatar Nov 26 '26 09:11 svyis

@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.

SysAdminDoc avatar Nov 26 '26 14:11 SysAdminDoc

Thanks for the update!.

svyis avatar Nov 26 '26 15:11 svyis

@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?

svyis avatar Nov 26 '26 18:11 svyis

image

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 avatar Nov 27 '26 10:11 svyis

@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.

SysAdminDoc avatar Nov 27 '26 16:11 SysAdminDoc