Skip to content

Commit

Permalink
fix: adjust colors to conform with WCAG
Browse files Browse the repository at this point in the history
  • Loading branch information
miles-grant-ibigroup committed Aug 5, 2021
1 parent 518def8 commit e9fe0b1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/components/narrative/narrative.css
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@

.otp .tabbed-itineraries .tab-button .details {
font-size: 12px;
color: gray;
color: #685c5c; /* from "gray" to meet WCAG */
}

.otp .tabbed-itineraries .tab-button:hover .title {
Expand Down
4 changes: 2 additions & 2 deletions lib/components/viewers/realtime-status-label.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ const STATUS = {
label: 'early'
},
LATE: {
color: '#d9534f',
color: '#D92923',
label: 'late'
},
ON_TIME: {
color: '#5cb85c',
color: '#028602',
label: 'on time'
},
SCHEDULED: {
Expand Down
6 changes: 3 additions & 3 deletions lib/components/viewers/viewers.css
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,14 @@

.otp .trip-viewer .strip-map-highlight {
position: absolute;
background-color: cyan;
background-color: #13c1c1;
width: 20px;
height: 30px;
}

.otp .trip-viewer .strip-map-highlight-first {
position: absolute;
background-color: cyan;
background-color: #13c1c1;
top: 2px;
width: 20px;
height: 28px;
Expand All @@ -212,7 +212,7 @@

.otp .trip-viewer .strip-map-highlight-last {
position: absolute;
background-color: cyan;
background-color: #13c1c1;
top: 0px;
width: 20px;
height: 28px;
Expand Down

0 comments on commit e9fe0b1

Please sign in to comment.