Browse Source

bump the version number for morden

Ben Dwyer 4 years ago
parent
commit
5dac8602ac

+ 1 - 1
morden/sass/style-child-theme.scss

@@ -5,7 +5,7 @@ Author: Automattic
 Author URI: https://automattic.com/
 Description: Morden is a functional and responsive multi-purpose theme that is the perfect solution for your business's online presence.
 Requires at least: WordPress 4.9.6
-Version: 1.6.6
+Version: 1.6.7
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Template: varia

+ 9 - 0
morden/style-editor.css

@@ -220,6 +220,10 @@ a:hover {
 	color: var(--wp--preset--color--primary-hover);
 }
 
+.has-primary-background-color a:not(.has-text-color) {
+	color: var(--wp--preset--color--background);
+}
+
 button,
 a {
 	cursor: pointer;
@@ -598,6 +602,11 @@ object {
 	background: transparent;
 }
 
+.has-primary-background-color .wp-block-button__link.is-style-outline:not(.has-text-color), .has-primary-background-color
+.is-style-outline .wp-block-button__link:not(.has-text-color) {
+	color: var(--wp--preset--color--background);
+}
+
 .wp-block-button__link.is-style-squared,
 .is-style-squared .wp-block-button__link {
 	border-radius: 0;

+ 10 - 1
morden/style-rtl.css

@@ -6,7 +6,7 @@ Author: Automattic
 Author URI: https://automattic.com/
 Description: Morden is a functional and responsive multi-purpose theme that is the perfect solution for your business's online presence.
 Requires at least: WordPress 4.9.6
-Version: 1.6.6
+Version: 1.6.7
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Template: varia
@@ -713,6 +713,10 @@ a:hover {
 	color: var(--wp--preset--color--primary-hover);
 }
 
+.has-primary-background-color a:not(.has-text-color) {
+	color: var(--wp--preset--color--background);
+}
+
 button,
 a {
 	cursor: pointer;
@@ -1475,6 +1479,11 @@ button[data-load-more-btn], .button {
 	color: var(--wp--preset--color--primary-hover);
 }
 
+.has-primary-background-color .wp-block-button.is-style-outline.wp-block-button__link:not(.has-text-color), .has-primary-background-color
+.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color) {
+	color: var(--wp--preset--color--background);
+}
+
 .wp-block-button.is-style-squared,
 .wp-block-button.is-style-squared .wp-block-button__link {
 	border-radius: 0;

+ 10 - 1
morden/style.css

@@ -6,7 +6,7 @@ Author: Automattic
 Author URI: https://automattic.com/
 Description: Morden is a functional and responsive multi-purpose theme that is the perfect solution for your business's online presence.
 Requires at least: WordPress 4.9.6
-Version: 1.6.6
+Version: 1.6.7
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Template: varia
@@ -713,6 +713,10 @@ a:hover {
 	color: var(--wp--preset--color--primary-hover);
 }
 
+.has-primary-background-color a:not(.has-text-color) {
+	color: var(--wp--preset--color--background);
+}
+
 button,
 a {
 	cursor: pointer;
@@ -1475,6 +1479,11 @@ button[data-load-more-btn], .button {
 	color: var(--wp--preset--color--primary-hover);
 }
 
+.has-primary-background-color .wp-block-button.is-style-outline.wp-block-button__link:not(.has-text-color), .has-primary-background-color
+.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color) {
+	color: var(--wp--preset--color--background);
+}
+
 .wp-block-button.is-style-squared,
 .wp-block-button.is-style-squared .wp-block-button__link {
 	border-radius: 0;

+ 1 - 1
varia/sass/blocks/button/_style.scss

@@ -30,7 +30,7 @@ input[type="submit"],
 		}
 
 		&:active {
-			color: #{map-deep-get($config-button, "color", "text")};
+			color: #{map-deep-get($config-button, "color", "background")};
 		}
 
 		&:hover,