Skip to content

Commit

Permalink
Fix convertRemToPx function (#156)
Browse files Browse the repository at this point in the history
* Get back css ratio varibales on root for the convertRemToPx helper function

* Format

---------

Co-authored-by: Augustin <[email protected]>
Co-authored-by: Willy Brauner <[email protected]>
  • Loading branch information
3 people authored Oct 19, 2023
1 parent d22bd58 commit 113ca16
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 @@ -21,6 +21,12 @@
// 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;
--breakpoint-tablet: @breakpoint-tablet;
Expand Down

0 comments on commit 113ca16

Please sign in to comment.