Skip to content

Commit aa37cec

Browse files
authored
Merge pull request #5 from airframesio/copilot/sub-pr-4
Fix WCAG AA contrast violations on primary button elements
2 parents f535018 + 1c2a7fe commit aa37cec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cmd/web/styles.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ thead th[tabindex]:focus-visible {
120120
top: -100px;
121121
left: 0;
122122
background: var(--color-primary-500);
123-
color: white;
123+
color: var(--color-neutral-700);
124124
padding: var(--spacing-4) var(--spacing-6);
125125
text-decoration: none;
126126
font-weight: var(--font-weight-semibold);
@@ -131,7 +131,7 @@ thead th[tabindex]:focus-visible {
131131

132132
.skip-link:focus {
133133
top: 0;
134-
outline: 3px solid white;
134+
outline: 3px solid var(--color-neutral-700);
135135
outline-offset: 2px;
136136
}
137137

@@ -694,7 +694,7 @@ td.updated {
694694
margin-top: 15px;
695695
padding: 10px 20px;
696696
background: var(--color-primary-500);
697-
color: white;
697+
color: var(--color-neutral-700);
698698
border: none;
699699
border-radius: var(--radius-sm);
700700
cursor: pointer;

0 commit comments

Comments
 (0)