Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More accessible luminosity contrast on colour for <code> #307

Merged
merged 2 commits into from Jul 3, 2014

Commits on Apr 21, 2014

  1. WCAG2.0-compliant luminosity contrast for <code>

    #ff4500 has luminosity contrast of 3.4:1. Need at least 4.5:1. Use #dc3b00.
    jasonkiss committed Apr 21, 2014
    Configuration menu
    Copy the full SHA
    cd57ba0 View commit details
    Browse the repository at this point in the history
  2. WCAG2.0-compliant contrast on colour for <code>

    #DC3B00 provides contrast of 4.5:1 on white. But to provide a little flexibility, e.g. in the case that some <code> is in a <th> with background #eee, a colour of #C83500 provides 4.56:1 contrast, while still standing out as red text.
    jasonkiss committed Apr 21, 2014
    Configuration menu
    Copy the full SHA
    9ac4733 View commit details
    Browse the repository at this point in the history