Skip to content

Commit

Permalink
#10: Add Scaled responsive image style to installation files
Browse files Browse the repository at this point in the history
  • Loading branch information
rayestrada committed Mar 9, 2024
1 parent 9ce3707 commit 3ace53b
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 0 deletions.
14 changes: 14 additions & 0 deletions config/install/image.style.bixal_scaled_lg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
langcode: en
status: true
dependencies: { }
name: bixal_scaled_lg
label: 'Bixal: Scaled large (1280)'
effects:
a0962518-9cc3-414e-9225-1c691f797150:
uuid: a0962518-9cc3-414e-9225-1c691f797150
id: image_scale
weight: 1
data:
width: 1280
height: null
upscale: false
14 changes: 14 additions & 0 deletions config/install/image.style.bixal_scaled_md.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
langcode: en
status: true
dependencies: { }
name: bixal_scaled_md
label: 'Bixal: Scaled medium (960)'
effects:
89836321-33a7-46d3-9328-ef2a0061c544:
uuid: 89836321-33a7-46d3-9328-ef2a0061c544
id: image_scale
weight: 1
data:
width: 960
height: null
upscale: false
14 changes: 14 additions & 0 deletions config/install/image.style.bixal_scaled_sm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
langcode: en
status: true
dependencies: { }
name: bixal_scaled_sm
label: 'Bixal: Scaled small (640)'
effects:
d4607d8c-1bb7-44a6-bea8-3e4953d2def5:
uuid: d4607d8c-1bb7-44a6-bea8-3e4953d2def5
id: image_scale
weight: 1
data:
width: 640
height: null
upscale: false
24 changes: 24 additions & 0 deletions config/install/responsive_image.styles.bixal_scaled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
langcode: en
status: true
dependencies:
config:
- image.style.bixal_scaled_lg
- image.style.bixal_scaled_md
- image.style.bixal_scaled_sm
theme:
- bixaluswds
id: bixal_scaled
label: 'Bixal: Scaled'
image_style_mappings:
-
image_mapping_type: image_style
image_mapping: bixal_scaled_lg
breakpoint_id: bixaluswds.desktop
multiplier: 1x
-
image_mapping_type: image_style
image_mapping: bixal_scaled_md
breakpoint_id: bixaluswds.tablet
multiplier: 1x
breakpoint_group: 'Bixal USWDS'
fallback_image_style: bixal_scaled_sm

0 comments on commit 3ace53b

Please sign in to comment.