Skip to content

Commit

Permalink
fixed file permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Olaru committed Jul 30, 2018
1 parent 05f602e commit f0c4d28
Show file tree
Hide file tree
Showing 285 changed files with 79 additions and 57 deletions.
Empty file modified .circleci/deploy_production.sh
100755 → 100644
Empty file.
Empty file modified .circleci/deploy_test.sh
100755 → 100644
Empty file.
Empty file modified bin/install-wp-tests.sh
100755 → 100644
Empty file.
Empty file modified components/.bin/install-wp-tests.sh
100755 → 100644
Empty file.
Empty file modified components/.github/ISSUE_TEMPLATE.md
100755 → 100644
Empty file.
Empty file modified components/.github/PULL_REQUEST_TEMPLATE.md
100755 → 100644
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified components/docs/CONTRIBUTING.md
100755 → 100644
Empty file.
Empty file modified components/docs/Gemfile
100755 → 100644
Empty file.
Empty file modified components/docs/Gemfile.lock
100755 → 100644
Empty file.
Empty file modified components/docs/LICENSE
100755 → 100644
Empty file.
Empty file modified components/docs/README.md
100755 → 100644
Empty file.
Empty file modified components/docs/TEMPLATE-INFORMATION.md
100755 → 100644
Empty file.
Empty file modified components/docs/_config.yml
100755 → 100644
Empty file.
Empty file modified components/docs/_data/authors.yml
100755 → 100644
Empty file.
Empty file modified components/docs/_data/features.yml
100755 → 100644
Empty file.
Empty file modified components/docs/_data/header-features.yml
100755 → 100644
Empty file.
Empty file modified components/docs/_data/nav.yml
100755 → 100644
Empty file.
Empty file modified components/docs/_data/nav_docs.yml
100755 → 100644
Empty file.
Empty file modified components/docs/_data/powered_by.yml
100755 → 100644
Empty file.
Empty file modified components/docs/_data/powered_by_highlight.yml
100755 → 100644
Empty file.
Empty file modified components/docs/_data/promo.yml
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/accessibility.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/asynchronous-layout.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/best-practices.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/border.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/codegen.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/communicating-with-the-ui.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/community-showcase.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/component-tree.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/contributing.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/custom-layout.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/debugging.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/dev-options.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/diff-sections.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/espresso-testing.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/events-overview.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/events-touch-handling.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/faq.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/getting-started.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/glossary.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/group-sections.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/inc-mount-architecture.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/inc-mount.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/intro.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/layout-specs.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/layout.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/motivation.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/mount-specs.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/prop-matching.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/props.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/recycler-collection-component.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/recycler-component.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/recycling.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/repo-structure.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/rtl.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/sections-architecture.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/sections-building-blocks.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/sections-intro.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/sections-testing.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/sections-tutorial.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/sections-view-support.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/services.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/state.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/styles.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/subcomponent-testing.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/tests-in-android-studio.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/transition-animations.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/tree-props.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/tutorial.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/unit-testing.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/uses.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/using-components.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/view-flattening.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/visibility_handling.md
100755 → 100644
Empty file.
Empty file modified components/docs/_docs/writing-components.md
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/blog_pagination.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/content/gridblocks.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/content/items/gridblock.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/doc.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/doc_paging.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/footer.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/head.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/header.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/hero.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/home_header.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/katex_import.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/katex_render.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/nav.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/nav/collection_nav.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/nav/collection_nav_group.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/nav/collection_nav_group_item.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/nav/header_nav.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/nav_search.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/plugins/all_share.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/plugins/ascii_cinema.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/plugins/button.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/plugins/github_star.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/plugins/github_watch.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/plugins/google_share.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/plugins/iframe.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/plugins/like_button.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/plugins/plugin_row.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/plugins/post_social_plugins.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/plugins/slideshow.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/plugins/twitter_follow.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/plugins/twitter_share.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/post.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/powered_by.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/social_plugins.html
100755 → 100644
Empty file.
Empty file modified components/docs/_includes/ui/button.html
100755 → 100644
Empty file.
Empty file modified components/docs/_layouts/basic.html
100755 → 100644
Empty file.
Empty file modified components/docs/_layouts/blog.html
100755 → 100644
Empty file.
Empty file modified components/docs/_layouts/blog_default.html
100755 → 100644
Empty file.
Empty file modified components/docs/_layouts/default.html
100755 → 100644
Empty file.
Empty file modified components/docs/_layouts/doc_default.html
100755 → 100644
Empty file.
Empty file modified components/docs/_layouts/doc_page.html
100755 → 100644
Empty file.
Empty file modified components/docs/_layouts/docs.html
100755 → 100644
Empty file.
Empty file modified components/docs/_layouts/home.html
100755 → 100644
Empty file.
Empty file modified components/docs/_layouts/page.html
100755 → 100644
Empty file.
Empty file modified components/docs/_layouts/plain.html
100755 → 100644
Empty file.
Empty file modified components/docs/_layouts/post.html
100755 → 100644
Empty file.
Empty file modified components/docs/_layouts/redirect.html
100755 → 100644
Empty file.
Empty file modified components/docs/_layouts/top-level.html
100755 → 100644
Empty file.
Empty file modified components/docs/_layouts/tutorial.html
100755 → 100644
Empty file.
Empty file modified components/docs/_layouts/tutorial_default.html
100755 → 100644
Empty file.
Empty file modified components/docs/_layouts/tutorial_post.html
100755 → 100644
Empty file.
Empty file modified components/docs/_sass/_base.scss
100755 → 100644
Empty file.
Empty file modified components/docs/_sass/_blog.scss
100755 → 100644
Empty file.
Empty file modified components/docs/_sass/_buttons.scss
100755 → 100644
Empty file.
Empty file modified components/docs/_sass/_footer.scss
100755 → 100644
Empty file.
Empty file modified components/docs/_sass/_gridBlock.scss
100755 → 100644
Empty file.
Empty file modified components/docs/_sass/_header.scss
100755 → 100644
Empty file.
Empty file modified components/docs/_sass/_home.scss
100755 → 100644
Empty file.
Empty file modified components/docs/_sass/_poweredby.scss
100755 → 100644
Empty file.
Empty file modified components/docs/_sass/_promo.scss
100755 → 100644
Empty file.
Empty file modified components/docs/_sass/_react_docs_nav.scss
100755 → 100644
Empty file.
Empty file modified components/docs/_sass/_react_header_nav.scss
100755 → 100644
Empty file.
Empty file modified components/docs/_sass/_reset.scss
100755 → 100644
Empty file.
Empty file modified components/docs/_sass/_search.scss
100755 → 100644
Empty file.
Empty file modified components/docs/_sass/_slideshow.scss
100755 → 100644
Empty file.
Empty file modified components/docs/_sass/_syntax-highlighting.scss
100755 → 100644
Empty file.
Empty file modified components/docs/_sass/_tables.scss
100755 → 100644
Empty file.
Empty file modified components/docs/_sass/_toggler.scss
100755 → 100644
Empty file.
Empty file modified components/docs/blog/all.html
100755 → 100644
Empty file.
Empty file modified components/docs/blog/index.html
100755 → 100644
Empty file.
Empty file modified components/docs/css/main.scss
100755 → 100644
Empty file.
Empty file modified components/docs/docs/index.html
100755 → 100644
Empty file.
Empty file modified components/docs/feed.xml
100755 → 100644
Empty file.
Empty file modified components/docs/index.md
100755 → 100644
Empty file.
Empty file modified components/docs/js/jekyll-link-anchors.js
100755 → 100644
Empty file.
Empty file modified components/docs/landing-page-sample.md
100755 → 100644
Empty file.
Empty file modified components/docs/static/fonts/LatoLatin-Black.woff
100755 → 100644
Empty file.
Empty file modified components/docs/static/fonts/LatoLatin-Black.woff2
100755 → 100644
Empty file.
Empty file modified components/docs/static/fonts/LatoLatin-BlackItalic.woff
100755 → 100644
Empty file.
Empty file modified components/docs/static/fonts/LatoLatin-BlackItalic.woff2
100755 → 100644
Empty file.
Empty file modified components/docs/static/fonts/LatoLatin-Italic.woff
100755 → 100644
Empty file.
Empty file modified components/docs/static/fonts/LatoLatin-Italic.woff2
100755 → 100644
Empty file.
Empty file modified components/docs/static/fonts/LatoLatin-Light.woff
100755 → 100644
Empty file.
Empty file modified components/docs/static/fonts/LatoLatin-Light.woff2
100755 → 100644
Empty file.
Empty file modified components/docs/static/fonts/LatoLatin-Regular.woff
100755 → 100644
Empty file.
Empty file modified components/docs/static/fonts/LatoLatin-Regular.woff2
100755 → 100644
Empty file.
Empty file modified components/docs/static/images/android-studio-tests-0.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/android-studio-tests-1.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/android-studio-tests-2.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/android-studio-tests-3.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/android.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/barebones1.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/barebones2.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/barebones3.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/barebones4.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/barebones5.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/border-all.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/border-color-all.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/border-color-varying-width.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/border-composed-effect.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/border-dash-effect.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/border-discrete-effect.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/border-left.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/border-pathdash-effect.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/border-radius-separate.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/border-radius-xy.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/border-varying-all.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/complex-component-0.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/complex-component-1.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/espresso-logo.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/f8-intro.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/docs/static/images/facebook.png
100755 → 100644
Empty file modified components/docs/static/images/flat.png
100755 → 100644
Empty file modified components/docs/static/images/group-section-spec.png
100755 → 100644
Empty file modified components/docs/static/images/home-async.png
100755 → 100644
Empty file modified components/docs/static/images/home-code.png
100755 → 100644
Empty file modified components/docs/static/images/home-incremental-mount.png
100755 → 100644
Empty file modified components/docs/static/images/incremental-mount.png
100755 → 100644
Empty file modified components/docs/static/images/insertion_async_small.gif
100755 → 100644
Empty file modified components/docs/static/images/insertion_sync_small.gif
100755 → 100644
Empty file modified components/docs/static/images/not-flat.png
100755 → 100644
Empty file modified components/docs/static/images/range_small.gif
100755 → 100644
Empty file modified components/docs/static/images/remote-debugger.png
100755 → 100644
Empty file modified components/docs/static/images/sections-intro.png
100755 → 100644
Empty file modified components/docs/static/images/stetho-edit.png
100755 → 100644
Empty file modified components/docs/static/images/stetho-inspect.png
100755 → 100644
Empty file modified components/docs/static/images/stetho-start.png
100755 → 100644
Empty file modified components/docs/static/images/transitions_blocks_demo.png
100755 → 100644
Empty file modified components/docs/static/images/viewflattening.png
100755 → 100644
Empty file modified components/docs/static/images/viewflatteningnobounds.jpeg
100755 → 100644
Empty file modified components/docs/static/images/yo_dawg.jpg
100755 → 100644
Empty file modified components/docs/static/oss_logo.png
100755 → 100644
Empty file modified components/docs/tutorial/index.html
100755 → 100644
Empty file.
Empty file modified components/tests/php/vendor/myclabs/deep-copy/.gitattributes
100755 → 100644
Empty file.
Empty file modified components/tests/php/vendor/myclabs/deep-copy/.gitignore
100755 → 100644
Empty file.
Empty file modified components/tests/php/vendor/myclabs/deep-copy/.travis.yml
100755 → 100644
Empty file.
Empty file modified components/tests/php/vendor/phpunit/phpunit/phpunit
100755 → 100644
Empty file.
Empty file.
Empty file modified inc/integrations.php
100755 → 100644
Empty file.
Empty file modified inc/integrations/customify.php
100755 → 100644
Empty file.
Empty file modified inc/required-plugins.php
100755 → 100644
Empty file.
Empty file modified inc/required-plugins/LICENSE.md
100755 → 100644
Empty file.
Empty file modified inc/required-plugins/class-tgm-plugin-activation.php
100755 → 100644
Empty file.
Empty file modified inc/required-plugins/languages/tgmpa.pot
100755 → 100644
Empty file.
75 changes: 43 additions & 32 deletions inc/specific/customify.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
*/

add_filter( 'customify_filter_fields', 'pixelgrade_add_customify_style_manager_section', 12, 1 );
add_filter( 'customify_filter_fields', 'variation_change_site_identity_section', 13, 1 );
add_filter( 'pixelgrade_customify_general_section_options', 'variation_change_customify_general_section', 20, 2 );
add_filter( 'pixelgrade_header_customify_section_options', 'variation_change_customify_header_section', 20, 2 );
add_filter( 'pixelgrade_customify_main_content_section_options', 'variation_change_customify_main_content_section', 20, 2 );
Expand All @@ -21,17 +22,17 @@
add_filter( 'pixelgrade_customify_blog_grid_section_options', 'variation_change_customify_blog_grid_section', 20, 2 );

// Color Palette
define( 'SM_COLOR_PRIMARY', '#F6B4A6' ); // Problematic Pink (#FCD9D2) it's primary at 40% opacity
define( 'SM_COLOR_SECONDARY', '#DD9997' );
define( 'SM_COLOR_TERTIARY', '#FDEB89' ); // Bright Yellow
define( 'SM_COLOR_PRIMARY', '#FFB1A5' ); // Problematic Pink (#FCD9D2) it's primary at 40% opacity
define( 'SM_COLOR_SECONDARY', '#E79696' );
define( 'SM_COLOR_TERTIARY', '#383E5A' ); // Bright Yellow (#FFEA80) replaced by a more vibrant Blueish

define( 'SM_DARK_PRIMARY', '#34394A' ); // Blueish
define( 'SM_DARK_PRIMARY', '#34394B' ); // Blueish
define( 'SM_DARK_SECONDARY', '#49494B' );
define( 'SM_DARK_TERTIARY', '#A2A3A2' );
define( 'SM_DARK_TERTIARY', '#394059' );

define( 'SM_LIGHT_PRIMARY', '#FFFFFF' ); // White
define( 'SM_LIGHT_SECONDARY', '#FDF4F4' ); // Light Pink
define( 'SM_LIGHT_TERTIARY', '#FEF5C4' ); // Light Yellow
define( 'SM_LIGHT_SECONDARY', '#FFF4F4' ); // Light Pink
define( 'SM_LIGHT_TERTIARY', '#FFF5C1' ); // Light Yellow

define( 'SM_HEADINGS_FONT', 'IBM Plex Sans' );
define( 'SM_ACCENT_FONT', 'IBM Plex Sans' );
Expand Down Expand Up @@ -187,8 +188,41 @@ function pixelgrade_add_customify_style_manager_section( $options ) {
return $options;
}

function variation_change_site_identity_section( $options ) {
$options['sections']['title_tagline'] = array(
'section_id' => 'title_tagline', // This is needed so we avoid the prefixing and use the core defined section.
'options' => array(
'profile_photo' => array(
'label' => esc_html__( 'Profile Photo', '__theme_txtd' ),
'type' => 'cropped_image',
'priority' => 7, // this will make it appear above Logo (that has a priority of 8).
'width' => 700, // Suggested width for cropped image.
'height' => 700, // Suggested height for cropped image.
'flex_width' => true, // Whether the width is flexible.
'flex_height' => true, // Whether the height is flexible.
'button_labels' => array(
'select' => esc_html__( 'Select photo', '__theme_txtd' ),
'change' => esc_html__( 'Change photo', '__theme_txtd' ),
'remove' => esc_html__( 'Remove', '__theme_txtd' ),
'default' => esc_html__( 'Default', '__theme_txtd' ),
'placeholder' => esc_html__( 'No photo selected', '__theme_txtd' ),
'frame_title' => esc_html__( 'Select photo', '__theme_txtd' ),
'frame_button' => esc_html__( 'Choose photo', '__theme_txtd' ),
),
),
'display_site_title' => array(
'label' => esc_html__( 'Display Site Title', '__theme_txtd' ),
'type' => 'checkbox',
'default' => false,
),
),
);

return $options;
}

/**
* Footer Section
* General Section
*
* @param array $section_options The specific Customify config to be filtered
* @param array $options The whole Customify config
Expand Down Expand Up @@ -355,29 +389,6 @@ function variation_change_customify_general_section( $section_options, $options
),
),
),
'title_tagline' => array(
'section_id' => 'title_tagline', // This is needed so we avoid the prefixing and use the core defined section.
'options' => array(
'profile_photo' => array(
'label' => esc_html__( 'Profile Photo', '__theme_txtd' ),
'type' => 'cropped_image',
'priority' => 7, // this will make it appear above Logo (that has a priority of 8).
'width' => 700, // Suggested width for cropped image.
'height' => 700, // Suggested height for cropped image.
'flex_width' => true, // Whether the width is flexible.
'flex_height' => true, // Whether the height is flexible.
'button_labels' => array(
'select' => __( 'Select photo' ),
'change' => __( 'Change photo' ),
'remove' => __( 'Remove' ),
'default' => __( 'Default' ),
'placeholder' => __( 'No photo selected' ),
'frame_title' => __( 'Select photo' ),
'frame_button' => __( 'Choose photo' ),
),
)
),
),
);

// Now we merge the modified config with the original one
Expand Down Expand Up @@ -1146,4 +1157,4 @@ function noto_add_default_color_palette( $color_palettes ) {

return $color_palettes;
}
add_filter( 'customify_get_color_palettes', 'noto_add_default_color_palette' );
add_filter( 'customify_get_color_palettes', 'noto_add_default_color_palette' );
Empty file modified tests/install-wp-tests.sh
100755 → 100644
Empty file.
61 changes: 36 additions & 25 deletions variations/noto/synced/inc/specific/customify.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
*/

add_filter( 'customify_filter_fields', 'pixelgrade_add_customify_style_manager_section', 12, 1 );
add_filter( 'customify_filter_fields', 'variation_change_site_identity_section', 13, 1 );
add_filter( 'pixelgrade_customify_general_section_options', 'variation_change_customify_general_section', 20, 2 );
add_filter( 'pixelgrade_header_customify_section_options', 'variation_change_customify_header_section', 20, 2 );
add_filter( 'pixelgrade_customify_main_content_section_options', 'variation_change_customify_main_content_section', 20, 2 );
Expand Down Expand Up @@ -187,8 +188,41 @@ function pixelgrade_add_customify_style_manager_section( $options ) {
return $options;
}

function variation_change_site_identity_section( $options ) {
$options['sections']['title_tagline'] = array(
'section_id' => 'title_tagline', // This is needed so we avoid the prefixing and use the core defined section.
'options' => array(
'profile_photo' => array(
'label' => esc_html__( 'Profile Photo', '__theme_txtd' ),
'type' => 'cropped_image',
'priority' => 7, // this will make it appear above Logo (that has a priority of 8).
'width' => 700, // Suggested width for cropped image.
'height' => 700, // Suggested height for cropped image.
'flex_width' => true, // Whether the width is flexible.
'flex_height' => true, // Whether the height is flexible.
'button_labels' => array(
'select' => esc_html__( 'Select photo', '__theme_txtd' ),
'change' => esc_html__( 'Change photo', '__theme_txtd' ),
'remove' => esc_html__( 'Remove', '__theme_txtd' ),
'default' => esc_html__( 'Default', '__theme_txtd' ),
'placeholder' => esc_html__( 'No photo selected', '__theme_txtd' ),
'frame_title' => esc_html__( 'Select photo', '__theme_txtd' ),
'frame_button' => esc_html__( 'Choose photo', '__theme_txtd' ),
),
),
'display_site_title' => array(
'label' => esc_html__( 'Display Site Title', '__theme_txtd' ),
'type' => 'checkbox',
'default' => false,
),
),
);

return $options;
}

/**
* Footer Section
* General Section
*
* @param array $section_options The specific Customify config to be filtered
* @param array $options The whole Customify config
Expand Down Expand Up @@ -355,29 +389,6 @@ function variation_change_customify_general_section( $section_options, $options
),
),
),
'title_tagline' => array(
'section_id' => 'title_tagline', // This is needed so we avoid the prefixing and use the core defined section.
'options' => array(
'profile_photo' => array(
'label' => esc_html__( 'Profile Photo', '__theme_txtd' ),
'type' => 'cropped_image',
'priority' => 7, // this will make it appear above Logo (that has a priority of 8).
'width' => 700, // Suggested width for cropped image.
'height' => 700, // Suggested height for cropped image.
'flex_width' => true, // Whether the width is flexible.
'flex_height' => true, // Whether the height is flexible.
'button_labels' => array(
'select' => __( 'Select photo' ),
'change' => __( 'Change photo' ),
'remove' => __( 'Remove' ),
'default' => __( 'Default' ),
'placeholder' => __( 'No photo selected' ),
'frame_title' => __( 'Select photo' ),
'frame_button' => __( 'Choose photo' ),
),
)
),
),
);

// Now we merge the modified config with the original one
Expand Down Expand Up @@ -1146,4 +1157,4 @@ function noto_add_default_color_palette( $color_palettes ) {

return $color_palettes;
}
add_filter( 'customify_get_color_palettes', 'noto_add_default_color_palette' );
add_filter( 'customify_get_color_palettes', 'noto_add_default_color_palette' );

0 comments on commit f0c4d28

Please sign in to comment.