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

attiks’s picture

Assigned: Unassigned » Jelle_S
attiks’s picture

Syntax:

multipliers[mobile][] = 1.5x
multipliers[mobile][] = 2x
Jelle_S’s picture

Assigned: Jelle_S » Unassigned
Status: Active » Fixed

Fixed in latest dev version.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

bradyemerson’s picture

Can you please add this to the documentation on the project main page?