|
@@ -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 {
|