Commit ed403eb1 authored by Julian Pustkuchen's avatar Julian Pustkuchen
Browse files

Issue #3260767 by Anybody, thomas.frobieter: Define breakpoint names neutrally...

Issue #3260767 by Anybody, thomas.frobieter: Define breakpoint names neutrally outside the theme - leads to unwanted drowl_base dependency
parent 194d032b
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
drowl_media.small:
  label: Small
  mediaQuery: 'all and (max-width: 640px)'
  weight: 0
  multipliers:
    - 1x
drowl_media.medium:
  label: Medium
  mediaQuery: 'all and (min-width: 641px) and (max-width: 1024px)'
  weight: 1
  multipliers:
    - 1x
drowl_media.large:
  label: Large
  mediaQuery: 'all and (min-width: 1025px) and (max-width: 1366px)'
  weight: 2
  multipliers:
    - 1x
drowl_media.xlarge:
  label: X-Large
  mediaQuery: 'all and (min-width: 1367px) and (max-width: 1920px)'
  weight: 3
  multipliers:
    - 1x
drowl_media.xxlarge:
  label: XX-Large
  mediaQuery: 'all and (min-width: 1921px)'
  weight: 4
  multipliers:
    - 1x
+1 −0
Original line number Diff line number Diff line
@@ -5,3 +5,4 @@ core_version_requirement: ^8.9 || ^9
dependencies:
  - drupal:media
  - drupal:media_library
  - drupal:breakpoint
+8 −8
Original line number Diff line number Diff line
@@ -5,35 +5,35 @@ dependencies:
    - image.style.page_width_lg
    - image.style.page_width_md
    - image.style.page_width_sm
  theme:
    - drowl_base
  module:
    - drowl_media
id: page_width
label: '100% Page width, cropped'
image_style_mappings:
  -
    image_mapping_type: image_style
    image_mapping: page_width_lg
    breakpoint_id: drowl_base.xxlarge
    breakpoint_id: drowl_media.xxlarge
    multiplier: 1x
  -
    image_mapping_type: image_style
    image_mapping: page_width_lg
    breakpoint_id: drowl_base.xlarge
    breakpoint_id: drowl_media.xlarge
    multiplier: 1x
  -
    image_mapping_type: image_style
    image_mapping: page_width_lg
    breakpoint_id: drowl_base.large
    breakpoint_id: drowl_media.large
    multiplier: 1x
  -
    image_mapping_type: image_style
    image_mapping: page_width_md
    breakpoint_id: drowl_base.medium
    breakpoint_id: drowl_media.medium
    multiplier: 1x
  -
    image_mapping_type: image_style
    image_mapping: page_width_sm
    breakpoint_id: drowl_base.small
    breakpoint_id: drowl_media.small
    multiplier: 1x
breakpoint_group: drowl_base
breakpoint_group: drowl_media
fallback_image_style: page_width_lg
+4 −4
Original line number Diff line number Diff line
@@ -3,15 +3,15 @@ status: true
dependencies:
  config:
    - image.style.page_width_25_lg
  theme:
    - drowl_base
  module:
    - drowl_media
id: page_width_25
label: '25% Page width, cropped'
image_style_mappings:
  -
    image_mapping_type: image_style
    image_mapping: page_width_25_lg
    breakpoint_id: drowl_base.small
    breakpoint_id: drowl_media.small
    multiplier: 1x
breakpoint_group: drowl_base
breakpoint_group: drowl_media
fallback_image_style: page_width_25_lg
+4 −4
Original line number Diff line number Diff line
@@ -3,15 +3,15 @@ status: true
dependencies:
  config:
    - image.style.page_width_25_lg_scale
  theme:
    - drowl_base
  module:
    - drowl_media
id: page_width_25_scale
label: '25% Page width, scale'
image_style_mappings:
  -
    image_mapping_type: image_style
    image_mapping: page_width_25_lg_scale
    breakpoint_id: drowl_base.small
    breakpoint_id: drowl_media.small
    multiplier: 1x
breakpoint_group: drowl_base
breakpoint_group: drowl_media
fallback_image_style: page_width_25_lg_scale
Loading