Skip to content

Conversation

@jaredmontoya
Copy link

@jaredmontoya jaredmontoya commented Jan 6, 2026

I used the gnome theme for firefox since before it was added to stylix but when I tried to migrate to the stylix implementation of it I noticed that it doesn't look the same as Nautilus or Epiphany in terms of colors.

So I opened Gnome Epiphany and tried to replicate it's look as closely as possible with my theme(catppuccin-mocha) by tweaking firefoxGnomeTheme implementation in stylix. I think new color mixes should work fine with other themes too but it would be great if someone with a different global color scheme used a color picker to compare their Gnome Epiphany to Firefox with the improved gnome theme. A slight mismatch on the blue channel is sometimes expected but all colors should be very similar.

I also added support for reader mode themeing.


@stylix-automation stylix-automation bot added the topic: modules /modules/ subsystem label Jan 6, 2026
@jaredmontoya jaredmontoya force-pushed the firefox-gnome branch 2 times, most recently from 2011198 to 0800efd Compare January 6, 2026 10:57
@trueNAHO trueNAHO requested review from Flameopathic and danth January 6, 2026 15:27
Copy link
Member

@trueNAHO trueNAHO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I opened Gnome Epiphany and tried to replicate it's look as closely as possible with my theme(catppuccin-mocha) by tweaking firefoxGnomeTheme implementation in stylix.

Thanks a lot for improving the Stylix theme. Note that I did not test this PR yet.

I think new color mixes should work fine with other themes too but it would be great if someone with a different global color scheme used a color picker to compare their Gnome Epiphany to Firefox with the improved gnome theme.

The pending PR #1857 introduces

base16Scheme = "${pkgs.base16-schemes}/share/themes/mellow-purple.yaml";

to make it hopefully visually very obvious when something is unthemed or not adaptive enough. Try using that theme in your setup and see whether everything still looks fine.

Copy link
Contributor

@Flameopathic Flameopathic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM other than the guard on line R63. Visual differences are minor but an improvement. Tested using nix run "github:jaredmontoya/stylix/firefox-gnome#testbed:firefox-gnome-theme:light" and liked what i saw in comparison to upstream. I did not compare it to Epiphany's theming.

Copy link
Contributor

@0xda157 0xda157 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

diff LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: modules /modules/ subsystem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants