Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The current syntax for defining breakpoints in the theme .info file does not allow me to define multipliers. This means that the export-to-theme functionality is not suitable for all use cases. It would be nice if the info file syntax would support this, for instance:
breakpoints[mobile] = (max-width: 480px)
breakpoints[mobile][multipliers] = 1.5x 2x
By the way, I did notice that the export-to-features functionality does allow exporting multiplier settings. Thanks for that.
Comments
Comment #1
attiks CreditAttribution: attiks commentedComment #2
attiks CreditAttribution: attiks commentedSyntax:
Comment #3
Jelle_SFixed in latest dev version.
Comment #5
bradyemerson CreditAttribution: bradyemerson commentedCan you please add this to the documentation on the project main page?