Manifest Setting for Background Color
See original GitHub issueI use NWJS as an screensaver slideshow.
I’d want to be able to specify the initial background color of the window in the manifest file. Right now NWJS starts with an white background (few Milliseconds) until the index.html is loaded, which sets the color to black.
Example
{
"main": "index.html",
"name": "nw-demo",
"window": {
"title": "node-webkit demo",
"background-color": "#000000"
}
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
background_color - Web app manifests - MDN Web Docs
The background_color member defines a placeholder background color for the application page to display before its stylesheet is loaded.
Read more >Using the web app manifest to specify a site wide theme color
Set a theme-color in the manifest and have it available to all pages on your site when launched from the home screen.
Read more >PWA manifest.json - "theme_color" and "background_color ...
I'm in the process of converting an Angular application to a PWA. The Angular CLI adds the <meta name="theme-color"> tag automatically, so this ......
Read more >Colors in an App Widget - CommonsWare
This one, though, also has an app widget, to show a random color to the user. ... there is no setBackgroundColor() function to...
Read more >Dark theme - Android Developers
Assuming that the background color is always light; Hardcoding text colors; Setting a hardcoded background color, while using the default text color ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@rogerwang any news about this feature?
I see sometime the app stucks into a white screen (before to load the DOM), so we have no chance to put some kind of loader, it could be nice to have at least a background color/image.
Will support this. Thanks.