Plugin Directory

Changeset 2990834


Ignore:
Timestamp:
11/07/2023 01:59:16 PM (2 years ago)
Author:
piotnetdotcom
Message:

Update 2.4.24

Location:
piotnet-addons-for-elementor
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • piotnet-addons-for-elementor/trunk/controls/pafe-form-style.php

    r2595417 r2990834  
    197197                    'label' => __( 'Background Color', 'pafe' ),
    198198                    'type' => \Elementor\Controls_Manager::COLOR,
    199                     'scheme' => [
    200                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    201                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    202                     ],
     199                    'global' => [
     200                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     201                    ],
    203202                    'default' => '#f1f1f1',
    204203                    'selectors' => [
     
    219218                    'name' => 'pafe_form_style_label',
    220219                    'selector' => '{{WRAPPER}} .wpcf7 label',
    221                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     220                    'global' => [
     221                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     222                    ],
    222223                    'separator' => 'before',
    223224                    'condition' => [
     
    232233                    'label' => __( 'Label Color', 'pafe' ),
    233234                    'type' => \Elementor\Controls_Manager::COLOR,
    234                     'scheme' => [
    235                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    236                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    237                     ],
     235                    'global' => [
     236                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     237                    ],
    238238                    'default' => '#000',
    239239                    'selectors' => [
     
    287287                    'name' => 'pafe_form_style_placeholder',
    288288                    'selector' => '{{WRAPPER}} ::placeholder',
    289                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     289                    'global' => [
     290                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     291                    ],
    290292                    'separator' => 'before',
    291293                    'condition' => [
     
    300302                    'label' => __( 'Placeholder Color', 'pafe' ),
    301303                    'type' => \Elementor\Controls_Manager::COLOR,
    302                     'scheme' => [
    303                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    304                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    305                     ],
     304                    'global' => [
     305                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     306                    ],
    306307                    'default' => '#7D7676',
    307308                    'selectors' => [
     
    321322                    'name' => 'pafe_form_style_button',
    322323                    'selector' => '{{WRAPPER}} .wpcf7-submit',
    323                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     324                    'global' => [
     325                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     326                    ],
    324327                    'separator' => 'before',
    325328                    'condition' => [
     
    394397                    'label' => __( 'Button Color', 'pafe' ),
    395398                    'type' => \Elementor\Controls_Manager::COLOR,
    396                     'scheme' => [
    397                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    398                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    399                     ],
     399                    'global' => [
     400                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     401                    ],
    400402                    'default' => '#fff',
    401403                    'selectors' => [
     
    413415                    'label' => __( 'Background Color', 'pafe' ),
    414416                    'type' => \Elementor\Controls_Manager::COLOR,
    415                     'scheme' => [
    416                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    417                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    418                     ],
     417                    'global' => [
     418                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     419                    ],
    419420                    'default' => '#6EC1E4',
    420421                    'selectors' => [
     
    443444                    'label' => __( 'Button Color', 'pafe' ),
    444445                    'type' => \Elementor\Controls_Manager::COLOR,
    445                     'scheme' => [
    446                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    447                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    448                     ],
     446                    'global' => [
     447                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     448                    ],
    449449                    'default' => '#fff',
    450450                    'selectors' => [
     
    462462                    'label' => __( 'Background Color', 'pafe' ),
    463463                    'type' => \Elementor\Controls_Manager::COLOR,
    464                     'scheme' => [
    465                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    466                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    467                     ],
     464                    'global' => [
     465                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     466                    ],
    468467                    'default' => '#04A5E9',
    469468                    'selectors' => [
  • piotnet-addons-for-elementor/trunk/controls/pafe-particles.php

    r2715548 r2990834  
    5858                    'type' => \Elementor\Controls_Manager::COLOR,
    5959                    'default' => '#910a0a',
    60                     'scheme' => [
    61                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    62                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    63                     ],
     60                    'global' => [
     61                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     62                    ],
    6463                    'condition' => [
    6564                        'pafe_particles_enable' => 'yes', 
     
    161160                    'type' => \Elementor\Controls_Manager::COLOR,
    162161                    'default' => '#910a0a',
    163                     'scheme' => [
    164                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    165                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    166                     ],
     162                    'global' => [
     163                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     164                    ],
    167165                    'condition' => [
    168166                        'pafe_particles_enable' => 'yes', 
  • piotnet-addons-for-elementor/trunk/controls/pafe-tooltip.php

    r2785828 r2990834  
    158158                    'label' => __( 'Content Color', 'pafe' ),
    159159                    'type' => \Elementor\Controls_Manager::COLOR,
    160                     'scheme' => [
    161                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    162                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    163                     ],
     160                    'global' => [
     161                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     162                    ],
    164163                    'default' => '#fff',
    165164                    'selectors' => [
     
    223222                    'label' => __( 'Background Color', 'pafe' ),
    224223                    'type' => \Elementor\Controls_Manager::COLOR,
    225                     'scheme' => [
    226                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    227                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    228                     ],
     224                    'global' => [
     225                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     226                    ],
    229227                    'default' => '#000',
    230228                    'selectors' => [
     
    243241                    'name' => 'pafe_tooltip_label_typography',
    244242                    'selector' => '{{WRAPPER}} [data-tippy-root] > .tippy-box',
    245                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_4,
     243                    'global' => [
     244                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_ACCENT,
     245                    ],
    246246                    'condition' => [
    247247                        'pafe_tooltip' => 'yes',
  • piotnet-addons-for-elementor/trunk/piotnet-addons-for-elementor.php

    r2865405 r2990834  
    44 * Description: Piotnet Addons For Elementor (PAFE) adds many new features for Elementor
    55 * Plugin URI:  https://pafe.piotnet.com/
    6  * Version:     2.4.23
     6 * Version:     2.4.24
    77 * Author:      Piotnet
    88 * Author URI:  https://piotnet.com/
     
    1414if ( ! defined( 'ABSPATH' ) ) { exit; }
    1515
    16 define( 'PAFE_VERSION', '2.4.23' );
     16define( 'PAFE_VERSION', '2.4.24' );
    1717
    1818define( 'PAFE_DIR', plugin_dir_path(__FILE__));
     
    2020
    2121final class Piotnet_Addons_For_Elementor {
    22     const MINIMUM_ELEMENTOR_VERSION = '2.8.0';
     22    const MINIMUM_ELEMENTOR_VERSION = '3.0.0';
    2323    const MINIMUM_PHP_VERSION = '5.4';
    2424    const TAB_PAFE = 'tab_pafe';
  • piotnet-addons-for-elementor/trunk/readme.txt

    r2865405 r2990834  
    55Tested up to: 6.1
    66Requires PHP: 5.4
    7 Stable tag: 2.4.23
     7Stable tag: 2.4.24
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    120120
    121121== Changelog ==
     122= 2.4.24 =
     123* Fix issues with Elementor latest version
    122124= 2.4.23 =
    123125* Integrate with WPML.
  • piotnet-addons-for-elementor/trunk/widgets/pafe-countdown-cart.php

    r2715548 r2990834  
    181181                    'label' => __( 'Color', 'pafe' ),
    182182                    'type' => \Elementor\Controls_Manager::COLOR,
    183                     'scheme' => [
    184                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    185                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    186                     ],
     183                    'global' => [
     184                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     185                    ],
    187186                    'default' => '#000', 
    188187                    'selectors' => [
     
    197196                    'name' => 'label_before',
    198197                    'selector' => '{{WRAPPER}} .pafe-countdown-stock__label-before',
    199                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     198                    'global' => [
     199                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     200                    ],
    200201                ]
    201202            );
     
    216217                    'label' => __( 'Color', 'pafe' ),
    217218                    'type' => \Elementor\Controls_Manager::COLOR,
    218                     'scheme' => [
    219                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    220                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    221                     ],
     219                    'global' => [
     220                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     221                    ],
    222222                    'default' => '#000', 
    223223                    'selectors' => [
     
    232232                    'name' => 'label_after',
    233233                    'selector' => '{{WRAPPER}} .pafe-countdown-stock__label-after',
    234                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     234                    'global' => [
     235                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     236                    ],
    235237                ]
    236238            );
     
    251253                    'label' => __( 'Color', 'pafe' ),
    252254                    'type' => \Elementor\Controls_Manager::COLOR,
    253                     'scheme' => [
    254                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    255                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    256                     ],
     255                    'global' => [
     256                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     257                    ],
    257258                    'default' => '#000', 
    258259                    'selectors' => [
     
    267268                    'name' => 'number',
    268269                    'selector' => '{{WRAPPER}} .pafe-countdown-stock__number',
    269                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     270                    'global' => [
     271                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     272                    ],
    270273                ]
    271274            );
     
    358361                    'label' => __( 'Background', 'pafe' ),
    359362                    'type' => \Elementor\Controls_Manager::COLOR,
    360                     'scheme' => [
    361                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    362                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    363                     ],
     363                    'global' => [
     364                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     365                    ],
    364366                    'default' => '#ededed', 
    365367                    'selectors' => [
  • piotnet-addons-for-elementor/trunk/widgets/pafe-dual-color-headline.php

    r2604694 r2990834  
    157157                        'name' => 'headline_before_typography',
    158158                        'selector' => '{{WRAPPER}} .pafe_dual_color_content_section_before',
    159                         'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_2,
     159                        'global' => [
     160                            'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_SECONDARY,
     161                        ],
    160162                    ]
    161163                );
     
    268270                        'name' => 'headline_after_typography',
    269271                        'selector' => '{{WRAPPER}} .pafe_dual_color_content_section_after',
    270                         'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_2,
     272                        'global' => [
     273                            'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_SECONDARY,
     274                        ],
    271275                    ]
    272276                );
     
    277281                        'label' => __( 'Color', 'pafe' ),
    278282                        'type' => \Elementor\Controls_Manager::COLOR,
    279                         'default' => '#000',
    280283                        'default' => '#000',
    281284                        'selectors' => [
  • piotnet-addons-for-elementor/trunk/widgets/pafe-hotspot.php

    r2604694 r2990834  
    155155                                    '{{WRAPPER}} {{CURRENT_ITEM}} .pafe-hotspot-icon-view-default' => 'color: {{VALUE}};',
    156156                                ],
    157                                 'scheme' => [
    158                                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    159                                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    160                                 ],
     157                                'global' => [
     158                                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     159                                ],
    161160                                'condition' => [
    162161                                    'pafe_hotspot_marker_type' => 'icon',
     
    180179                                    '{{WRAPPER}} {{CURRENT_ITEM}} .pafe-hotspot-icon-view-framed' => 'border-color: {{VALUE}};',
    181180                                ],
    182                                 'scheme' => [
    183                                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    184                                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    185                                 ],
     181                                'global' => [
     182                                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     183                                ],
    186184                            ]
    187185                        );
     
    291289                                'name' => 'pafe_hotspot_marker_type_text_style',
    292290                                'selector' => '{{WRAPPER}} {{CURRENT_ITEM}} .pafe-hopspot__marker-icon-text',
    293                                 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_2,
     291                                'global' => [
     292                                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_SECONDARY,
     293                                ],
    294294                                'condition' => [
    295295                                        'pafe_hotspot_marker_type' => 'text',   
     
    303303                                'label' => __( 'Color', 'pafe' ),
    304304                                'type' => \Elementor\Controls_Manager::COLOR,
    305                                 'default' => '#000',
    306305                                'default' => '#000',
    307306                                'selectors' => [
     
    530529                                'label' => __( 'Content Color', 'pafe' ),
    531530                                'type' => \Elementor\Controls_Manager::COLOR,
    532                                 'scheme' => [
    533                                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    534                                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    535                                 ],
     531                                'global' => [
     532                                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     533                                ],
    536534                                'default' => '#6ec1e4', 
    537535                                'selectors' => [
     
    577575                                'label' => __( 'Background Color', 'pafe' ),
    578576                                'type' => \Elementor\Controls_Manager::COLOR,
    579                                 'scheme' => [
    580                                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    581                                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    582                                 ],
     577                                'global' => [
     578                                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     579                                ],
    583580                                'default' => '#fff',
    584581                                'selectors' => [
     
    598595                                'name' => 'pafe_hotspot_tooltip_label_typography',
    599596                                'selector' => '{{WRAPPER}} {{CURRENT_ITEM}} .pafe-hotspot__tooltip p',
    600                                 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_4,
     597                                'global' => [
     598                                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_ACCENT,
     599                                ],
    601600                                'condition' => [
    602601                                    'pafe_hotspot_tooltip_content_type' => 'content',
     
    640639            echo '<div>';
    641640            foreach (  $settings['pafe_hotspot_list'] as $item ) { ?>
    642                 <div class="pafe-hotspot__marker-wrapper elementor-repeater-item-<?php echo esc_attr( $item['_id'] ); ?>" data-pafe-hotspot-tippy-content='<?php echo $content;?>' data-pafe-hotspot-tippy-option='<?php echo  json_encode( $tippy_options );?>' >
     641                <div class="pafe-hotspot__marker-wrapper elementor-repeater-item-<?php echo esc_attr( $item['_id'] ); ?>" data-pafe-hotspot-tippy-content='<?php echo !empty($content) ? $content : '';?>' data-pafe-hotspot-tippy-option='<?php echo !empty($tippy_options) ? json_encode( $tippy_options ) : '';?>' >
    643642                    <div class="pafe-hotspot__marker-icon" data-pafe-hotspot-trigger='<?php echo $item['pafe_hotspot_tooltip_trigger'];?>'>
    644643                        <?php if ($item['pafe_hotspot_marker_type'] == 'icon') {?>
  • piotnet-addons-for-elementor/trunk/widgets/pafe-image-accordion.php

    r2604694 r2990834  
    218218                    'label' => __( 'Background', 'pafe' ),
    219219                    'type' => \Elementor\Controls_Manager::COLOR,
    220                     'scheme' => [
    221                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    222                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    223                     ],
     220                    'global' => [
     221                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     222                    ],
    224223                    'default' => 'rgba(242,242,242,0.29)', 
    225224                    'selectors' => [
     
    367366                    'label' => __( 'Color', 'pafe' ),
    368367                    'type' => \Elementor\Controls_Manager::COLOR,
    369                     'scheme' => [
    370                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    371                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    372                     ],
     368                    'global' => [
     369                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     370                    ],
    373371                    'default' => '#fff',
    374372                    'selectors' => [
     
    382380                    'name' => 'title_typography',
    383381                    'selector' => '{{WRAPPER}} .pafe-image-accordion__item-content__title-inner',
    384                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_2,
     382                    'global' => [
     383                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_SECONDARY,
     384                    ],
    385385                ]
    386386            );
     
    421421                    'label' => __( 'Color', 'pafe' ),
    422422                    'type' => \Elementor\Controls_Manager::COLOR,
    423                     'scheme' => [
    424                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    425                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    426                     ],
     423                    'global' => [
     424                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     425                    ],
    427426                    'default' => '#fff',
    428427                    'selectors' => [
     
    437436                    'name' => 'content_typography',
    438437                    'selector' => '{{WRAPPER}} .pafe-image-accordion__item-content__text',
    439                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_2,
     438                    'global' => [
     439                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_SECONDARY,
     440                    ],
    440441                ]
    441442            );
     
    486487                    'label' => __( 'Color', 'pafe' ),
    487488                    'type' => \Elementor\Controls_Manager::COLOR,
    488                     'scheme' => [
    489                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    490                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    491                     ],
     489                    'global' => [
     490                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     491                    ],
    492492                    'default' => '#fff',
    493493                    'selectors' => [
     
    501501                    'label' => __( 'Background', 'pafe' ),
    502502                    'type' => \Elementor\Controls_Manager::COLOR,
    503                     'scheme' => [
    504                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    505                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    506                     ],
     503                    'global' => [
     504                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     505                    ],
    507506                    'default' => '#3CCD94', 
    508507                    'selectors' => [
     
    523522                    'label' => __( 'Color', 'pafe' ),
    524523                    'type' => \Elementor\Controls_Manager::COLOR,
    525                     'scheme' => [
    526                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    527                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    528                     ],
     524                    'global' => [
     525                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     526                    ],
    529527                    'default' => '#fff',
    530528                    'selectors' => [
     
    538536                    'label' => __( 'Background', 'pafe' ),
    539537                    'type' => \Elementor\Controls_Manager::COLOR,
    540                     'scheme' => [
    541                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    542                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    543                     ],
     538                    'global' => [
     539                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     540                    ],
    544541                    'default' => '#3CCD94', 
    545542                    'selectors' => [
     
    555552                    'name' => 'readmore_typography',
    556553                    'selector' => '{{WRAPPER}} .pafe-image-accordion__item-content__link',
    557                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_2,
     554                    'global' => [
     555                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_SECONDARY,
     556                    ],
    558557                ]
    559558            );
  • piotnet-addons-for-elementor/trunk/widgets/pafe-posts-list.php

    r2604694 r2990834  
    212212                    'label' => __( 'Background', 'pafe' ),
    213213                    'type' => \Elementor\Controls_Manager::COLOR,
    214                     'scheme' => [
    215                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    216                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    217                     ],
     214                    'global' => [
     215                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     216                    ],
    218217                    'default' => '#fff', 
    219218                    'selectors' => [
     
    471470                    'label' => __( 'Background', 'pafe' ),
    472471                    'type' => \Elementor\Controls_Manager::COLOR,
    473                     'scheme' => [
    474                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    475                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    476                     ],
     472                    'global' => [
     473                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     474                    ],
    477475                    'default' => '#fff', 
    478476                    'selectors' => [
     
    486484                    'label' => __( 'Color', 'pafe' ),
    487485                    'type' => \Elementor\Controls_Manager::COLOR,
    488                     'scheme' => [
    489                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    490                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    491                     ],
     486                    'global' => [
     487                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     488                    ],
    492489                    'default' => '#0095EB', 
    493490                    'selectors' => [
     
    509506                    'label' => __( 'Background', 'pafe' ),
    510507                    'type' => \Elementor\Controls_Manager::COLOR,
    511                     'scheme' => [
    512                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    513                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    514                     ],
     508                    'global' => [
     509                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     510                    ],
    515511                    'default' => '#0095EB', 
    516512                    'selectors' => [
     
    525521                    'label' => __( 'Color', 'pafe' ),
    526522                    'type' => \Elementor\Controls_Manager::COLOR,
    527                     'scheme' => [
    528                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    529                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    530                     ],
     523                    'global' => [
     524                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     525                    ],
    531526                    'default' => '#fff', 
    532527                    'selectors' => [
     
    577572                    'name' => 'filter_typography',
    578573                    'selector' => '{{WRAPPER}} .pafe-posts-list__filter-item',
    579                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     574                    'global' => [
     575                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     576                    ],
    580577                ]
    581578            );
     
    625622                    'name' => 'title_widget_typography',
    626623                    'selector' => '{{WRAPPER}} .pafe-posts-list__filter-title',
    627                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     624                    'global' => [
     625                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     626                    ],
    628627                ]
    629628            );
     
    633632                    'label' => __( 'Color', 'pafe' ),
    634633                    'type' => \Elementor\Controls_Manager::COLOR,
    635                     'scheme' => [
    636                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    637                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    638                     ],
     634                    'global' => [
     635                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     636                    ],
    639637                    'default' => '#42527B',
    640638                    'selectors' => [
     
    681679                    'name' => 'title_typography',
    682680                    'selector' => '{{WRAPPER}} .pafe-card-right__title',
    683                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     681                    'global' => [
     682                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     683                    ],
    684684                ]
    685685            );
     
    689689                    'label' => __( 'Color', 'pafe' ),
    690690                    'type' => \Elementor\Controls_Manager::COLOR,
    691                     'scheme' => [
    692                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    693                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    694                     ],
     691                    'global' => [
     692                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     693                    ],
    695694                    'default' => '#1b326e',
    696695                    'selectors' => [
     
    704703                    'label' => __( 'Hover', 'pafe' ),
    705704                    'type' => \Elementor\Controls_Manager::COLOR,
    706                     'scheme' => [
    707                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    708                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    709                     ],
     705                    'global' => [
     706                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     707                    ],
    710708                    'default' => '#0095EB',
    711709                    'selectors' => [
     
    728726                    'label' => __( 'Color', 'pafe' ),
    729727                    'type' => \Elementor\Controls_Manager::COLOR,
    730                     'scheme' => [
    731                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    732                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    733                     ],
     728                    'global' => [
     729                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     730                    ],
    734731                    'default' => 'rgba(35,76,109,0.56)', 
    735732                    'selectors' => [
     
    743740                    'name' => 'text_typography',
    744741                    'selector' => '{{WRAPPER}} .pafe-card-right__description',
    745                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     742                    'global' => [
     743                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     744                    ],
    746745                ]
    747746            );
     
    782781                    'name' => 'author_typography',
    783782                    'selector' => '{{WRAPPER}} .pafe-card-right__info,.pafe-card-left__info',
    784                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     783                    'global' => [
     784                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     785                    ],
    785786                ]
    786787            );
     
    790791                    'label' => __( 'Color', 'pafe' ),
    791792                    'type' => \Elementor\Controls_Manager::COLOR,
    792                     'scheme' => [
    793                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    794                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    795                     ],
     793                    'global' => [
     794                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     795                    ],
    796796                    'default' => 'rgba(35,76,109,0.56)', 
    797797                    'selectors' => [
     
    859859                    'label' => __( 'Color', 'pafe' ),
    860860                    'type' => \Elementor\Controls_Manager::COLOR,
    861                     'scheme' => [
    862                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    863                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    864                     ],
     861                    'global' => [
     862                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     863                    ],
    865864                    'default' => '#fff',
    866865                    'selectors' => [
     
    876875                    'label' => __( 'Hover', 'pafe' ),
    877876                    'type' => \Elementor\Controls_Manager::COLOR,
    878                     'scheme' => [
    879                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    880                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    881                     ],
     877                    'global' => [
     878                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     879                    ],
    882880                    'default' => '#0095EB',
    883881                    'selectors' => [
     
    891889                    'name' => 'title_featured_typography',
    892890                    'selector' => '{{WRAPPER}} .pafe-card-left__title',
    893                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     891                    'global' => [
     892                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     893                    ],
    894894                ]
    895895            );
     
    912912                    'label' => __( 'Background Ovelay', 'pafe' ),
    913913                    'type' => \Elementor\Controls_Manager::COLOR,
    914                     'scheme' => [
    915                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    916                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    917                     ],
     914                    'global' => [
     915                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     916                    ],
    918917                    'default' => '', 
    919918                    'selectors' => [
     
    10651064                    'label' => __( 'Content Background', 'pafe' ),
    10661065                    'type' => \Elementor\Controls_Manager::COLOR,
    1067                     'scheme' => [
    1068                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    1069                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    1070                     ],
     1066                    'global' => [
     1067                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     1068                    ],
    10711069                    'separator' => 'before',
    10721070                    'default' => '#00e8cc', 
  • piotnet-addons-for-elementor/trunk/widgets/pafe-progressbar.php

    r2604694 r2990834  
    154154                'name' => 'progressbar_label_typography',
    155155                'selector' => '{{WRAPPER}} .pafe-progressbar__label',
    156                 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     156                'global' => [
     157                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     158                ],
    157159            ]
    158160        );
     
    198200                'label' => __( 'Background color', 'pafe' ),
    199201                'type' => \Elementor\Controls_Manager::COLOR,
    200                 'scheme' => [
    201                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    202                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    203                 ],
     202                'global' => [
     203                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     204                ],
    204205                'default' => '#FFFFFF',
    205206                'selectors' => [
  • piotnet-addons-for-elementor/trunk/widgets/pafe-sales-pop.php

    r2527727 r2990834  
    302302                    'name' => 'sales_pop_time_typography',
    303303                    'selector' => '{{WRAPPER}} .pafe-sales-pop-item__time',
    304                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     304                    'global' => [
     305                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     306                    ],
    305307                ]
    306308            );
     
    310312                    'label' => __( 'Color', 'pafe' ),
    311313                    'type' => \Elementor\Controls_Manager::COLOR,
    312                     'scheme' => [
    313                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    314                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    315                     ],
     314                    'global' => [
     315                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     316                    ],
    316317                    'default' => '#000', 
    317318                    'selectors' => [
     
    334335                    'name' => 'sales_pop_title_typography',
    335336                    'selector' => '{{WRAPPER}} .pafe-sales-pop-item__title',
    336                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     337                    'global' => [
     338                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     339                    ],
    337340                ]
    338341            );
     
    342345                    'label' => __( 'Color', 'pafe' ),
    343346                    'type' => \Elementor\Controls_Manager::COLOR,
    344                     'scheme' => [
    345                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    346                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    347                     ],
     347                    'global' => [
     348                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     349                    ],
    348350                    'default' => '#000', 
    349351                    'selectors' => [
     
    366368                    'name' => 'sales_pop_description_typography',
    367369                    'selector' => '{{WRAPPER}} .pafe-sales-pop-item__description',
    368                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     370                    'global' => [
     371                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     372                    ],
    369373                ]
    370374            );
     
    374378                    'label' => __( 'Color', 'pafe' ),
    375379                    'type' => \Elementor\Controls_Manager::COLOR,
    376                     'scheme' => [
    377                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    378                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    379                     ],
     380                    'global' => [
     381                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     382                    ],
    380383                    'default' => '#000', 
    381384                    'selectors' => [
     
    398401                    'label' => __( 'Color', 'pafe' ),
    399402                    'type' => \Elementor\Controls_Manager::COLOR,
    400                     'scheme' => [
    401                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    402                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    403                     ],
     403                    'global' => [
     404                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     405                    ],
    404406                    'default' => '#55586c', 
    405407                    'selectors' => [
  • piotnet-addons-for-elementor/trunk/widgets/pafe-switch-content.php

    r2849626 r2990834  
    196196                'label' => __( 'Box Around Color 1', 'pafe' ),
    197197                'type' => \Elementor\Controls_Manager::COLOR,
    198                 'scheme' => [
    199                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    200                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    201                 ],
     198                'global' => [
     199                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     200                ],
    202201                'default' => '#ccc',
    203202                'selectors' => [
     
    212211                'label' => __( 'Box Around Color 2', 'pafe' ),
    213212                'type' => \Elementor\Controls_Manager::COLOR,
    214                 'scheme' => [
    215                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    216                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    217                 ],
     213                'global' => [
     214                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     215                ],
    218216                'default' => '#2196F3',
    219217                'selectors' => [
     
    228226                'label' => __( 'Switch Color', 'pafe' ),
    229227                'type' => \Elementor\Controls_Manager::COLOR,
    230                 'scheme' => [
    231                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    232                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    233                 ],
     228                'global' => [
     229                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     230                ],
    234231                'default' => '#fff',
    235232                'selectors' => [
     
    388385                'name' => 'label_typography',
    389386                'selector' => '{{WRAPPER}} .pafe-switch-content-primary-label',
    390                 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_2,
     387                'global' => [
     388                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_SECONDARY,
     389                ],
    391390            ]
    392391        );
     
    397396                'label' => __( 'Color', 'pafe' ),
    398397                'type' => \Elementor\Controls_Manager::COLOR,
    399                 'scheme' => [
    400                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    401                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    402                 ],
     398                'global' => [
     399                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     400                ],
    403401                'default' => '#000',
    404402                'selectors' => [
     
    422420                'name' => 'label_secondary_typography',
    423421                'selector' => '{{WRAPPER}} .pafe-switch-content-secondary-label',
    424                 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_2,
     422                'global' => [
     423                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_SECONDARY,
     424                ],
    425425            ]
    426426        );
     
    431431                'label' => __( 'Color', 'pafe' ),
    432432                'type' => \Elementor\Controls_Manager::COLOR,
    433                 'scheme' => [
    434                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    435                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    436                 ],
     433                'global' => [
     434                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     435                ],
    437436                'default' => '#000',
    438437                'selectors' => [
     
    472471                'name' => 'content_typography',
    473472                'selector' => '{{WRAPPER}} .pafe-switch_content-primary-content-wysiwyg',
    474                 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_3,
     473                'global' => [
     474                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_TEXT,
     475                ],
    475476            ]
    476477        );
     
    481482                'label' => __( 'Color', 'pafe' ),
    482483                'type' => \Elementor\Controls_Manager::COLOR,
    483                 'scheme' => [
    484                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    485                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    486                 ],
     484                'global' => [
     485                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     486                ],
    487487                'default' => '#000',
    488488                'selectors' => [
     
    506506                'name' => 'content_secondary_typography',
    507507                'selector' => '{{WRAPPER}} .pafe-switch_content-secondary-content-wysiwyg',
    508                 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_3,
     508                'global' => [
     509                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_TEXT,
     510                ],
    509511            ]
    510512        );
     
    515517                'label' => __( 'Color', 'pafe' ),
    516518                'type' => \Elementor\Controls_Manager::COLOR,
    517                 'scheme' => [
    518                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    519                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    520                 ],
     519                'global' => [
     520                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     521                ],
    521522                'default' => '#000',
    522523                'selectors' => [
  • piotnet-addons-for-elementor/trunk/widgets/pafe-table.php

    r2865405 r2990834  
    457457                    'name' => 'pafe_table_head_typography',
    458458                    'selector' => '{{WRAPPER}} .pafe-table-head-text',
    459                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     459                    'global' => [
     460                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     461                    ]
    460462                ]
    461463            );
     
    533535                    'name' => 'pafe_table_body_first_cell_typography',
    534536                    'selector' => '{{WRAPPER}} .pafe-table-body-first-text',
    535                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     537                    'global' => [
     538                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     539                    ]
    536540                ]
    537541            );
     
    643647                    'name' => 'pafe_table_body_cell_typography',
    644648                    'selector' => '{{WRAPPER}} .pafe-table-body-text',
    645                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     649                    'global' => [
     650                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     651                    ]
    646652                ]
    647653            );
     
    763769                            'name' => 'pafe_table_body_row_odd_typography',
    764770                            'selector' => '{{WRAPPER}} .pafe-table-body tr:nth-of-type(odd)',
    765                             'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     771                            'global' => [
     772                                'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     773                            ]
    766774                        ]
    767775                    );
     
    868876                            'name' => 'pafe_table_body_row_even_typography',
    869877                            'selector' => '{{WRAPPER}} .pafe-table-body tr:nth-of-type(even)',
    870                             'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     878                            'global' => [
     879                                'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     880                            ]
    871881                        ]
    872882                    );
  • piotnet-addons-for-elementor/trunk/widgets/pafe-vertical-timeline.php

    r2527727 r2990834  
    180180                'name' => 'title_typography',
    181181                'selector' => '{{WRAPPER}} .pafe-vertical-timeline-content__title',
    182                 'scheme' =>\Elementor\Core\Schemes\Typography::TYPOGRAPHY_2,
    183 
     182                'global' => [
     183                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_SECONDARY,
     184                ]
    184185            ]
    185186        );
     
    189190                'label' => __( 'Color', 'pafe' ),
    190191                'type' => \Elementor\Controls_Manager::COLOR,
    191                 'scheme' => [
    192                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    193                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    194                 ],
     192                'global' => [
     193                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     194                ],
    195195                'default' => '#000',
    196196                'selectors' => [
     
    212212                'name' => 'date_typography',
    213213                'selector' => '{{WRAPPER}} .pafe_vertical_timeline__date',
    214                 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_2,
     214                'global' => [
     215                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_SECONDARY,
     216                ]
    215217            ]
    216218        );
     
    220222                'label' => __( 'Color', 'pafe' ),
    221223                'type' => \Elementor\Controls_Manager::COLOR,
    222                 'scheme' => [
    223                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    224                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    225                 ],
     224                'global' => [
     225                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     226                ],
    226227                'default' => '#000',
    227228                'selectors' => [
     
    254255                'name' => 'content_typography',
    255256                'selector' => '{{WRAPPER}} .pafe-vertical-timeline-content__content',
    256                 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_2,
     257                'global' => [
     258                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_SECONDARY,
     259                ]
    257260            ]
    258261        );
     
    262265                'label' => __( 'Color', 'pafe' ),
    263266                'type' => \Elementor\Controls_Manager::COLOR,
    264                 'scheme' => [
    265                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    266                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    267                 ],
     267                'global' => [
     268                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     269                ],
    268270                'default' => '#000',
    269271                'selectors' => [
     
    277279                'label' => __( 'Background Color', 'pafe' ),
    278280                'type' => \Elementor\Controls_Manager::COLOR,
    279                 'scheme' => [
    280                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    281                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    282                 ],
     281                'global' => [
     282                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     283                ],
    283284                'default' => '#F1F2F3',
    284285                'selectors' => [
     
    355356                'label' => __( 'Background', 'pafe' ),
    356357                'type' => \Elementor\Controls_Manager::COLOR,
    357                 'scheme' => [
    358                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    359                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    360                 ],
     358                'global' => [
     359                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     360                ],
    361361                'default' => '#3CCD94',
    362362                'selectors' => [
     
    409409                'label' => __( 'Color', 'pafe' ),
    410410                'type' => \Elementor\Controls_Manager::COLOR,
    411                 'scheme' => [
    412                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    413                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    414                 ],
     411                'global' => [
     412                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     413                ],
    415414                'default' => '#fff',
    416415                'selectors' => [
     
    425424                'label' => __( 'Background', 'pafe' ),
    426425                'type' => \Elementor\Controls_Manager::COLOR,
    427                 'scheme' => [
    428                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    429                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    430                 ],
     426                'global' => [
     427                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     428                ],
    431429                'default' => '#3CCD94',
    432430                'selectors' => [
     
    456454                'label' => __( 'Color', 'pafe' ),
    457455                'type' => \Elementor\Controls_Manager::COLOR,
    458                 'scheme' => [
    459                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    460                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    461                 ],
     456                'global' => [
     457                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     458                ],
    462459                'default' => '#B2DFBC',
    463460                'selectors' => [
     
    490487                'label' => __( 'Color', 'pafe' ),
    491488                'type' => \Elementor\Controls_Manager::COLOR,
    492                 'scheme' => [
    493                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    494                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    495                 ],
     489                'global' => [
     490                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     491                ],
    496492                'default' => '#fff',
    497493                'selectors' => [
     
    505501                'label' => __( 'Background', 'pafe' ),
    506502                'type' => \Elementor\Controls_Manager::COLOR,
    507                 'scheme' => [
    508                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    509                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    510                 ],
     503                'global' => [
     504                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     505                ],
    511506                'default' => '#3CCD94', 
    512507                'selectors' => [
     
    527522                'label' => __( 'Color', 'pafe' ),
    528523                'type' => \Elementor\Controls_Manager::COLOR,
    529                 'scheme' => [
    530                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    531                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    532                 ],
     524                'global' => [
     525                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     526                ],
    533527                'default' => '#fff',
    534528                'selectors' => [
     
    542536                'label' => __( 'Background', 'pafe' ),
    543537                'type' => \Elementor\Controls_Manager::COLOR,
    544                 'scheme' => [
    545                     'type' => \Elementor\Core\Schemes\Color::get_type(),
    546                     'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    547                 ],
     538                'global' => [
     539                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     540                ],
    548541                'default' => '#3CCD94', 
    549542                'selectors' => [
     
    559552                'name' => 'readmore_typography',
    560553                'selector' => '{{WRAPPER}} .pafe-vertical-timeline__readmore',
    561                 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_2,
     554                'global' => [
     555                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_SECONDARY,
     556                ]
    562557            ]
    563558        );
  • piotnet-addons-for-elementor/trunk/widgets/pafe-video-playlist.php

    r2865405 r2990834  
    133133                    'name' => 'label_typography',
    134134                    'selector' => '{{WRAPPER}} .pafe-video-playlist__item-title',
    135                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     135                    'global' => [
     136                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     137                    ]
    136138                ]
    137139            );
     
    141143                    'label' => __( 'Color', 'pafe' ),
    142144                    'type' => \Elementor\Controls_Manager::COLOR,
    143                     'scheme' => [
    144                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    145                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    146                     ],
     145                    'global' => [
     146                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     147                    ],
    147148                    'default' => '#fff',
    148149                    'selectors' => [
     
    200201                    'name' => 'title_typography',
    201202                    'selector' => '{{WRAPPER}} .pafe-video-playlist__list-title',
    202                     'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_1,
     203                    'global' => [
     204                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
     205                    ]
    203206                ]
    204207            );
     
    208211                    'label' => __( 'Color', 'pafe' ),
    209212                    'type' => \Elementor\Controls_Manager::COLOR,
    210                     'scheme' => [
    211                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    212                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    213                     ],
     213                    'global' => [
     214                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     215                    ],
    214216                    'default' => '#fff',
    215217                    'selectors' => [
     
    231233                    'label' => __( 'Background color', 'pafe' ),
    232234                    'type' => \Elementor\Controls_Manager::COLOR,
    233                     'scheme' => [
    234                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    235                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    236                     ],
     235                    'global' => [
     236                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     237                    ],
    237238                    'default' => '#252D43',
    238239                    'selectors' => [
     
    246247                    'label' => __( 'Active Color', 'pafe' ),
    247248                    'type' => \Elementor\Controls_Manager::COLOR,
    248                     'scheme' => [
    249                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    250                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    251                     ],
     249                    'global' => [
     250                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     251                    ],
    252252                    'default' => '#42527B',
    253253                    'selectors' => [
     
    262262                    'label' => __( 'Divider color', 'pafe' ),
    263263                    'type' => \Elementor\Controls_Manager::COLOR,
    264                     'scheme' => [
    265                         'type' => \Elementor\Core\Schemes\Color::get_type(),
    266                         'value' => \Elementor\Core\Schemes\Color::COLOR_1,
    267                     ],
     264                    'global' => [
     265                        'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
     266                    ],
    268267                    'default' => '#fff',
    269268                    'selectors' => [
Note: See TracChangeset for help on using the changeset viewer.