1

Is there a way to customize title bar in chrome packaged app? I need to add some text and change the color of background.

I search something like this (which customizes scrollbar):

::-webkit-scrollbar {
width: 15px;
background: #fcfcfc;
    }
::-webkit-scrollbar-thumb {
    background: #a5d0ff;
    -webkit-border-radius: .8ex;
}
31415926
  • 3,811
  • 7
  • 47
  • 78

1 Answers1

4

I don't think there are any CSS selectors which target the application's title bar, but you don't have to use the system title bar at all in a Chrome app.

You can specify frame: "none" in the options object when you create your window -- that will completely remove the title bar, and you can add your own, using HTML and CSS for content and styling.

Demo app: link

wOxxOm
  • 65,848
  • 11
  • 132
  • 136
Ian Clelland
  • 43,011
  • 8
  • 86
  • 87