PluginProbe
Elementor Website Builder – more than just a page builder / 4.0.3
Elementor Website Builder – more than just a page builder v4.0.3
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
elementor / modules / design-system-sync / classes / sync-typography-props.php

sync-typography-props.php in Elementor Website Builder – more than just a page builder 4.0.3, at modules/design-system-sync/classes/sync-typography-props.php

33 lines 823 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Elementor\Modules\DesignSystemSync\Classes;
4
5 if ( ! defined( 'ABSPATH' ) ) {
6 exit;
7 }
8
9 class Sync_Typography_Props {
10 const PROP_MAP = [
11 'font-family' => 'typography_font_family',
12 'font-size' => 'typography_font_size',
13 'font-weight' => 'typography_font_weight',
14 'font-style' => 'typography_font_style',
15 'text-decoration' => 'typography_text_decoration',
16 'line-height' => 'typography_line_height',
17 'letter-spacing' => 'typography_letter_spacing',
18 'word-spacing' => 'typography_word_spacing',
19 'text-transform' => 'typography_text_transform',
20 ];
21
22 const RESPONSIVE_V3_PROPS = [
23 'typography_font_size',
24 'typography_line_height',
25 'typography_letter_spacing',
26 'typography_word_spacing',
27 ];
28
29 public static function get_css_props(): array {
30 return array_keys( self::PROP_MAP );
31 }
32 }
33