【发布时间】:2015-12-31 22:07:00
【问题描述】:
我一直在尝试创建一个个性化的主题,但每次我上传 chrome 时都会说 “必需的值 'version' 丢失或无效。它必须是 1-4 个点分隔的整数,每个整数介于 0 和 65536 之间'这是我第一次尝试,所以我不知道我必须改变什么。即使我做了,我也会改变它。我该如何解决这个问题? p>
{
"manifest_version": 2,
"name": "Chrome Themes",
"theme": {
"images" : {
"theme_frame" : "Images/Cracked Dimensions.jpg",
"theme_toolbar" : "Images/Cracked Dimensions.jpg",
"theme_ntp_background" : "Images/Halloween Whopper.jpg",
"theme_tab_background" : "Images/Halloween Whopper.jpg"}
}
,"colors" : {
"ntp_link": [118,17,25],
"ntp_text": [118,17,25],
"ntp_section_link": [118,17,25],
"ntp_section_text": [51 , 55 , 58],
"ntp_background": [51 , 55 , 58],
"frame": [51 , 55 , 58],
"toolbar": [51 , 55 , 58],
"tab_text": [118,17,25],
"tab_background_text": [51 , 55 , 58],
"bookmark_text": [118,17,25]
},
"tints" : {
"buttons" : [0.33, 0.5, 0.47],
"frame_inactive": [0.50, 0.50, 0.50],
"frame_incognito_inactive": [0.50, 0.50, 0.50]
},
"properties" : {
"ntp_background_alignment" : "center",
"ntp_background_repeat": "no-repeat"
}
}
【问题讨论】: