CSS Colorguard
- 授权协议: Apache
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/SlexAxton/css-colorguard
- 软件文档: https://github.com/SlexAxton/css-colorguard
软件介绍
CSS Colorguard 是一个 Node.js 扩展,用来分析CSS并标出不必要的接近的颜色值冗余
示例代码:
var colorguard = require('colorguard');
var fs = require('fs');
var css = fs.readFileSync('./file.css', 'utf8');
var output = colorguard.inspect(css, {
// 0 through 100. Lower is more similar. Anything below 3 warns you.
// 3 is the default threshold, but that's mostly personal opinion
threshold: 3,
// This color is just ignored entirely (use with caution)
ignore: ["#030303"],
// These color combinations are ignored (usually use this)
whitelist: [["#000000", "#010101"]]
});
Making Things See
Greg Borenstein / Make / 2012-2-3 / USD 39.99
Welcome to the Vision Revolution. With Microsoft's Kinect leading the way, you can now use 3D computer vision technology to build digital 3D models of people and objects that you can manipulate with g......一起来看看 《Making Things See》 这本书的介绍吧!
