node.js - How to change the gray-ish default toolbar/taskbar color of an app in node-webkit (NW.js) (I'm on a mac)? -
i want change default toolbar color of app. change color: #16171a. here link to app built in nw.js toolbar color changed.
this package.json of app
package.json
{ "name": "sampleapp", "main": "index.html", "window":{ "toolbar": false, "width": 800, "height": 500 } }
this index.html of app
index.html
<html> <head> <title>hello world!</title> <style> body{ background-color: #16171a; } h1{ text-align: center; color: #fff; } </style> </head> <body> <h1>hello world!</h1> </body> </html>
there no setting allows change colour. can use frameless window , recreate os window interaction elements. info should need here: https://github.com/nwjs/nw.js/wiki/frameless-window
Comments
Post a Comment