diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 68d225261..ecfdbc16b 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -13621,7 +13621,7 @@ replybg = new Color(theme["Reply Background"]); replyRGB = "rgb(" + (replybg.shiftRGB(parseInt(Conf['Silhouette Contrast'], 10), true)) + ")"; Style.lightTheme = bgColor.isLight(); - svgs = [['captcha-filter', "values='" + (Style.filter(Style.matrix(theme["Text"], theme["Input Background"]))) + " 0 0 0 1 0'"], ['mascot-filter', "values='" + (Style.silhouette(Style.matrix(replyRGB))) + " 0 0 0 1 0'"], ['grayscale', 'id="color" type="saturate" values="0"'], ['icons-filter', "values='-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0'"]]; + svgs = [['captcha-filter', "values='" + (Style.filter(Style.matrix(theme["Text"], theme["Input Background"]))) + " 0 0 0 1 0'"], ['mascot-filter', "values='" + (Style.silhouette(Style.matrix(replyRGB))) + " 0 0 0 1 0'"], ['grayscale', 'id="color" type="saturate" values="0"'], ['icons-filter', "values='-.6 0 0 0 1 0 -.6 0 0 1 0 0 -.6 0 1 0 0 0 1 0'"]]; for (i = _i = 0, _len = svgs.length; _i < _len; i = ++_i) { svg = svgs[i]; Style.svgs[svg[0].replace(/\-/, "")] = Style.generateFilter(svg[0], svg[1]); diff --git a/builds/crx/script.js b/builds/crx/script.js index 73fc27812..d6ae1cc4b 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -13615,7 +13615,7 @@ replybg = new Color(theme["Reply Background"]); replyRGB = "rgb(" + (replybg.shiftRGB(parseInt(Conf['Silhouette Contrast'], 10), true)) + ")"; Style.lightTheme = bgColor.isLight(); - svgs = [['captcha-filter', "values='" + (Style.filter(Style.matrix(theme["Text"], theme["Input Background"]))) + " 0 0 0 1 0'"], ['mascot-filter', "values='" + (Style.silhouette(Style.matrix(replyRGB))) + " 0 0 0 1 0'"], ['grayscale', 'id="color" type="saturate" values="0"'], ['icons-filter', "values='-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0'"]]; + svgs = [['captcha-filter', "values='" + (Style.filter(Style.matrix(theme["Text"], theme["Input Background"]))) + " 0 0 0 1 0'"], ['mascot-filter', "values='" + (Style.silhouette(Style.matrix(replyRGB))) + " 0 0 0 1 0'"], ['grayscale', 'id="color" type="saturate" values="0"'], ['icons-filter', "values='-.6 0 0 0 1 0 -.6 0 0 1 0 0 -.6 0 1 0 0 0 1 0'"]]; for (i = _i = 0, _len = svgs.length; _i < _len; i = ++_i) { svg = svgs[i]; svgs[i] = Style.generateFilter(svg[0], svg[1]); diff --git a/src/Theming/Style.coffee b/src/Theming/Style.coffee index 5e81236a1..e7e941d94 100644 --- a/src/Theming/Style.coffee +++ b/src/Theming/Style.coffee @@ -146,7 +146,7 @@ Style = ['captcha-filter', "values='#{Style.filter Style.matrix theme["Text"], theme["Input Background"]} 0 0 0 1 0'"] ['mascot-filter', "values='#{Style.silhouette Style.matrix replyRGB} 0 0 0 1 0'"] ['grayscale', 'id="color" type="saturate" values="0"'] - ['icons-filter', "values='-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0'"] + ['icons-filter', "values='-.6 0 0 0 1 0 -.6 0 0 1 0 0 -.6 0 1 0 0 0 1 0'"] ] for svg, i in svgs