Skip to content
This repository was archived by the owner on Aug 26, 2021. It is now read-only.

Commit 547e6f2

Browse files
Merge pull request #694 from govau/develop
Update error colours to meet contrast on --alt backgrounds
2 parents 947f945 + 3490475 commit 547e6f2

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

packages/core/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
## Versions
1717

18+
* [v3.4.0 - Update error and success alert colours to meet contrast requirements on `--alt` backgrounds](#v340)
1819
* [v3.3.0 - Change error and success alert colours to make them accessible](#v330)
1920
* [v3.2.0 - Add additional colour checks for incaccesble color combinations](#v320)
2021
* [v3.1.2 - Removed uikit references](#v312)
@@ -41,6 +42,11 @@
4142

4243
## Release History
4344

45+
### v3.4.0
46+
47+
- Update error and success alert colours to meet contrast requirements on `--alt` backgrounds
48+
49+
4450
### v3.3.0
4551

4652
- Update error alert color to meet a 4.5:1 ratio, since this will also be used for error text.

packages/core/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ The visual test: https://auds.service.gov.au/packages/core/tests/site/
255255

256256
## Release History
257257

258+
* v3.4.0 - Update error and success alert colours to meet contrast requirements on `--alt` backgrounds
258259
* v3.3.0 - Change error and success alert colours to make them WCAG contrast requirements
259260
* v3.2.0 - Add additional colour checks for incaccesble color combinations
260261
* v3.1.2 - Removed uikit references

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gov.au/core",
3-
"version": "3.3.0",
3+
"version": "3.4.0",
44
"description": "The core module all components modules depend on",
55
"keywords": [
66
"auds",

packages/core/src/sass/_globals.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -859,8 +859,8 @@ $AU-colordark-foreground-border: mix( $AU-colordark-foreground-text, $AU-colorda
859859
/**
860860
* Colors system messages
861861
*/
862-
$AU-color-error: #eb0000 !default;
863-
$AU-color-success: #0ca776 !default;
862+
$AU-color-error: #d60000 !default;
863+
$AU-color-success: #0b996c !default;
864864
$AU-color-warning: #f69900 !default;
865865
$AU-color-info: #00bfe9 !default;
866866

0 commit comments

Comments
 (0)