I thought this would be easy but I haven't been able to find an answer yet. I'm building an app using Quasar Framework, which uses Electron to build desktop apps. It seems that when my MacOS uses a dark theme, the Electron app will also automatically start up with the dark theme (e.g. black page background), which messes up the styling of the app. I want to ensure that the app always starts up with the light theme.
I thought that to enable support for system theming you'd need to change a setting in the config. But it turned out that this doesn't seem to be the case since I didn't change anything and I also couldn't find any related setting via a search.
Related
I'm from Ukraine, so I immediately apologize for my crooked English. I got one very incomprehensible problem with which I can not figure it out. I have created a mobile application for Android and IOS. Absolutely normal application. I tested it on the emulator on several phones. But on one of them, the app didn't look like itself. For some reason it became dark and looked strange (I attached the screenshots). The normal version is white-green, this version was dark. I can't figure out what is the reason. Immediately I will say that the phone is normal and the light theme is enabled on it, the phone has standard settings. And everything else on this phone except this application is displayed normally. Please tell me what is the reason
I tried to change the themes and settings of the phone, and found out that the problem is definitely not in them
enter image description here
so if i make an app using GTK and users install a GTK theme can this change my app theme ??
if yes how to prevent this from happening
You can do this by applying a bundled copy of the default GTK theme in a GtkCssProvider inside your app with the highest priority. However, you should consider not doing it. Some themes are useful for users with accessibility needs, and you would be excluding those users from using your app.
I am looking to pinch/zoom images in an Ionic PWA. I can build PWA’s which work for zooming (the whole window zooms) when opened in a browser, but as soon as I save to Standalone mode this becomes disabled I assume this is due to the metadata provided when creating standalone mode.
I’ve tried the ionic-img-viewer plug-in and it doesn’t help.
I don’t know where else to go with this.
Thanks for any pointers
Shane
Hi the app I'm developing uses the current system theme resources for what to display, but I'd also like to create 2 additional themes. My questions are what is a good way of doing this programatically, and what would the standard GUI be like to do this? Currentl my app is just a single page/window and would like to avoid using a settings page unless that would be how it's typically done. Thanks!
P.S. - I'm new to Windows Phone and have never actually used anything besides the emulator, so I don't have any exerience using any apps on that platform.
Create your own resources to do that.
Usually on a Windows Phone app we use resources like PhoneAccentBrush for the main accent and PhoneBackgroundBrush for the background theme.
For more info on how to acomplish this check out this link
I working with my app. I saw people hub change color when i change theme in settings. And it worked too with my ApplicationBar. But i don't know how to do like this with my grid app ( at the default mode, background can't change until i quit and open this app again.
There seems to be a known issue relating to this particular behaviour :-
Is there a bug when changing themes when app is deactivated and reactivated in Windows Phone Mango