| @@ -14,9 +14,9 @@ | ||
| 14 | 14 | return __( 'Property Meta', 'propertyhive' ); |
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | public function get_icon() { |
| 18 | - return 'fa fa-list'; | |
| 18 | + return 'eicon-bullet-list'; | |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | public function get_categories() { |
| 22 | 22 | return [ 'property-hive' ]; |
| @@ -25,9 +25,9 @@ | ||
| 25 | 25 | public function get_keywords() { |
| 26 | 26 | return [ 'property hive', 'propertyhive', 'property', 'meta' ]; |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | - protected function _register_controls() { | |
| 29 | + protected function register_controls() { | |
| 30 | 30 | |
| 31 | 31 | $this->start_controls_section( |
| 32 | 32 | 'style_section', |
| 33 | 33 | [ |
| @@ -40,9 +40,11 @@ | ||
| 40 | 40 | \Elementor\Group_Control_Typography::get_type(), |
| 41 | 41 | [ |
| 42 | 42 | 'name' => 'typography', |
| 43 | 43 | 'label' => __( 'Typography', 'propertyhive' ), |
| 44 | - 'scheme' => \Elementor\Scheme_Typography::TYPOGRAPHY_1, | |
| 44 | + 'global' => [ | |
| 45 | + 'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY, | |
| 46 | + ], | |
| 45 | 47 | 'selector' => '{{WRAPPER}} .property_meta li', |
| 46 | 48 | ] |
| 47 | 49 | ); |
| 48 | 50 | |
| @@ -50,11 +52,10 @@ | ||
| 50 | 52 | 'list_color', |
| 51 | 53 | [ |
| 52 | 54 | 'label' => __( 'Colour', 'propertyhive' ), |
| 53 | 55 | 'type' => \Elementor\Controls_Manager::COLOR, |
| 54 | - 'scheme' => [ | |
| 55 | - 'type' => \Elementor\Scheme_Color::get_type(), | |
| 56 | - 'value' => \Elementor\Scheme_Color::COLOR_1, | |
| 56 | + 'global' => [ | |
| 57 | + 'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY, | |
| 57 | 58 | ], |
| 58 | 59 | 'selectors' => [ |
| 59 | 60 | '{{WRAPPER}} .property_meta li' => 'color: {{VALUE}}', |
| 60 | 61 | ], |