Questions tagged [darkmode]

General questions related to support of Dark Mode mode themes for OS, framework, and application programming.

Relating to programming for Dark Mode themes. Support of swapping from standard or default modes into Dark Mode.

As more OSes, frameworks, and programs support Light and Dark mode theme selection, programming to handle all theme cases gets complicated, especially on cross-platform apps.

566 questions
-2
votes
1 answer

HxD Hex Editor Dark Theme

I believe the HxD Hex editor is one of the best hex editors on Windows. I was wondering if there is a dark mode for HxD Hex Editor. Or any settings or color codes?
Mohammad Rahimi
  • 965
  • 5
  • 15
-2
votes
1 answer

When changing form background color I'm getting the indexer is read only error

I am trying to make a dark mode for my Windows forms app but am getting and error. Never set any property of my form to read only neither can I find and option to set it to read only public void TemniNacin() { …
Teocko
  • 3
  • 1
-2
votes
1 answer

iOS Settings app dark mode matching colors

I have a UITableViewController with a grouped table view. No matter what I try, I can't match dark mode colors of native Settings app of iOS 14. I tried the following: self.tableView.backgroundColor = UIColor.systemGroupedBackground And…
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
-2
votes
1 answer

why doesn't JavaScript work with dark mode?

I want the dark mode button to change to css when you click on it, that in wait mode the button is dark and in dark mode the button is light! var toggleButton = document.getElementById('mode-toggle') var isDarkMode = false; function myFunction()…
Kangoroo
  • 23
  • 4
-2
votes
1 answer

How to save cookies for Dark/Light Mode Toggle? W3 School Code

When W3 is put on a web page in Dark Mode, it returns to the light theme when the user refreshes it. How to keep it going? [https://www.w3schools.com/howto/howto_js_toggle_dark_mode.asp]
sank
  • 1
-2
votes
3 answers

.style.color don't change the color of an element in JavaScript

I would like to add Dark Mode to my site, so I created an HTML file with the css (in "white mode") and then i added a button (with the attribute onclick="enableDarkMode()") and defined the function like this: function enableDarkMode() { if…
AnonHexo
  • 118
  • 1
  • 13
-2
votes
1 answer

my dark-mode keeps going off after refreshing page

hello I am having trouble by keeping the dark-mode on when I switch pages or I refresh . I tried to play with java codes with no luck does anyone know what code should I add over my js so the it saves my theme ?? this is my code thanks in…
wissam baltaji
  • 330
  • 1
  • 11
-3
votes
2 answers

Background image doesn't appear on HTML email Dark Mode

I am designing HTML email template which look fine on majority devices, iOS's and browsers except Outlook Office 365 on Windows 10 Dark Mode. The problem is that my background image doesn't appear, instead background colour becomes dark. I have a…
dodolap
  • 1
  • 1
-3
votes
3 answers

How can we have multiple them in vuetiy?

Vuetify has light and dark mode And you can easily switch between them . I want to add third one "blue mode" . Is it possible ? And how ??
morteza mortezaie
  • 1,002
  • 14
  • 37
-9
votes
2 answers

Switch between dark and light mode (Swift)

How can I switch between dark and light mode in the complete app when I press a button? I'm using Swift 5 and UIKit in Xcode 12
1 2 3
37
38