Issue with Dark Mode
Moderator: dbsoft
Forum rules
Important note:
The old Mac OS versions of Pale Moon were provided by various people and not official or in any way organized. Please make sure you check the date of topic threads to know if the topic is current or relevant! We are using this board for both old discussions and new development of Pale Moon on Mac.
Any specific bugs you find that don't have their own topic yet: please make a new topic; one bug per topic please to keep things organized.
Important note:
The old Mac OS versions of Pale Moon were provided by various people and not official or in any way organized. Please make sure you check the date of topic threads to know if the topic is current or relevant! We are using this board for both old discussions and new development of Pale Moon on Mac.
Any specific bugs you find that don't have their own topic yet: please make a new topic; one bug per topic please to keep things organized.
-
- New to the forum
- Posts: 1
- Joined: 2024-04-10, 13:13
Issue with Dark Mode
Hello,
My Macbook is updated to the latest OS (Ventura 13.6.5) and I have the native Dark Mode activated.
I installed the latest version of Pale Moon (33.0.2 - 64 bit).
I have the theme Dark Moon 2.7.2 installed.
I am also using the following two extensions together:
AutoPageColor 2.2.1
Swarth 1.1.0
The issue is that the top bar on Pale Moon is white in color. I have tried to tweak all settings but I cannot find a way to change it to dark. All the other applications on my Mac have a black bar on the top. Another issue I just noticed is that when I try to attach a file with this message, the dialog box that pops up is white too. A screenshot is attached for both issues.
Any help would be really appreciated.
Thank you.
My Macbook is updated to the latest OS (Ventura 13.6.5) and I have the native Dark Mode activated.
I installed the latest version of Pale Moon (33.0.2 - 64 bit).
I have the theme Dark Moon 2.7.2 installed.
I am also using the following two extensions together:
AutoPageColor 2.2.1
Swarth 1.1.0
The issue is that the top bar on Pale Moon is white in color. I have tried to tweak all settings but I cannot find a way to change it to dark. All the other applications on my Mac have a black bar on the top. Another issue I just noticed is that when I try to attach a file with this message, the dialog box that pops up is white too. A screenshot is attached for both issues.
Any help would be really appreciated.
Thank you.
You do not have the required permissions to view the files attached to this post.
-
- Lunatic
- Posts: 403
- Joined: 2014-02-23, 17:25
- Location: Greenbrier County, West Virginia
Re: Issue with Dark Mode
I would suggest you disable those two extensions and see if either or both contribute to this issue. Also, try another one of the dark themes available, with and without those extensions. Good luck.

'If you change the way you look at things, the things you look at change.'
-
- Themeist
- Posts: 1579
- Joined: 2012-02-09, 23:35
- Location: United Kingdom
Re: Issue with Dark Mode
I'm pretty sure that no theme can style the titlebar on a Mac (even the default). Though I'm not sure how it reacts with the native dark mode - I don't use macOS.
-
- Keeps coming back
- Posts: 886
- Joined: 2017-10-10, 21:20
Re: Issue with Dark Mode
I am using the dark mode with MacOS. Some applications do not have a title bar, some (like Pale Moon and SeaMonkey) have a white title bar, and both LibreWolf with its dark theme and Vivaldi with one of the dark themes have black title bars. I really do not control the colour of the title bars. I think it depends on the application.
-
- Keeps coming back
- Posts: 842
- Joined: 2018-05-17, 02:34
- Location: Los Berros Canyon, California
Re: Issue with Dark Mode
A cursory search online indicates the Mac UI expects a window to have "titlebarAppearsTransparent" set to true and then to set the background color of the window to the color you wish for the titlebar to be. A comment on StackOverflow seems to hint that a hidden theme name, "vibrantDark", can be used to force the text color to white. Looking at the current nsNativethemeCocoa.mm file, seems like UXP is setting a named NSAppearance of "Aqua" on Yosemite+.
-
- Project Contributor
- Posts: 490
- Joined: 2020-02-21, 17:35
Re: Issue with Dark Mode
We currently force Aqua (light) appearance in both the code and in the Info.plist.
The reason for this is when building with these newer SDKs that support dark mode, foreground and background colors get inverted. The Pale Moon MacOS theme does not take this into account and thus in dark mode Pale Moon becomes unusable because you can't read the text with the light theme.
I have it on my long term TODO list to allow it to function in dark mode, but it will require a rework to the theme... or a second dark mode compatible MacOS theme.
The reason for this is when building with these newer SDKs that support dark mode, foreground and background colors get inverted. The Pale Moon MacOS theme does not take this into account and thus in dark mode Pale Moon becomes unusable because you can't read the text with the light theme.
I have it on my long term TODO list to allow it to function in dark mode, but it will require a rework to the theme... or a second dark mode compatible MacOS theme.
-
- Keeps coming back
- Posts: 886
- Joined: 2017-10-10, 21:20
Re: Issue with Dark Mode
I have noticed that the default theme of Pale Moon uses light system colours, while I use the dark theme for the system interface. Buttons in dialog boxes are hard to read with white text on a light background because sometimes the colours used by the operating system are coming through. This does not make much sense to me. Why not either let all the colours of the shell come through or block them all?dbsoft wrote: ↑2024-04-16, 20:26We currently force Aqua (light) appearance in both the code and in the Info.plist.
The reason for this is when building with these newer SDKs that support dark mode, foreground and background colors get inverted. The Pale Moon MacOS theme does not take this into account and thus in dark mode Pale Moon becomes unusable because you can't read the text with the light theme.
I have it on my long term TODO list to allow it to function in dark mode, but it will require a rework to the theme... or a second dark mode compatible MacOS theme.
This is one reason why I use third-party themes which control all the colours.