Skip to content

Commit

Permalink
Allow border and hover colours to be overridden
Browse files Browse the repository at this point in the history
`$govuk-border-colour` and `$govuk-hover-colour` are missing a `!default` declaration, meaning its not possible to override these values in upstream projects.
  • Loading branch information
paulrobertlloyd authored and 36degrees committed Oct 4, 2023
1 parent f837f9c commit cdd9c58
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ $govuk-success-colour: govuk-colour("green") !default;
/// @type Colour
/// @access public

$govuk-border-colour: govuk-colour("mid-grey");
$govuk-border-colour: govuk-colour("mid-grey") !default;

/// Input border colour
///
Expand All @@ -120,7 +120,7 @@ $govuk-input-border-colour: govuk-colour("black") !default;
/// @type Colour
/// @access public

$govuk-hover-colour: govuk-colour("mid-grey");
$govuk-hover-colour: govuk-colour("mid-grey") !default;

// =============================================================================
// Links
Expand Down

0 comments on commit cdd9c58

Please sign in to comment.