| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
The dimensions must be of the non-2x image.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Update color-modes.js
Fix IF statement in the prefer-color-scheme change listener always evaluating to `true` and changing the theme to "dark" even when "light" is set as the preferred theme.
| `||` | `x !== "light"` | `x !== "dark"` | Result |
|--|:--:|:--:|:--:|
| `x = "light"` | ○ | ● | ● |
| `x = "dark"` | ● | ○ | ● |
| `x = "auto"` | ● | ● | ● |
| `x = "bogus"` | ● | ● | ● |
<hr>
| `&&` | `x !== "light"` | `x !== "dark"` | Result |
|--|:--:|:--:|:--:|
| `x = "light"` | ○ | ● | ○ |
| `x = "dark"` | ● | ○ | ○ |
| `x = "auto"` | ● | ● | ● |
| `x = "bogus"` | ● | ● | ● |
* Implement re-read of stored theme
|
|
Used oxipng v8.0.0 with `oxipng -omax -Z`.
Before: 331 KB (339.560 bytes)
After: 329 KB (337.647 bytes)
|
|
Before: 97,4 KB (99.758 bytes)
After: 94,2 KB (96.512 bytes)
|
|
This reverts commit 474bf2aed1c03cf53e2d2c48b30c5e689dd9e6bc.
|
|
|
|
|
|
|
|
* Reduce size of guide dev server images
* Optimised images with calibre/image-actions
* Lossy compress new images
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <[email protected]>
|
|
* Start work on some new snippet examples
* Update for dark mode, fixes
* Add images, update descriptions
* examples fixes
|
|
|
|
|
|
* Make theme switcher accessible
* set an explicit `aria-label` to the switcher (as the `<span>` is not sufficient, as it can be display:none'd and then the button has no accName)
* make the theme buttons actual `aria-pressed` toggles
* Dynamically update aria-label for theme switcher
* Explicitly reset focus after activating theme
* Use innerText for the constructed dynamic aria-label
this way, if the text ever gets changed in the html, this will adapt appropriately
* Tweak accessible name for the dropdown
* Fixup
* Use `textContent` instead of `innerText`
|
|
|
|
* Bump version to 5.3.0-alpha1
* Dist
* Add docs versions updates
* Update note in homepage hero
Co-authored-by: Mark Otto <[email protected]>
|