Browse Source

remove unrelated changes

Ben Dwyer 4 năm trước cách đây
mục cha
commit
560987d536

+ 4 - 10
seedlet/inc/wpcom-customize-preview.js

@@ -22,16 +22,10 @@
 	// we need to manually override the "extra CSS" when a user selects a different color palette.
 	wp.customize( 'colors_manager[colors]', function( value ) {
 		value.bind( function( to ) {
-			const { bg, fg1, fg2, txt, link } = to;
-			const extraCSS = `
-				:root {
-					--global--color-background: ${ bg };
-					--global--color-foreground: ${ txt };
-					--global--color-primary: ${ link };
-					--global--color-secondary: ${ fg1 };
-					--global--color-tertiary: ${ fg2 };
-				}
-
+			const { bg, fg1, fg2 } = to;
+			const extraCSS = `/*
+				* Site title text shadow.
+				*/
 				.site-title a {
 					background-image: linear-gradient(to right, ${ fg1 } 100%, transparent 100%);
 					text-shadow: 1px 0px ${ bg },

+ 1 - 1
seedlet/inc/wpcom-editor-colors.php

@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Custom Colors: Seedlet
+ * Custom Editor Colors: Seedlet
  */
 
 // Background Color