Color contrast is an important accessibility feature for many light mode users. Role colors are often determined in dark mode, however, leading to contrast issues. As a stark example, having a pure or off white role color is very visible in dark mode, but not visible in light mode. A less clear example is that certain shades of yellow blend in on light mode and can be difficult to see for VI users, but on dark mode these roles don't have this issue.
One solution to this problem is to add an option to each role that enables *separate* coloration depending on light and dark mode. That way, a reasonably high-contrast option could be picked for both, when a dark-mode color would conflict with light-mode visibility and vice versa.
Please sign in to leave a comment.