| @@ -91,8 +91,22 @@ | ||
| 91 | 91 | 'title' => __( 'Styles theme', 'yaymail' ), |
| 92 | 92 | 'default_value' => isset( $attributes['style'] ) ? $attributes['style'] : 'Colorful', |
| 93 | 93 | 'type' => 'style', |
| 94 | 94 | ], |
| 95 | + 'icon_color' => [ | |
| 96 | + 'value_path' => 'icon_color', | |
| 97 | + 'component' => 'Color', | |
| 98 | + 'title' => __( 'Icon color', 'yaymail' ), | |
| 99 | + 'default_value' => isset( $attributes['icon_color'] ) ? $attributes['icon_color'] : '#333333', | |
| 100 | + 'type' => 'style', | |
| 101 | + 'conditions' => [ | |
| 102 | + 'condition_1' => [ | |
| 103 | + 'attribute' => 'theme', | |
| 104 | + 'comparison' => '==', | |
| 105 | + 'value' => 'Custom', | |
| 106 | + ], | |
| 107 | + ], | |
| 108 | + ], | |
| 95 | 109 | 'icon_list' => [ |
| 96 | 110 | 'value_path' => 'icon_list', |
| 97 | 111 | 'component' => 'SocialList', |
| 98 | 112 | 'title' => __( 'Social', 'yaymail' ), |