Skip to content

Commit

Permalink
Use alphagov/govuk_template consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
36degrees committed Mar 23, 2018
1 parent 5d8735e commit 74e5012
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
7 changes: 3 additions & 4 deletions src/error-summary/_error-summary.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@
text-decoration: underline;
}

// GOV.UK Template includes a specific a:link:focus selector designed to
// make unvisited links a slightly darker blue when focussed, so we need to
// override the text colour for that combination of selectors so so that
// the links do not end up with dark blue text when focussed.
// alphagov/govuk_template includes a specific a:link:focus selector
// designed to make unvisited links a slightly darker blue when focussed, so
// we need to override the text colour for that combination of selectors.
@include govuk-compatibility(govuk_template) {
&:link:focus {
color: $govuk-error-colour;
Expand Down
7 changes: 3 additions & 4 deletions src/footer/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,9 @@
color: $govuk-text-colour;
}

// GOV.UK Template includes a specific a:link:focus selector designed to
// make unvisited links a slightly darker blue when focussed, so we need to
// override the text colour for that combination of selectors so so that
// unvisited footer links do not end up with dark blue text when focussed.
// alphagov/govuk_template includes a specific a:link:focus selector
// designed to make unvisited links a slightly darker blue when focussed, so
// we need to override the text colour for that combination of selectors.
@include govuk-compatibility(govuk_template) {
&:link:focus {
@include govuk-text-colour;
Expand Down
10 changes: 4 additions & 6 deletions src/globals/core/_links.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@

// alphagov/govuk_template includes a specific a:link:focus selector designed
// to make unvisited links a slightly darker blue when focussed, so we need to
// override the text colour for that combination of selectors so so that muted
// links do not end up with dark blue text when focussed.
// override the text colour for that combination of selectors.
@include govuk-compatibility(govuk_template) {
&:link:focus {
@include govuk-text-colour;
Expand Down Expand Up @@ -102,10 +101,9 @@
@include govuk-text-colour;
}

// GOV.UK Template includes a specific a:link:focus selector designed to
// make unvisited links a slightly darker blue when focussed, so we need to
// override the text colour for that combination of selectors so so that
// the back link does not end up with dark blue text when focussed.
// alphagov/govuk_template includes a specific a:link:focus selector designed
// to make unvisited links a slightly darker blue when focussed, so we need to
// override the text colour for that combination of selectors.
@include govuk-compatibility(govuk_template) {
&:link:focus {
@include govuk-text-colour;
Expand Down

0 comments on commit 74e5012

Please sign in to comment.