v1.0.1 presents the following changes:
Features
- Browsers sending
prefers-contrast: highwill now receive high-contrast versions of the dark and light themes with white on black and black on white respectively. Sites can explicitly set this usingdata-high-contrast="on"as an attribute on the main<html>tag of a page. Note: this does not affect custom themes. <video>elements are now treated the same way as<img>elements.
Fixes
<nav>tags which are direct children of<header>elements can now be considered main navigation by the code, applying styling properly.
This release contains no breaking changes.
v1.0.1 presents the following changes:
### Features
- Browsers sending `prefers-contrast: high` will now receive high-contrast versions of the dark and light themes with white on black and black on white respectively. Sites can explicitly set this using `data-high-contrast="on"` as an attribute on the main `<html>` tag of a page. Note: this does not affect custom themes.
- `<video>` elements are now treated the same way as `<img>` elements.
### Fixes
- `<nav>` tags which are direct children of `<header>` elements can now be considered main navigation by the code, applying styling properly.
This release contains no breaking changes.