Questions tagged [macos-darkmode]

Dark Mode is a feature introduced in macOS Yosemite that changes the primary color scheme of the operating system to one that features light text on dark backgrounds instead of the traditional dark text on light backgrounds. Use this tag for questions specifically related to detection and issues stemming from the use of Dark Mode on macOS as opposed to general light-on-dark color scheme questions.

First introduced in macOS Yosemite and further refined in macOS Mojave, Dark Mode enables uses to toggle the environment design of the operating system to a color scheme that features light text on dark backgrounds as opposed to dark text on light backgrounds.

Apple describes this as "a dramatic new look that's easy on your eyes and helps you focus on your work."

Modern software can detect the presence and use of Dark Mode to allow developers to display their software in a design that matches the aesthetics of other Dark Mode apps.

55 questions
0
votes
1 answer

VAqua v7 lib causing Java application to fail

Im was trying out the VAqua Look and Feel on MacOS Catalina, its included in classpath and I call it like this UIManager.setLookAndFeel("org.violetlib.aqua.AquaLookAndFeel"); but then my code fails with 4/11/2019…
Paul Taylor
  • 13,411
  • 42
  • 184
  • 351
0
votes
0 answers

Prevent Push Button from taking on background color in Dark Mode?

Put a Push Button on a custom NSView that has a background color, and in Light Mode, the button background remains white (both buttons are Push style with the default Tint) — but switch to dark mode and now the button takes on the background behind…
Ken
  • 1,691
  • 5
  • 22
  • 38
0
votes
1 answer

Tricky sass selector nesting

I'm currently adding a dark mode to a site of mine. The change is all handled via a script and takes into account the users preference and also the current appearance of their machine. I basically end up with a 'dark' class on if in dark…
rctneil
  • 7,016
  • 10
  • 40
  • 83
0
votes
0 answers

MacOS: Dark Mode label rendering correctly in Interface Builder but incorrectly at runtime

I have an NSViewController XIB that I am trying to adapt to Dark Mode. In Interface Builder, the label in question seems to change the text correctly, however at runtime, the text is back to its default. I do not modify the label in code at all. I'd…
Henry Cooper
  • 97
  • 1
  • 2
  • 10
0
votes
0 answers

Xcode 10.2 how to enable dark mode for Xcode only, not entire macOS?

I like the Dark Mode for Xcode, but not for all the windows in MacOS - too much change at once. Is there a way/hack to enable dark mode for Xcode windows only? While keeping the rest of MacOS in "Light Mode".
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
0
votes
1 answer

NSScroller Translucent

I am using NSScroller in cocoa app. NSScroller is translucent in mojave dark mode but in looks fine in mojave light mode. I have tried subclassing nsscroller and try to change background color. it changes background color but translucent effect is…
Muhammad
  • 23
  • 1
  • 6
0
votes
0 answers

Why does using contentFilters change the whole window appearance, and can I stop it?

I've got this cute little program (default Xcode Mac app, with this as the ViewController.swift): import Cocoa class ViewController: NSViewController { @IBOutlet var button: NSButton! @IBAction func clicked(_ sender: Any) { if…
Stylin
  • 11
  • 2
0
votes
1 answer

How to Disable Dark Mode for Outlook in macOS?

With the latest update of Microsoft Outlook for Mac (Version 16.20), I activated Dark Mode but, now that I've been using it for a while, I find it difficult to read my mails. How can I switch back to normal mode? I didn't find an option to disable…
Pierre F
  • 1,332
  • 15
  • 33
0
votes
2 answers

macOS Mojave : Is there any way to debug an app in dark mode?

I use macOS in Light Mode. I do not like the dark mode. I am using Xcode. Everything is in light mode and everybody is happy. I am creating a macOS app and I would like to test the app in dark mode. Is there a way to pass an argument or something to…
Duck
  • 34,902
  • 47
  • 248
  • 470
-1
votes
1 answer

How can I change my project to build with MacOS DarkMode

I am colour blind and would like to take advantage of the dark mode in MacOS for my app. I saw this but I don't know if it is correct for my context. Being colourblind I am not in a position to choose my own colour scheme. I just want the standard…
Andrew Truckle
  • 17,769
  • 16
  • 66
  • 164
1 2 3
4