Skip to content

Commit

Permalink
add new theme setting to enable scroll animations
Browse files Browse the repository at this point in the history
  • Loading branch information
metamoni committed Mar 2, 2023
1 parent 5f13b1b commit f309b91
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/settings_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
8 changes: 8 additions & 0 deletions locales/en.default.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,14 @@
}
}
},
"animations": {
"name": "Animations",
"settings": {
"animations_reveal_on_scroll": {
"label": "Reveal sections on scroll"
}
}
},
"social-media": {
"name": "Social media",
"settings": {
Expand Down

0 comments on commit f309b91

Please sign in to comment.