Fix deprecated functions in sass files
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
@use 'tokens';
|
||||
@use 'functions';
|
||||
@use 'sass:map';
|
||||
|
||||
/* varela-round-regular - latin */
|
||||
@font-face {
|
||||
font-family: 'Varela Round';
|
||||
@@ -57,8 +61,8 @@
|
||||
}
|
||||
|
||||
body {
|
||||
$line-height: get-size(600);
|
||||
font-family: #{map-get($tokens, 'fonts', 'base')};
|
||||
$line-height: functions.get-size(600);
|
||||
font-family: #{map.get(tokens.$tokens, 'fonts', 'base')};
|
||||
|
||||
// Strip the unit off the size ratio to generate a line height
|
||||
line-height: calc($line-height / 1);
|
||||
@@ -66,7 +70,7 @@ body {
|
||||
|
||||
h1,
|
||||
h2 {
|
||||
font-family: #{map-get($tokens, 'fonts', 'brand')};
|
||||
font-family: #{map.get(tokens.$tokens, 'fonts', 'brand')};
|
||||
}
|
||||
|
||||
h1 {
|
||||
@@ -81,7 +85,7 @@ h2 {
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: get-size(500);
|
||||
font-size: functions.get-size(500);
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
|
||||
Reference in New Issue
Block a user