Questions tagged [darkmode]
General questions related to support of Dark Mode mode themes for OS, framework, and application programming.
darkmode
625
questions
0
votes
0
answers
12
views
JavaScript not finding css-variables - darkmode toggle in WordPress (webflow conversion)
I have an issue with my WordPress website and some custom JavaScript I want to use. The code gets loaded into the site with this script tag on line 16 in the head-section:
<script tr-color-vars=&...
0
votes
0
answers
30
views
Why does ggdark occasionally break ggplot2 in R?
I occasionally get this error:
Error in col2rgb(colour) : invalid color name '~'
when trying to use the ggdark package in R. For example:
p <- ggplot2::ggplot(mtcars, ggplot2::aes(x = wt, y = mpg)...
1
vote
1
answer
82
views
Splash screen background turns to grey in Android App(Apache cordova) on miui (13.0.10)
I am using Apache cordova to create an app. My splash screen background is set to white however when dark mode is enabled it becomes greyish.
It is white when I change it to light mode.
config.xml
<...
0
votes
0
answers
26
views
While change theme mode from setting color are not change in flutter
I'm adding change app theme feature in my app. But not i'm stuck right now. I'm done change app theme inside my app. Like change app theme in Light Mode or Dark Mode is work. But while select System ...
0
votes
0
answers
68
views
WIN32 Menu Bar Color with Dark Mode
I'm updating an old WIN32 app to support dark mode. After creating the window I do the following:
DWMNCRENDERINGPOLICY ncrp = DWMNCRP_ENABLED;
DwmSetWindowAttribute(hwnd, DWMWA_NCRENDERING_POLICY, &...
0
votes
1
answer
37
views
Dark/Light theme rendering issue Blazor .NET8
I'm trying to add a class 'dark' if it is in localstorage, and remove it if there is 'light' as 'mode' in localstorage.
However, I have the feeling that all pages of my blazor .NET8 application are ...
-1
votes
2
answers
92
views
How to override Microsoft Edge's (on iOS) CSS Dark Mode override?
Microsoft Edge for iOS has a browser "Dark mode" theme selector (Light, Dark, System default).
Under "Light" mode or "System default"** (**where iOS's appearance is set ...
0
votes
0
answers
67
views
Enabling Dark Mode in Chromium with C++
I am modifying the Chromium browser using C++. The version of my Chromium is 126.0.6478.122. What I specifically want to do is modify the C++ code at the right places so that a JSON file is read, ...
0
votes
1
answer
39
views
How to control legend symbols in Apache ECharts StackChart?
I have React App where I utilize a few StackChart charts created with Apache's echarts library (at version 5.5.0)
// package.json
{
"name": "client",
"private": true,...
0
votes
0
answers
32
views
How to change background-color of QPushButton in PyQtDarkTheme
I'm trying to change the background-color of my QPushButtons in PyQtDarkTheme, but it just doesn't work.
My real project i'm working on.
I've tried it like this, changing the text-color or ...
0
votes
0
answers
6
views
Looking for a way to set up GitAhead with automatic dark/light mode
Since there is no inbuild theme switcher (there are only two options "Default" and "Dark"), I was wondering if there is another way to get it switch automatically. I use it a lot ...
0
votes
0
answers
21
views
How to apply darkMode in Electron Forge with React
I tried using
const { systemPreferences } = require('electron')
but it is causing this error
ERROR in ./node_modules/electron/index.js
Invalid dependencies have been reported by plugins or loaders ...
0
votes
2
answers
54
views
Localstorage value not updating
I have a toggle button that switches between light / dark mode.
When toggled off, the "mode" local storage key is set to light, when on, "mode" is set to "dark-mode". Or ...
1
vote
1
answer
50
views
Issue with Dynamic Dark Mode Switching in Codename One - Border Remains White
Hello Codename One Team!
I am implementing a dark mode feature. The dark mode works fine when the app is restarted, but when I switch to dark mode dynamically (without restarting the app), the border ...
0
votes
1
answer
56
views
Blazor ApexCharts DarkMode Tooltip and Toolbar not visible
Blazor ApexCharts Nuget Package in Dark Mode, Tooltip and Toolbar aren't visible.
ChartLightMode
ChartDarkMode
@page "/myApprovals"
<MudGrid>
<MudItem xs="12" sm=&...