lucca-front
lucca-front copied to clipboard
Responsive : add shortcut for queries + add outside option
Description
A few improvements for responsive requests.
$max
is replaced by $inverted
, which makes more sense for requests with two breakpoints. (No breaking.)
$between
is replaced by $inside
, which makes more sense with outside. (Only one breaking.)
An additional parameter is added to the mixin that handles one breakpoint: if it is used, the mixin that handles two breakpoints is called. This makes it possible to centralize all requests on the same mixin.
We can now reverse the between query and you can call this configuration with mixins prefixed with outside.