question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Manifest Setting for Background Color

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
AndryBraycommented, Oct 18, 2016

@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.

2reactions
rogerwangcommented, Jul 19, 2016

Will support this. Thanks.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found