Repository navigation
#89 - Responsive images: retina (2x) support - #449
Merged
Merged
Conversation
Add 2x multiplier to the dcz_theme breakpoints, 2x image styles (hero_2x, landscape_2x, landscape_small_2x, screenshot_large_2x, screenshot_small_2x) and use them in the hero, landscape and screenshot responsive image styles. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the checklist from #89 (comment)
2xmultiplier to alldcz_themebreakpointshero_2x,landscape_2x,landscape_small_2x,screenshot_large_2x,screenshot_small_2xhero,landscapeandscreenshotresponsive image styles (hero usessizeswidth candidates, the others1x, 2xsrcsets)Test plan
drush site:install --existing-configworks; no config drift for image styles / responsive image styles<picture>markup for all three responsive styles contains the expected 2x sourcesdrush cimand flush image styles/caches; check a retina browser on /katalog and an articleCloses #89
🤖 Generated with Claude Code