Chrome 最近获得了更新(至少在 Canary 中),您可以在其中修改 Chrome 主题并更改地址栏的背景和文本颜色。但是,我找不到更改这些颜色所需的语法或关键词。
以下来自名为 Just Black 的主题的 manifest.json 文件。我添加"omnibox_background": [ 65, 65, 65 ]
但它没有改变地址栏的背景颜色。
{
"description": "Just Black: when you're feeling extra moody",
"key": "(long random string of characters)",
"manifest_version": 2,
"name": "Just Black",
"theme": {
"colors": {
"bookmark_text": [ 255, 255, 255 ],
"frame": [ 0, 0, 0 ],
"ntp_background": [ 0, 0, 0 ],
"ntp_text": [ 125, 134, 142 ],
"tab_background_text": [ 255, 255, 255 ],
"tab_background_text_inactive": [ 255, 255, 255 ],
"tab_background_text_incognito": [ 255, 255, 255 ],
"tab_background_text_incognito_inactive": [ 255, 255, 255 ],
"tab_text": [ 255, 255, 255 ],
"toolbar": [ 45, 45, 45 ],
"omnibox_background": [ 65, 65, 65 ]
},
"tints": {
"buttons": [ 0.2, 0.2, 0.9 ],
"frame_inactive": [ -1, -1, -1 ],
"frame_incognito": [ -1, -1, -1 ],
"frame_incognito_inactive": [ -1, -1, -1 ]
}
},
"update_url": "https://clients2.google.com/service/update2/crx",
"version": "2"
}