ソースを参照

Finish up theme's custom colors.

Caroline Moore 6 年 前
コミット
432f926f21
2 ファイル変更33 行追加14 行削除
  1. 26 12
      ixion/blocks.css
  2. 7 2
      ixion/functions.php

+ 26 - 12
ixion/blocks.css

@@ -398,18 +398,18 @@ hr.wp-block-separator {
 6.0 Blocks - Colors
 --------------------------------------------------------------*/
 
-.has-dark-gray-color,
-.has-dark-gray-color:hover,
-.has-dark-gray-color:focus,
-.has-dark-gray-color:active {
-	color: #333333;
+.has-medium-gray-color,
+.has-medium-gray-color:hover,
+.has-medium-gray-color:focus,
+.has-medium-gray-color:active {
+	color: #a5a29d;
 }
 
-.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: #333333;
+.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: #a5a29d;
 }
 
 .has-light-gray-color,
@@ -458,14 +458,28 @@ hr.wp-block-separator {
 .has-dark-yellow-color:hover,
 .has-dark-yellow-color:focus,
 .has-dark-yellow-color:active {
-	color: #c1a01e;
+	color: #9c8012;
 }
 
 .has-dark-yellow-background-color,
 .has-dark-yellow-background-color:hover,
 .has-dark-yellow-background-color:focus,
 .has-dark-yellow-background-color:active {
-	background-color: #c1a01e;
+	background-color: #9c8012;
+}
+
+.has-dark-gray-color,
+.has-dark-gray-color:hover,
+.has-dark-gray-color:focus,
+.has-dark-gray-color:active {
+	color: #474f53;
+}
+
+.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: #474f53;
 }
 
 .has-black-color,

+ 7 - 2
ixion/functions.php

@@ -46,7 +46,12 @@ if ( ! function_exists( 'ixion_setup' ) ) :
 				array(
 					'name'  => esc_html__( 'Dark Gray', 'ixion' ),
 					'slug' => 'dark-gray',
-					'color' => '#333333',
+					'color' => '#474f53',
+				),
+				array(
+					'name'  => esc_html__( 'Medium Gray', 'ixion' ),
+					'slug' => 'medium-gray',
+					'color' => '#a5a29d',
 				),
 				array(
 					'name'  => esc_html__( 'Light Gray', 'ixion' ),
@@ -66,7 +71,7 @@ if ( ! function_exists( 'ixion_setup' ) ) :
 				array(
 					'name'  => esc_html__( 'Dark Yellow', 'ixion' ),
 					'slug' => 'dark-yellow',
-					'color' => '#c1a01e',
+					'color' => '#9c8012',
 				),
 			)
 		);