Hacker News new | past | comments | ask | show | jobs | submit login

Switch the `<link href="">` value to point to a high contrast stylesheet.

Or alternatively, apply a class to the body tag – e.g. `<body class="high-contrast">` – and declare CSS rules accordingly. Specificity should take care of overriding the 'normal' style rules where needed.




Having to override styles that have random namespace tokens in the class names (via CSS in JS) is going to be difficult.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: