Skip to content

Commit

Permalink
Remove deprecated node-sass features
Browse files Browse the repository at this point in the history
  • Loading branch information
Fweddi committed Jul 18, 2024
1 parent aa7cf4a commit ca54015
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion public/styles/components/_overlay.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $offset-for-header: 51px;
width: 100%;
height: 100%;
top: $offset-for-header;
background-color: hsla(0, 0, 93%, 0.9);
background-color: hsla(0, 0%, 93%, 0.9);

display: flex;
justify-content: center;
Expand Down
6 changes: 2 additions & 4 deletions public/styles/variables/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@ $fonts-base-path: "/assets/fonts/v1/";
@include gu-font-face("GuardianTitlepieceWeb", "GuardianTitlepieceWeb-Regular");

@mixin font-size($size, $line-height) {
font-size: 0px + $size;
font-size: 0rem + $size / 10;
line-height: 0px + $line-height;
line-height: 0rem + $line-height / 10;
font-size: calc($size / 10);
line-height: calc($line-height / 10);
}

%f-title {
Expand Down

0 comments on commit ca54015

Please sign in to comment.