aboutsummaryrefslogtreecommitdiff
path: root/site/static/docs/5.3/assets/js
AgeCommit message (Collapse)AuthorFilesLines
2024-02-05Bump copyright year to 2024Julien Déramond1-1/+1
2023-10-31Fix color-mode.jsMewenLeHo1-2/+2
2023-05-30Fix always-false boolean condition (#38665)Mark Cowan1-1/+1
2023-05-25Update color-modes.js (#38626)Jeroen Akkerman1-3/+6
* 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
2023-03-19Revert "Guard more in color-modes.js (#38235)" (#38280)Mark Otto1-2/+2
This reverts commit 474bf2aed1c03cf53e2d2c48b30c5e689dd9e6bc.
2023-03-14Guard more in color-modes.js (#38235)XhmikosR1-2/+2
2023-02-17Fix console error in examples pages du to no theme switcher (#38074)Julien Déramond1-0/+5
2023-01-08Remove autofocus on theme switch when page is loadedJulien Déramond1-3/+6
2023-01-01Docs: Make theme switcher accessible (#37780)Patrick H. Lauke1-0/+7
* 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`
2023-01-01Docs: remove remnants of Twitter / bump dates (#37779)Patrick H. Lauke1-1/+1
2022-12-24Release v5.3.0-alpha1 (#37661)XhmikosR2-0/+81
* Bump version to 5.3.0-alpha1 * Dist * Add docs versions updates * Update note in homepage hero Co-authored-by: Mark Otto <[email protected]>