sass a11ycolor:使用Sass生成最近的可访问颜色 源码
:rainbow: Sass-A11yColor 使用Sass生成最接近的可访问颜色。 安装 npm install sass-a11ycolor 用法 @import node-modules / sass-a11ycolor / dist / index body { color : AU-a11ycolor ( red , blue ); } 这将编译为: body { color : # ffa3a3 ; } 参量 功能AU-a11ycolor具有三个参数: AU-a11ycolor( $toMakeA11y , $background , $ratioKey : '
下载地址
用户评论