浏览代码

Also add the new color to the JS

Ben Dwyer 4 年之前
父节点
当前提交
3b4fe51e6c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      varia/inc/color-annotations-preview.js

+ 1 - 1
varia/inc/color-annotations-preview.js

@@ -73,7 +73,7 @@ function changeColorLuminescence( hex, amount ) {
 				var primaryHover = changeColorLuminescence( primary, 10 );
 				var primaryDark = changeColorLuminescence( primary, -10 );
 				cssVariables += '--wp--preset--color--primary: ' + primary + ';' +
-				'--wp--preset--color--primary-hover: ' + primaryHover + ';';
+				'--wp--preset--color--primary-hover: ' + primaryHover + ';' +
 				'--wp--preset--color--primary-dark: ' + primaryDark + ';';
 			}