Skip to content

Commit

Permalink
Merge pull request #981 from nhsuk/update-sass-syntax
Browse files Browse the repository at this point in the history
Remove deprecated percentage syntax
  • Loading branch information
roshaanbajwa authored Jul 10, 2024
2 parents 4f60226 + 36b84ad commit c7add40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/settings/_colours.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ $alpha-transparency-50: 0.5;
//

@function tint($color, $percentage) {
@return mix(white, $color, $percentage);
@return mix(white, $color, $percentage * 1%);
}

@function shade($color, $percentage) {
@return mix(black, $color, $percentage);
@return mix(black, $color, $percentage * 1%);
}

//
Expand Down

0 comments on commit c7add40

Please sign in to comment.