Skip to content

Commit 4adcc0c

Browse files
committed
Change some colors for more accessibility
1 parent 4d53129 commit 4adcc0c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

examples/index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,16 @@
3030
vertical-align: bottom;
3131
}
3232

33+
.pure-menu-link {
34+
/* Override pure CSS color to add more contrast for accessibility */
35+
color: #737373;
36+
}
37+
3338
.pure-menu-link.active,
3439
.pure-menu-link.active:focus,
3540
.pure-menu-link.active:hover {
3641
color: #fff;
37-
background: #20a0ff;
42+
background: #0060df;
3843
}
3944

4045
.well {

examples/react-contextmenu.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
.react-contextmenu-item.react-contextmenu-item--active,
3737
.react-contextmenu-item.react-contextmenu-item--selected {
3838
color: #fff;
39-
background-color: #20a0ff;
40-
border-color: #20a0ff;
39+
background-color: #0060df;
40+
border-color: #0060df;
4141
text-decoration: none;
4242
}
4343

0 commit comments

Comments
 (0)