浏览代码

Update colors.

Caroline Moore 6 年之前
父节点
当前提交
840aad572b
共有 2 个文件被更改,包括 58 次插入63 次删除
  1. 44 44
      libretto/css/blocks.css
  2. 14 19
      libretto/functions.php

+ 44 - 44
libretto/css/blocks.css

@@ -376,28 +376,28 @@ hr.wp-block-separator {
 .has-medium-gray-color:hover,
 .has-medium-gray-color:focus,
 .has-medium-gray-color:active {
-	color: #999;
+	color: #a09a92;
 }
 
 .has-medium-gray-background-color,
 .has-medium-gray-background-color:hover,
 .has-medium-gray-background-color:focus,
 .has-medium-gray-background-color:active {
-	background-color: #999;
+	background-color: #a09a92;
 }
 
 .has-light-gray-color,
 .has-light-gray-color:hover,
 .has-light-gray-color:focus,
 .has-light-gray-color:active {
-	color: #ddd;
+	color: #d9d6d0;
 }
 
 .has-light-gray-background-color,
 .has-light-gray-background-color:hover,
 .has-light-gray-background-color:focus,
 .has-light-gray-background-color:active {
-	background-color: #ddd;
+	background-color: #d9d6d0;
 }
 
 .has-white-color,
@@ -414,72 +414,72 @@ hr.wp-block-separator {
 	background-color: #fff;
 }
 
-.has-purple-color,
-.has-purple-color:hover,
-.has-purple-color:focus,
-.has-purple-color:active {
-	color: #6636cc;
+.has-red-color,
+.has-red-color:hover,
+.has-red-color:focus,
+.has-red-color:active {
+	color: #932817;
 }
 
-.has-purple-background-color,
-.has-purple-background-color:hover,
-.has-purple-background-color:focus,
-.has-purple-background-color:active {
-	background-color: #6636cc;
+.has-red-background-color,
+.has-red-background-color:hover,
+.has-red-background-color:focus,
+.has-red-background-color:active {
+	background-color: #932817;
 }
 
-.has-dark-purple-color,
-.has-dark-purple-color:hover,
-.has-dark-purple-color:focus,
-.has-dark-purple-color:active {
-	color: #471e9e;
+.has-dark-red-color,
+.has-dark-red-color:hover,
+.has-dark-red-color:focus,
+.has-dark-red-color:active {
+	color: #712012;
 }
 
-.has-dark-purple-background-color,
-.has-dark-purple-background-color:hover,
-.has-dark-purple-background-color:focus,
-.has-dark-purple-background-color:active {
-	background-color: #471e9e;
+.has-dark-red-background-color,
+.has-dark-red-background-color:hover,
+.has-dark-red-background-color:focus,
+.has-dark-red-background-color:active {
+	background-color: #712012;
 }
 
-.has-green-color,
-.has-green-color:hover,
-.has-green-color:focus,
-.has-green-color:active {
+.has-gray-color,
+.has-gray-color:hover,
+.has-gray-color:focus,
+.has-gray-color:active {
 	color: #85cc36;
 }
 
-.has-green-background-color,
-.has-green-background-color:hover,
-.has-green-background-color:focus,
-.has-green-background-color:active {
+.has-gray-background-color,
+.has-gray-background-color:hover,
+.has-gray-background-color:focus,
+.has-gray-background-color:active {
 	background-color: #85cc36;
 }
 
-.has-dark-green-color,
-.has-dark-green-color:hover,
-.has-dark-green-color:focus,
-.has-dark-green-color:active {
-	color: #609d1b;
+.has-dark-gray-color,
+.has-dark-gray-color:hover,
+.has-dark-gray-color:focus,
+.has-dark-gray-color:active {
+	color: #787065;
 }
 
-.has-dark-green-background-color,
-.has-dark-green-background-color:hover,
-.has-dark-green-background-color:focus,
-.has-dark-green-background-color:active {
-	background-color: #609d1b;
+.has-dark-gray-background-color,
+.has-dark-gray-background-color:hover,
+.has-dark-gray-background-color:focus,
+.has-dark-gray-background-color:active {
+	background-color: #787065;
 }
 
 .has-black-color,
 .has-black-color:hover,
 .has-black-color:focus,
 .has-black-color:active {
-	color: #333;
+	color: #26231e;
 }
 
 .has-black-background-color,
 .has-black-background-color:hover,
 .has-black-background-color:focus,
 .has-black-background-color:active {
-	background-color: #333;
+	background-color: #26231e;
 }

+ 14 - 19
libretto/functions.php

@@ -59,17 +59,22 @@ if ( ! function_exists( 'libretto_setup' ) ) :
 				array(
 					'name'  => esc_html__( 'Black', 'libretto' ),
 					'slug' => 'black',
-					'color' => '#333333',
+					'color' => '#26231e',
+				),
+				array(
+					'name'  => esc_html__( 'Dark Gray', 'libretto' ),
+					'slug' => 'dark-gray',
+					'color' => '#787065',
 				),
 				array(
 					'name'  => esc_html__( 'Medium Gray', 'libretto' ),
 					'slug' => 'medium-gray',
-					'color' => '#999999',
+					'color' => '#a09a92',
 				),
 				array(
 					'name'  => esc_html__( 'Light Gray', 'libretto' ),
 					'slug' => 'light-gray',
-					'color' => '#dddddd',
+					'color' => '#d9d6d0',
 				),
 				array(
 					'name'  => esc_html__( 'White', 'libretto' ),
@@ -77,24 +82,14 @@ if ( ! function_exists( 'libretto_setup' ) ) :
 					'color' => '#ffffff',
 				),
 				array(
-					'name'  => esc_html__( 'Purple', 'libretto' ),
-					'slug' => 'purple',
-					'color' => '#6636cc',
-				),
-				array(
-					'name'  => esc_html__( 'Dark Purple', 'libretto' ),
-					'slug' => 'dark-purple',
-					'color' => '#471e9e',
-				),
-				array(
-					'name'  => esc_html__( 'Green', 'libretto' ),
-					'slug' => 'green',
-					'color' => '#85cc36',
+					'name'  => esc_html__( 'Red', 'libretto' ),
+					'slug' => 'red',
+					'color' => '#932817',
 				),
 				array(
-					'name'  => esc_html__( 'Dark Green', 'libretto' ),
-					'slug' => 'dark-green',
-					'color' => '#609d1b',
+					'name'  => esc_html__( 'Dark Red', 'libretto' ),
+					'slug' => 'dark-red',
+					'color' => '#712012',
 				),
 			)
 		);