前端大杂烩

亲自制作一套心仪的chrome浏览器皮肤

2020-07-10  本文已影响0人  写写而已

https://github.com/qiaen/just-theme.git

先看看配色吧,我用的是阿里的颜色,其实还可以使用背景图,但是花里花哨的还不如纯色看着舒服

配色预览
{
   "description": "Just Theme: 随心所欲定制自己的chrome配色!",
   "manifest_version": 2,
   "name": "Just Theme",
   "theme": {
      "colors": {
         "bookmark_text": [255, 255, 255],
         "frame": [0, 35, 41],
         "ntp_background": [255, 255, 255],
         "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": [8, 151, 156]
      },
      "tints": {
         "buttons": [0.2, 0.2, 0.9],
         "frame_inactive": [-1, -1, -1],
         "frame_incognito": [-1, -1, -1],
         "frame_incognito_inactive": [-1, -1, -1]
      }
   },
   "version": "2"
}

注意:颜色需是rgb格式,形如[223, 78, 90],否则报错,可以到网上找下转rgb的网站,比如https://www.sioe.cn/yingyong/yanse-rgb-16/

对颜色格式有要求

如果不知道怎么安装主题,点这里https://juejin.im/post/5f06debb5188252e5c576efd 直接翻到第三步,浏览器更多工具,拓展程序,打开开发者模式,加载已解压的拓展程序

上一篇下一篇

猜你喜欢

热点阅读