添加整个网站变灰的开关 添加网站变灰的css文件 12345html { -webkit-filter: grayscale(100%); filter: grayscale(100%); filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);} index.styl 控制该css文件是否引入 12if hexo-config('whole_blog_grey.enable') @import 'grey/index.css' 效果