Themes - How to change color of the buttons? - Printable Version +- CentBrowser Forum (https://www.centbrowser.net/en) +-- Forum: Members Area (https://www.centbrowser.net/en/forumdisplay.php?fid=3) +--- Forum: General Discuss (https://www.centbrowser.net/en/forumdisplay.php?fid=5) +--- Thread: Themes - How to change color of the buttons? (/showthread.php?tid=4020) |
Themes - How to change color of the buttons? - MariaArk - 05-08-2021 I address this question to those who know how to create themes. I don’t know what property can be used to adjust the color of some buttons (tab control button, close, maximize, etc.) and recolor the borders around the active tab and on the borders around the toolbar. I have looked at several manuals, but nowhere is there an answer to my question. Is this possible or are these items not configurable? Manifest code: Code: { RE: Themes - How to change color of the buttons? - MariaArk - 05-09-2021 If anyone finds this topic. I haven't solved the problem completely. I finally found an official manual that says some colors are generated automatically. https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/themes/browser_theme_pack.cc (line 256) If you are making a light frame, the close buttons will be dark and this cannot be fixed (maybe this setting windows10, not chrome). If you make light text in an omnibox, then the omnibox will also turn black when you enter an address. The only thing that I managed to adjust was the borders, again, the color changed automatically only when I changed some properties (by the way, I had to use all possible properties of the color block for more subtle automatic settings of non-customizable properties). This is the best result that I could achieve: RE: Themes - How to change color of the buttons? - Admini - 05-09-2021 The color of tab indicator button and system buttons is the contrast of "colors":"frame" There is a detailed instruction: https://sites.google.com/site/gsugsa/google-apps/google-chrome/how-to-create-a-theme You can look into the file "manifest.json" of this theme: https://chrome.google.com/webstore/detail/slinky-elegant/bmanlajnpdncmhfkiccmbgeocgbncfln |