You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature complement the effect of gradient on background color and correct the blending mode of mixed colors(补充渐变对背景色的影响,并修正混合颜色的混合模式) bugfix fix the issue where the background color of an element would be processed repeatedly when it matched its complementary color(修复元素背景色与补色一致时会被重复处理的问题)
feature added support for some css properties like text-decoration, text-emphasis-color, outline...(新增了一些css属性的支持,比如text-decoration、text-emphasis-color、outline等等) bugfix removed useless values of background-position and background-size(移除了无用的background-position和background-size值)
bugfix fix the issue that the parameter isSwitch of the callback options.begin returned incorrect values in some cases(修复某些情况下 begin 回调的 isSwitch 参数返回错误值的问题)
optimization don't throw the errors of invalid color(不再抛出非法色值的错误) feature support param options.whitelist.attribute(支持白名单新配置options.whitelist.attribute,详见API文档)
optimization remove image mask and data-style(移除图片蒙层以及data-style属性) feature suport getContrast API(支持新方法getContrast,用于计算颜色对比度,详见API文档) bugfix fix the inheritance algorithm of text color(修复文本颜色样式继承算法)