Closed smichaelsen closed 2 years ago
Closing this because more "magic" won't be helpful to understand or debug the extension.
The "up" and "down" range breakpoint names can also be achieved by manually configuring them:
breakpoints:
xs:
to: 599
sm:
from: 600
to: 1280
lg:
from: 1281
sm-up:
from: 600
sm-down:
to: 1280
Automatic Breakpoint
If a size name matches the name of a breakpoint and no breakpoint is given, that breakpoint should automatically be set.
Automatic "up" range
If a size name matches the name of a breakpoint plus the
-up
suffix, that breakpoint should automatically be set, without its upper bound, so that the size automatically matches the breakpoint and everything that is bigger.Automatic "down" range
If a size name matches the name of a breakpoint plus the
-down
suffix, that breakpoint should automatically be set, but the lower bound is set to 0, so that the size automatically matches the breakpoint and everything that is smaller.