Skip to content

Commit 6897f41

Browse files
Merge branch 'main' into FORMS-2190-admin-responsiveness
2 parents 65c8058 + 132f18d commit 6897f41

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

app/frontend/src/assets/scss/style.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ $bcgov-alert-error: #f2dede;
2626
$bcgov-alert-warning: #f9f1c6;
2727
$bcgov-alert-info: #d9eaf7;
2828
$bcgov-alert-success: #dff0d8;
29+
//FORMS-1640 Update contrast for accessibility
30+
$danger-bg-accessible: #e35f6c;
31+
$secondary-bg-accessible: #848d94;
32+
$success-bg-accessible: #1d9f63;
2933

3034
// Sticky Footer
3135
body {
@@ -210,6 +214,18 @@ a,
210214
word-break: break-word;
211215
}
212216

217+
//FORMS-1640 Update contrast for accessibility
218+
.btn.btn-danger {
219+
background-color: $danger-bg-accessible;
220+
border-color: $danger-bg-accessible;
221+
}
222+
.btn.btn-secondary {
223+
background-color: $secondary-bg-accessible;
224+
border-color: $secondary-bg-accessible;
225+
}
226+
.btn.btn-success {
227+
background-color: $success-bg-accessible;
228+
border-color: $success-bg-accessible;
213229
/**FORMS-1640 - Remove the pink background entirely or change its colour to transparent across the entire CHEFS product
214230
or specifically within the "form submitter" forms to Improve error message contrast for accessibility. **/
215231
.formio-error-wrapper {

0 commit comments

Comments
 (0)