Skip to content

Commit 303ade6

Browse files
committed
feat: add px to rem mixin
1 parent ff4afd6 commit 303ade6

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
@import 'breakpoints';
2+
@import 'transforms';
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@function px-to-rem ($target, $context: $base-font-size) {
2+
@return ($target / $context) * 1rem;
3+
}

0 commit comments

Comments
 (0)