From f309b9168c2025b2323a14e0b276480b29d74c4f Mon Sep 17 00:00:00 2001 From: Monica Mateiu Date: Wed, 1 Mar 2023 09:22:09 +0000 Subject: [PATCH] add new theme setting to enable scroll animations --- config/settings_schema.json | 11 +++++++++++ locales/en.default.schema.json | 8 ++++++++ 2 files changed, 19 insertions(+) diff --git a/config/settings_schema.json b/config/settings_schema.json index c749ee1008a..ee499e67cc8 100644 --- a/config/settings_schema.json +++ b/config/settings_schema.json @@ -212,6 +212,17 @@ } ] }, + { + "name": "t:settings_schema.animations.name", + "settings": [ + { + "type": "checkbox", + "id": "animations_reveal_on_scroll", + "label": "t:settings_schema.animations.settings.animations_reveal_on_scroll.label", + "default": true + } + ] + }, { "name": "t:settings_schema.buttons.name", "settings": [ diff --git a/locales/en.default.schema.json b/locales/en.default.schema.json index b40595ee01f..710f553638a 100644 --- a/locales/en.default.schema.json +++ b/locales/en.default.schema.json @@ -257,6 +257,14 @@ } } }, + "animations": { + "name": "Animations", + "settings": { + "animations_reveal_on_scroll": { + "label": "Reveal sections on scroll" + } + } + }, "social-media": { "name": "Social media", "settings": {