Hacker News new | ask | show | jobs
by notoverthere 1837 days ago
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.

1 comments

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