From 8deb24de7f5d03401e8d299c128a38b3022b74e6 Mon Sep 17 00:00:00 2001 From: mtribone Date: Tue, 1 May 2018 15:13:04 -0400 Subject: [PATCH] Overrides the primary, success, info, and gray variables from Bootstrap. Updates the colors for page links and buttons for the primary color. --- .../blacklight/_bootstrap_overrides.scss | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/blacklight/_bootstrap_overrides.scss b/app/assets/stylesheets/blacklight/_bootstrap_overrides.scss index d7efb55d5c..a447b42a75 100644 --- a/app/assets/stylesheets/blacklight/_bootstrap_overrides.scss +++ b/app/assets/stylesheets/blacklight/_bootstrap_overrides.scss @@ -21,7 +21,21 @@ } } - .page-link { white-space: nowrap; } + +// Accessibility overrides for low contrast errors +$primary: #006cdf; +$success: #238f3c; +$info: #138b9e; +$gray: #6b686d; + +a, +.page-link { color: $primary; } + +.btn-primary, +.page-item.active .page-link { + background-color: $primary; + border-color: $primary; +}