Browse Source

Update the color annotations comment

Ben Dwyer 4 years ago
parent
commit
8b13e448e3
2 changed files with 26 additions and 26 deletions
  1. 20 20
      seedlet/inc/wpcom-colors.php
  2. 6 6
      seedlet/style.css

+ 20 - 20
seedlet/inc/wpcom-colors.php

@@ -1,10 +1,10 @@
-<?php 
+<?php
 
 /*
  * Custom Colors: Seedlet
  */
 
-// Background Color 
+// Background Color
 // --global--color-background
 add_color_rule( 'bg', '#FFFFFF', array(
 
@@ -91,7 +91,7 @@ add_color_rule( 'bg', '#FFFFFF', array(
 ), __( 'Background Color' ) );
 
 // Foreground Color
-// --global--color-background
+// --global--color-foreground-light
 add_color_rule( 'txt', '#444444', array(
 
 	// Text-color
@@ -154,7 +154,7 @@ add_color_rule( 'txt', '#444444', array(
 
 	// Background-color
 	array( '.wp-block-pullquote.is-style-solid-color,
-			.wp-block-cover-image.has-background-dim, 
+			.wp-block-cover-image.has-background-dim,
 			.wp-block-cover.has-background-dim', 'background-color' ),
 
 	// Border-bottom-color
@@ -302,7 +302,7 @@ add_color_rule( 'fg1', '#3C8067', array(
 			input[type="submit"]', 'background-color' ),
 
 	// Border-color
-	array( '.primary-navigation .menu-item > a:hover, 
+	array( '.primary-navigation .menu-item > a:hover,
 			.woo-navigation .menu-item > a:hover,
 			.entry-meta a:hover,
 			.entry-footer a:hover,
@@ -320,10 +320,10 @@ add_color_rule( 'fg1', '#3C8067', array(
 
 	// Outline-color
 	array( '.site :focus', 'outline-color' ),
-	
+
 	// Background-image
 	array( '.site-title a', 'Background-image' ),
-	
+
 	// Text-decoration-color
 	array( '.site-title > a', 'text-decoration-color' ),
 
@@ -458,7 +458,7 @@ add_color_rule( 'fg2', '#FAFBF6', array(
 ), __( 'Tertiary Color' ) );
 
 /**
- * Custom CSS. 
+ * Custom CSS.
  * The plugin takes the body of this function and applies it in a style tag in the document head.
  */
 function seedlet_custom_colors_extra_css() {
@@ -467,24 +467,24 @@ function seedlet_custom_colors_extra_css() {
 	$color_fg1 = $colors_array['colors']['fg1'];
 	$color_fg2 = $colors_array['colors']['fg2']; ?>
 
-	/* 
-	 * Site title text shadow. 
+	/*
+	 * Site title text shadow.
 	*/
 	.site-title a {
 		background-image: linear-gradient(to right, <?php echo $color_fg1; ?> 100%, transparent 100%);
-		text-shadow: 1px 0px <?php echo $color_bg; ?>, 
-					 -1px 0px <?php echo $color_bg; ?>, 
-					 -2px 0px <?php echo $color_bg; ?>, 
-					 2px 0px <?php echo $color_bg; ?>, 
-					 -3px 0px <?php echo $color_bg; ?>, 
-					 3px 0px <?php echo $color_bg; ?>, 
-					 -4px 0px <?php echo $color_bg; ?>, 
-					 4px 0px <?php echo $color_bg; ?>, 
-					 -5px 0px <?php echo $color_bg; ?>, 
+		text-shadow: 1px 0px <?php echo $color_bg; ?>,
+					 -1px 0px <?php echo $color_bg; ?>,
+					 -2px 0px <?php echo $color_bg; ?>,
+					 2px 0px <?php echo $color_bg; ?>,
+					 -3px 0px <?php echo $color_bg; ?>,
+					 3px 0px <?php echo $color_bg; ?>,
+					 -4px 0px <?php echo $color_bg; ?>,
+					 4px 0px <?php echo $color_bg; ?>,
+					 -5px 0px <?php echo $color_bg; ?>,
 					 5px 0px <?php echo $color_bg; ?>;
 	}
 
-	/* 
+	/*
 	 * Custom gradients.
 	*/
 	.has-hard-diagonal-gradient-background {

+ 6 - 6
seedlet/style.css

@@ -29,13 +29,13 @@ GNU General Public License for more details.
 Seedlet is derived from Twenty Nineteen. 2018-2020 WordPress.org
 Twenty Nineteen is distributed under the terms of the GNU GPL v2 or later.
 
-Seedlet is also based on Underscores https://underscores.me/, (C) 2012-2018 Automattic, Inc. 
+Seedlet is also based on Underscores https://underscores.me/, (C) 2012-2018 Automattic, Inc.
 Underscores is distributed under the terms of the GNU GPL v2 or later.
 
 Normalizing styles have been helped along thanks to the fine work of
 Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
 
-Unless otherwise noted, the icons in this theme are derived from the 
+Unless otherwise noted, the icons in this theme are derived from the
 WordPress Icons Library, licensed under the terms of the GNU GPL v2 or later.
 https://github.com/WordPress/gutenberg/tree/master/packages/icons
 
@@ -55,7 +55,7 @@ Included as part of the following classes and functions:
 
 Color Contrast Validation
 Copyright (C) 2016 Per Soderlind
-License: GNU General Public License v3 
+License: GNU General Public License v3
 License URI: http://www.gnu.org/licenses/gpl-3.0.html
 Source: https://github.com/soderlind/2016-customizer-demo
 Included as part of the following classes and functions:
@@ -2399,7 +2399,7 @@ table th,
 
 /* Block Alignments */
 /**
- * These selectors set the default max width for content appearing inside a post or page. 
+ * These selectors set the default max width for content appearing inside a post or page.
  */
 /**
  * .alignleft
@@ -2778,8 +2778,8 @@ table th,
 	padding-left: var(--global--spacing-vertical) !important;
 }
 
-/* 
- * Custom gradients 
+/*
+ * Custom gradients
 */
 .has-hard-diagonal-gradient-background {
 	background: linear-gradient(to bottom right, var(--global--color-secondary) 49.9%, var(--global--color-tertiary) 50%);