Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Sass deprecation on mix function (passing a number without unit) #995

Merged
merged 1 commit into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# NHS.UK frontend Changelog

## Unreleased

- Fix Sass deprecation on `mix` function (passing a number without unit) ([PR 995](https://github.com/nhsuk/nhsuk-frontend/pull/995))

## 8.3.0 - 24 July 2024

:new: **New features**
Expand Down
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 * 1%);
@return mix(white, $color, $percentage);
}

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

//
Expand Down
Loading