background插件
直接把原来的配置文件清空,让后将下列代码copy进去;或者直接替换配置文件,配置文件下载链接在文章末尾哦
{
/** 编辑器背景 */
"window.titleBarStyle": "custom", //首先把标题栏改为非原生的
"background.enabled": true,
"background.useDefault": false,
"background.customImages": [
"https://oss.ayou.ink/img/8c.png" //图片地址
],
//这些都像css那样可以改样式的
"background.style": {
"content": "''",
"pointer-events": "none",
"position": "absolute",
"z-index": "99999",
"width": "100%",
"height": "100%",
"background-position": "cover",
"background-repeat": "no-repeat",
"background-size": "cover",
"opacity": 0.3 //这个是设置透明度
},
"background.fullscreen": {
"image": "",
"images": [],
"opacity": 0.91,
"size": "cover",
"position": "center",
"interval": 0
},
"files.autoSave": "afterDelay",
"explorer.confirmDelete": false
}
评论 (0)