Skip to content

Commit

Permalink
Update Sass settings (#789)
Browse files Browse the repository at this point in the history
- Use new X-GOVUK link state colours
- Remove deprecated `$govuk-new-link-styles` setting (deprecated in
GOV.UK Frontend v5.0)
- Remove unused `.app-width-container` rule (pretty sure this was copied
over from the stylesheet for GOV.UK Components)
- Remove `_logo.scss` as it contains a duplicate `.app-header__logo`
rule
  • Loading branch information
paulrobertlloyd authored Feb 5, 2024
1 parent c6804a6 commit d6b0f6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
3 changes: 0 additions & 3 deletions app/assets/sass/_logo.scss

This file was deleted.

12 changes: 3 additions & 9 deletions app/assets/sass/application.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$govuk-new-link-styles: true;

// Override the default GOV.UK Frontend font stack
$govuk-font-family: system-ui, sans-serif;
$govuk-brand-colour: #28a;
$govuk-link-colour: #006688;
$govuk-link-hover-colour: #004466;
$govuk-link-visited-colour: #333366;

@import "govuk-frontend/dist/govuk/all";

Expand All @@ -11,12 +11,6 @@ $govuk-brand-colour: #28a;
@import "count";
@import "header";
@import "list";
@import "logo";
@import "screenshot";
@import "tag";
@import "timeline";

// We don't change the global width container width so that examples are the current width.
.app-width-container {
@include govuk-width-container(1100px);
}

0 comments on commit d6b0f6f

Please sign in to comment.