0

我想修改Black red shards 主题以供我个人使用,但正如您从下面这张图片中看到的那样,背景并没有填满整个高度。这可以在 macOS 上重现,并将窗口拉伸到全高(忽略停靠栏),或者在这种情况下,全屏。背景是 1920x1080,我的显示器是 1920x1200,我怀疑这是损坏的原因。将我的显示器缩放到 1920x1080 会拉伸我的屏幕使其变得丑陋,那么我有哪些选择?

在此处输入图像描述

manifest.json 文件的相关部分在这里:

   "name": "Black red shards",
   "theme": {
      "colors": {
         "bookmark_text": [ 255, 0, 0 ],
         "button_background": [ 255, 0, 0, 1 ],
         "frame": [ 66, 116, 201 ],
         "ntp_background": [ 0, 2, 2 ],
         "ntp_text": [ 255, 0, 0 ],
         "tab_background_text": [ 255, 0, 0 ],
         "tab_text": [ 255, 0, 0 ],
         "toolbar": [ 0, 0, 0 ],
     "omnibox_text": [ 255, 0, 0 ]
      },
      "images": {
         "theme_frame": "images/theme_frame.jpeg",
         "theme_ntp_background": "images/theme_ntp_background.jpeg",
         "theme_tab_background": "images/theme_tab_background.png",
         "theme_toolbar": "images/theme_toolbar.jpeg"
      },
      "properties": {
         "ntp_background_alignment": "bottom",
         "ntp_background_repeat": "no-repeat"
      },
      "tints": {
         "buttons": [ 0, 1, 0.5 ]
      }
   },
4

2 回答 2

0

你猜对了。您的选择是放大图像的分辨率,使其与您的显示器分辨率相匹配。https://ibb.co/8XxsDH9是一张 1920x1200 的图片,原图放大了。

于 2020-10-16T04:15:51.393 回答
0

看起来谷歌已经修复了这个错误,现在它恢复了正常。

于 2020-10-24T23:17:07.583 回答