desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Theme color

Open KoB-Kirito opened this issue 1 year ago • 75 comments

Captchas

  • [X] I have read the instructions.
  • [X] I have searched existing issues and avoided creating duplicates.
  • [X] I am not filing an enhancement request.

What happened?

The new update uses the windows theme color suddenly. My zen menu and top bar are pink now and I can't find a way to change that back.

Reproducible?

  • [X] I have checked that this issue cannot be reproduced on Mozilla Firefox.

Version

1.6b

What platform are you seeing the problem on?

Windows

Relevant log output if applicable

No response

Data from about:support if applicable (click on the "Copy text to clipboard" button)

about:support
Select this line and paste your about:support clipboard

KoB-Kirito avatar Jan 10 '25 15:01 KoB-Kirito

I found 1 similar issue that might be helpful:

[1] The suggested solution is: Try going to Windows settings > Personalization > and disabling accent color on title bars. This relates to your issue as it addresses the unexpected theme color changes in the application.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

dosubot[bot] avatar Jan 10 '25 15:01 dosubot[bot]

@dosu No, I want to use the accent color on other windows, just not on zen. It's used abnoxiously there.

KoB-Kirito avatar Jan 10 '25 15:01 KoB-Kirito

To disable the use of the Windows accent color specifically for the zen menu and top bar, you can override the CSS variable --zen-colors-primary in the application's stylesheet. This variable is used to apply the theme color to these components. You can redefine it in your custom CSS to set a different color for the zen menu and top bar without affecting other windows.

Here's an example of how you might override this in your CSS:

/* Override the primary color for the zen menu and top bar */
.zen-menu-class, .zen-top-bar-class {
  --zen-colors-primary: #yourPreferredColor;
}

Replace .zen-menu-class and .zen-top-bar-class with the actual classes used in the application for these components, and #yourPreferredColor with the color you want to use [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

dosubot[bot] avatar Jan 10 '25 15:01 dosubot[bot]

Please revert, this is a horrible change that no one on Windows wants!

kris3713 avatar Jan 10 '25 15:01 kris3713

This behavior is new since 1.6b and it's awful. There's no reason to be using a colored theme if Zen is going to override it with the Windows accent color. Please either change it back or make it optional.

GoremanX avatar Jan 10 '25 16:01 GoremanX

Yes, please fix it. The Windows accent color setting is not supposed to affect the contents of a window.

rayn-i avatar Jan 10 '25 17:01 rayn-i

This change breaks transparency (and looks terrible). Please make it optional, I don't want to disable it system-wide just to make one browser look acceptable.

szpatrik5 avatar Jan 10 '25 20:01 szpatrik5

Same, entire sidebar and title bar are using the Windows accent colour, regardless of whether mica flags are enabled or not. I went through about:config and toggled everything with color, accent, windows, restarting Zen between each switch, but there was no change.

Edit: The background of a tab is also the Windows accent colour before any of the content loads.

PillowTrauma avatar Jan 10 '25 20:01 PillowTrauma

I appreciate that this is a fix to the previous buggy accent color at the top of the window with mica turned on. But now this forces me to disable my accent color system-wide to get rid of this thick purple outline, or just deal with it because I like the thin purple outline on Windows File Explorer.

I would love for there to be a way to disable usage of the system accent color for Zen alone without affecting the rest of my system if this is the way the accent color is going to be used on Zen.

j4yn1ck5 avatar Jan 10 '25 20:01 j4yn1ck5

+1 to making it an option as I really really do not like how it uses the Windows accent colors, I would love a toggle have it behave as it did previously, without being affected by the Windows theme at all.

SearingEchoes avatar Jan 11 '25 07:01 SearingEchoes

Beyond the problem of using Windows colors, this issue appears to prevent Firefox themes from applying as well. I would personally like to use one of those.

11-Lambda avatar Jan 11 '25 10:01 11-Lambda

By fluent design principles, the neutral palette is used on used on surfaces, text, and layout elements, whereas accent colours should be used sparingly to accent and highlight important areas of an interface. This is what the operating system's accent colour is meant for—to highlight important items worth the user's attention. By applying it to the entire toolbar, the visual hierarchy is diluted to the point where the element which is supposed to stay out of the way becomes the most distracting. This makes no sense from a design standpoint, and reverting this change is most appropriate.

JSGRD22 avatar Jan 11 '25 10:01 JSGRD22

It also breaks light theme image

firestormjupiter form the discord has a workaround. Go to the Windows settings, and disable: Show accent colors on tile bars and window borders

A2va avatar Jan 11 '25 12:01 A2va

Add me to the growing list of people who don't like this change. There is no system-wide Windows setting that somebody should be forced to modify in order for a browser to work correctly with themes.

cmwmlw avatar Jan 12 '25 00:01 cmwmlw

@dosu where can i find the applications stylesheet

starshineofgreenspace avatar Jan 12 '25 05:01 starshineofgreenspace

hi all i'd like to share some leads i have on fixing this: i used this guide to learn about editing files https://docs.zen-browser.app/guides/live-editing

i located browser-colors.css, which contains the line
@media not ((-moz-windows-mica) or ((-moz-windows-accent-color-in-titlebar) and (-moz-bool-pref: "browser.theme.windows.accent-color-in-tabs.enabled"))) --- from here it defines light/dark defaults

so... without this line i guess it would use defaults? deleting it didn't work and i dont fully understand the capabilities of the toolbox. maybe i would have to reference it though a userChrome file to functionally edit it? and my toolbox refuses to detect a userchrome file in the chrome folder and i'm lost so goodnight

starshineofgreenspace avatar Jan 12 '25 07:01 starshineofgreenspace

The fix is easy, the change needs to be reverted.

I couldn't tolerate this, so I switched to a different web browser altogether.

GoremanX avatar Jan 12 '25 13:01 GoremanX

The fix is easy, the change needs to be reverted.

I couldn't tolerate this, so I switched to a different web browser altogether.

Another option I found is to downgrade from this version to the previous version.

kris3713 avatar Jan 12 '25 18:01 kris3713

That requires disabling automatic updates, and downgrading an existing installation can lead to wonky issues

GoremanX avatar Jan 12 '25 20:01 GoremanX

Another option I found is to downgrade from this version to the previous version.

The files have a .mar extension. From what I can tell that's associated to Microsoft Access database, something that was retired many years ago. Do you know if there's a zip version instead? I'd definitely reinstall the previous version, wait until they fix this bug.

cmwmlw avatar Jan 13 '25 02:01 cmwmlw