LuccaSA / lucca-front

documentation
https://prisme.lucca.io
MIT License
38 stars 4 forks source link

Responsive : add shortcut for queries + add outside option #2861

Closed vvalentin-lucca closed 1 month ago

vvalentin-lucca commented 3 months ago

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.


Capture d’écran 2024-06-14 à 10 09 30 copie

Capture d’écran 2024-06-14 à 10 09 30 copie 2

339696345-0e506e21-61cc-4c96-92ee-162f6c85f9d8

Capture d’écran 2024-06-14 à 10 09 30

LuccaIntegration commented 3 months ago

:woman_cook: https://lucca-front.lucca.tech/PR-2861/storybook

CCNET-iLucca commented 3 months ago

Tests d'interfaces

LuccaIntegration commented 3 months ago

:woman_cook: https://lucca-front.lucca.tech/PR-2861/storybook

CCNET-iLucca commented 3 months ago

Tests d'interfaces

LuccaIntegration commented 3 months ago

:woman_cook: https://lucca-front.lucca.tech/PR-2861/storybook

CCNET-iLucca commented 3 months ago

Tests d'interfaces