Skip to content

Commit

Permalink
Get back css ratio varibales on root for the convertRemToPx helper fu…
Browse files Browse the repository at this point in the history
…nction
  • Loading branch information
Augustin committed Oct 6, 2023
1 parent d22bd58 commit 78b4cdc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/front/src/variables/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
:root {
// DO NOT TOUCH
.propertyViewport(--font-size, 1);
// Ratio variables

--viewport-reference-width: @viewport-reference-width;
--viewport-reference-height: @viewport-reference-height;
--viewport-reference-desktop-width: @viewport-reference-desktop-width;
--viewport-reference-desktop-height: @viewport-reference-desktop-height;

// breakpoints
--breakpoint-mobile: @breakpoint-mobile;
Expand Down

0 comments on commit 78b4cdc

Please sign in to comment.