9

Ever since I updated to Mojave I hated the fact that they put white borders on every window and on the dock in dark mode like those ones:

enter image description here

But because of this post I was finally able to remove those borders from the Dock by replacing dockbackgrounddark.png and dockbackgrounddarkax.png from /System/Library/CoreServices/Dock.app/Contents/Resources with blank files. I was to happy that it was possible to do that:

Before: enter image description here

After enter image description here

I then spent hours of searching through resources so I can find where the borders for the apps are located at but I couldn't find anything and I really want to find them. I would be so thankful if anyone could help find those.

It is possible to adapt / suppress the white border on app windows as well?

bmike
  • 235,889
Ax M
  • 191
  • 2
    I put +1 since this has great images. I added what I think to be the final question that was left inferred or unsaid. Please refine my edit if the “ask” isn’t clear at the end of your post. – bmike May 11 '20 at 23:40
  • Those white borders are likely put there by the developer of the app. So to do this you would have to find the images inside the app bundle, which may break the bundle and hence the app itself. – Steve Chambers May 12 '20 at 13:51
  • Hi, this is not correct I am so sorry... The borders are present on every app and window, even in finder ever since macOS Mojave and this is a known thing. My screenshot shows spotify just as an example – Ax M May 12 '20 at 14:14
  • Did you manage to solve this? The white border also bothers me. – Pablo Oct 01 '20 at 08:01
  • I haven't manage to solve it yet. – Ax M Nov 04 '20 at 14:09

1 Answers1

1

This is the system behavior in dark mode, the white border is generated from code. There's no image for it.

More details, for titled windows (NSWindow), all windows get a default white border in dark mode. Unless the app developer explicitly removes the .titled style mask or uses a transparent window background color. Users has no way to remove this white board.

Honghao Z
  • 121