diff --git a/assets/global.js b/assets/global.js index 41979540a20..9e1063175f6 100644 --- a/assets/global.js +++ b/assets/global.js @@ -441,6 +441,9 @@ class ModalDialog extends HTMLElement { }); } + } + + connectedCallback() { document.body.appendChild(this); } diff --git a/sections/video.liquid b/sections/video.liquid index e0f839ebf72..d032477d397 100644 --- a/sections/video.liquid +++ b/sections/video.liquid @@ -15,19 +15,52 @@ } {%- endstyle -%} -
- - {% unless section.settings.heading == "" %} - {% schema %} @@ -136,6 +138,35 @@ "label": "t:sections.video.settings.full_width.label", "default": false }, + { + "type": "select", + "id": "color_scheme", + "options": [ + { + "value": "accent-1", + "label": "t:sections.all.colors.accent_1.label" + }, + { + "value": "accent-2", + "label": "t:sections.all.colors.accent_2.label" + }, + { + "value": "background-1", + "label": "t:sections.all.colors.background_1.label" + }, + { + "value": "background-2", + "label": "t:sections.all.colors.background_2.label" + }, + { + "value": "inverse", + "label": "t:sections.all.colors.inverse.label" + } + ], + "default": "background-1", + "label": "t:sections.all.colors.label", + "info": "t:sections.all.colors.has_cards_info" + }, { "type": "header", "content": "t:sections.all.padding.section_padding_heading"