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

DNM: Update GOV.UK Frontend to new colour palette #611

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
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
Next Next commit
Update colour palette
Dave House committed Mar 16, 2018
commit af412e7d805244c255148033e1611764c8afc76e
10 changes: 5 additions & 5 deletions src/globals/settings/_colours-applied.scss
Original file line number Diff line number Diff line change
@@ -12,14 +12,14 @@ $govuk-print-text-colour: #000000;
//
// Used for 'muted' text, help text, etc.

$govuk-secondary-text-colour: $govuk-grey-1;
$govuk-secondary-text-colour: $govuk-dark-grey;

// Links

$govuk-link-colour: $govuk-blue;
$govuk-link-visited-colour: #4c2c92;
$govuk-link-visited-colour: $govuk-purple;
$govuk-link-hover-colour: $govuk-light-blue;
$govuk-link-active-colour: $govuk-light-blue;
$govuk-link-active-colour: $govuk-black;

// Focus colour
//
@@ -38,15 +38,15 @@ $govuk-error-colour: $govuk-red;
//
// Used for borders, separators, rules, keylines etc.

$govuk-border-colour: $govuk-grey-2;
$govuk-border-colour: darken($govuk-light-grey, 25%);

// Used for form inputs and controls

$govuk-input-border-colour: $govuk-black;

// Buttons

$govuk-button-colour: #00823b;
$govuk-button-colour: $govuk-green;
$govuk-button-hover-colour: darken($govuk-button-colour, 5%);
$govuk-button-shadow-colour: darken($govuk-button-colour, 15%);
$govuk-button-text-colour: $govuk-white;
61 changes: 12 additions & 49 deletions src/globals/settings/_colours-palette.scss
Original file line number Diff line number Diff line change
@@ -1,55 +1,18 @@
// Brand colours
$govuk-blue: #005ea5;
$govuk-blue: #1d70b8;
$govuk-mainstream-brand: $govuk-blue;

// Standard palette, colours
$govuk-purple: #2e358b;
$govuk-purple-50: #9799c4;
$govuk-purple-25: #d5d6e7;
$govuk-mauve: #6f72af;
$govuk-mauve-50: #b7b9d7;
$govuk-mauve-25: #e2e2ef;
$govuk-fuchsia: #912b88;
$govuk-fuchsia-50: #c994c3;
$govuk-fuchsia-25: #e9d4e6;
$govuk-pink: #d53880;
$govuk-pink-50: #eb9bbe;
$govuk-pink-25: #f6d7e5;
$govuk-baby-pink: #f499be;
$govuk-baby-pink-50: #faccdf;
$govuk-baby-pink-25: #fdebf2;
$govuk-red: #b10e1e;
$govuk-red-50: #d9888c;
$govuk-red-25: #efcfd1;
$govuk-mellow-red: #df3034;
$govuk-mellow-red-50: #ef9998;
$govuk-mellow-red-25: #f9d6d6;
$govuk-orange: #f47738;
$govuk-orange-50: #fabb96;
$govuk-orange-25: #fde4d4;
$govuk-brown: #b58840;
$govuk-brown-50: #dac39c;
$govuk-brown-25: #f0e7d7;
$govuk-yellow: #ffbf47;
$govuk-yellow-50: #ffdf94;
$govuk-yellow-25: #fff2d3;
$govuk-grass-green: #85994b;
$govuk-grass-green-50: #c2cca3;
$govuk-grass-green-25: #e7ebda;
$govuk-green: #006435;
$govuk-green-50: #7fb299;
$govuk-green-25: #cce0d6;
$govuk-turquoise: #28a197;
$govuk-turquoise-50: #95d0cb;
$govuk-turquoise-25: #d5ecea;
$govuk-light-blue: #2b8cc4;
$govuk-light-blue-50: #96c6e2;
$govuk-light-blue-25: #d5e8f3;
$govuk-green: #04663a;
$govuk-yellow: #ffdd00;

// Standard palette, greys
$govuk-black: #0b0c0c;
$govuk-grey-1: #6f777b;
$govuk-grey-2: #bfc1c3;
$govuk-grey-3: #dee0e2;
$govuk-grey-4: #f8f8f8;
$govuk-light-grey: #f3f2f1;
$govuk-dark-grey: #6f777b;
$govuk-white: #ffffff;

// UI colours
$govuk-red: #b10e1e; // Errors
$govuk-light-blue: #2b8cc4; // Link hover
$govuk-light-green: #00823b; // Old button colour
$govuk-purple: #4c2c92; // Visited