{#
# Project: www.betten-abc.de
# Company: arboro GmbH
# Created by: Daniel Geike
# Created on: 21.09.22
# Description:
#}
{% sw_extends "@Storefront/storefront/layout/header/logo.html.twig" %}
{% block layout_header_logo_image_tablet %}
{{ parent() }}
{% block layout_header_logo_image_tablet_dark_mode %}
{% if theme_config('sw-logo-tablet-light-light') and theme_config('sw-logo-tablet-light') != theme_config('sw-logo-desktop-light') %}
<source srcset="{{ theme_config('sw-logo-tablet-light') |sw_encode_url }}"
media="(max-width: {{ theme_config('breakpoint.md') - 1 }}px) and (prefers-color-scheme: dark)">
{% endif %}
{% endblock %}
{% endblock %}
{% block layout_header_logo_image_mobile %}
{{ parent() }}
{% block layout_header_logo_image_mobile_dark_mode %}
{% if theme_config('sw-logo-mobile-light') and theme_config('sw-logo-mobile-light') != theme_config('sw-logo-desktop-light') %}
<source srcset="{{ theme_config('sw-logo-mobile-light') |sw_encode_url }}"
media="(max-width: {{ theme_config('breakpoint.md') - 1 }}px) and (prefers-color-scheme: dark)">
{% endif %}
{% endblock %}
{% endblock %}
{% block layout_header_logo_image_default %}
{% block layout_header_logo_image_default_dark_mode %}
{% if theme_config('sw-logo-desktop-light') %}
<source srcset="{{ theme_config('sw-logo-desktop-light') |sw_encode_url }}"
media="(max-width: {{ theme_config('breakpoint.md') - 1 }}px) and (prefers-color-scheme: dark)">
{% endif %}
{% endblock %}
{{ parent() }}
{% endblock %}