Skip to content

Commit

Permalink
Fixes for insufficient colour contrast (froala#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
Caroline Hagan committed Oct 10, 2019
1 parent 0004273 commit 04e898f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/scss/froala_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -237,3 +237,26 @@ header + header {
background-color: #f4f7fe;
color: $font-color;
}

// ==============================================
// Accesibility overrides
// ==============================================

// Insufficient contrast

.btn-primary {
background-color: hsl(207, 92%, 43%);
border-color: hsl(207, 92%, 43%);
}

.btn-outline-primary {
color: hsl(207, 92%, 43%);
border-color: hsl(207, 92%, 43%);
}

// .lead
p {
color: hsl(215, 11%, 47%);
}


0 comments on commit 04e898f

Please sign in to comment.