Skip to content

Commit

Permalink
Update link mixin comments
Browse files Browse the repository at this point in the history
The govuk-link-common mixin is now doing a lot more than just focus states, so update the comments to reflect that.
  • Loading branch information
36degrees committed Apr 30, 2021
1 parent 415fa11 commit 6199cfd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/govuk/helpers/_links.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/// Provides the default unvisited, visited, hover and active states for links.
///
/// If you use this mixin in a component you must also include the
/// govuk-link-common mixin in order to get the focus state.
/// govuk-link-common mixin in order to get the correct focus and hover states.
///
/// @example scss
/// .govuk-component__link {
Expand Down Expand Up @@ -71,7 +71,7 @@
/// Provides the error unvisited, visited, hover and active states for links.
///
/// If you use this mixin in a component you must also include the
/// govuk-link-common mixin in order to get the focus state.
/// govuk-link-common mixin in order to get the correct focus and hover states.
///
/// @example scss
/// .govuk-component__link {
Expand Down Expand Up @@ -118,7 +118,7 @@
/// Provides the success unvisited, visited, hover and active states for links.
///
/// If you use this mixin in a component you must also include the
/// govuk-link-common mixin in order to get the focus state.
/// govuk-link-common mixin in order to get the correct focus and hover states.
///
/// @example scss
/// .govuk-component__link {
Expand Down Expand Up @@ -166,7 +166,7 @@
/// regardless of visited state.
///
/// If you use this mixin in a component you must also include the
/// govuk-link-common mixin in order to get the focus state.
/// govuk-link-common mixin in order to get the correct focus and hover states.
///
/// @example scss
/// .govuk-component__link {
Expand Down Expand Up @@ -206,7 +206,7 @@
/// navigation components, such as breadcrumbs or the back link.
///
/// If you use this mixin in a component you must also include the
/// govuk-link-common mixin in order to get the focus state.
/// govuk-link-common mixin in order to get the correct focus and hover states.
///
/// @example scss
/// .govuk-component__link {
Expand Down Expand Up @@ -240,7 +240,7 @@
/// Overrides the colour of links to work on a dark background.
///
/// If you use this mixin in a component you must also include the
/// govuk-link-common mixin in order to get the focus state.
/// govuk-link-common mixin in order to get the correct focus and hover states.
///
/// @example scss
/// .govuk-component__link {
Expand Down Expand Up @@ -282,7 +282,7 @@
/// that you’ve visited it before is not important.
///
/// If you use this mixin in a component you must also include the
/// govuk-link-common mixin in order to get the focus state.
/// govuk-link-common mixin in order to get the correct focus and hover states.
///
/// @example scss
/// .govuk-component__link {
Expand Down

0 comments on commit 6199cfd

Please sign in to comment.