XhmikosR
7d66339e98
Update favicon
2023-10-02 12:04:31 +03:00
XhmikosR
18a400a329
Further improve image compression with oxipng and the latest jpegoptim ( #39037 )
2023-08-22 11:23:43 +03:00
Mark Cowan
ad9cb223a9
Fix always-false boolean condition ( #38665 )
2023-05-30 09:00:26 +03:00
Jeroen Akkerman
f0be063c97
Update color-modes.js ( #38626 )
...
* 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-05-25 21:18:49 -07:00
XhmikosR
137bfbad7b
Slightly improve PNG files compression ( #38438 )
...
Used oxipng v8.0.0 with `oxipng -omax -Z`.
Before: 331 KB (339.560 bytes)
After: 329 KB (337.647 bytes)
2023-04-11 21:23:12 +03:00
XhmikosR
5d4048350f
Slightly improve examples PNG files ( #38270 )
...
Before: 97,4 KB (99.758 bytes)
After: 94,2 KB (96.512 bytes)
2023-03-19 17:42:52 -07:00
Mark Otto
6855ce9512
Revert "Guard more in color-modes.js ( #38235 )" ( #38280 )
...
This reverts commit 474bf2aed1
.
2023-03-19 17:35:57 -07:00
XhmikosR
474bf2aed1
Guard more in color-modes.js ( #38235 )
2023-03-14 20:30:11 +02:00
Julien Déramond
59c556cea6
Drop unused bootstrap-social-logo.png
2023-03-10 12:36:46 -06:00
Julien Déramond
31221272e0
Fix console error in examples pages du to no theme switcher ( #38074 )
2023-02-17 08:56:30 +02:00
Julien Déramond
42e99cc59f
Reduce size of guide dev server images ( #37741 )
...
* 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 <xhmikosr@gmail.com>
2023-02-15 10:41:33 -08:00
Mark Otto
2dc329dd37
WIP: New snippet examples ( #36309 )
...
* Start work on some new snippet examples
* Update for dark mode, fixes
* Add images, update descriptions
* examples fixes
2023-02-14 20:58:39 -08:00
louismaximepiton
50723075aa
Update grid example
2023-01-16 15:55:47 -08:00
Julien Déramond
39905711fa
Remove autofocus on theme switch when page is loaded
2023-01-08 15:39:31 -08:00
Patrick H. Lauke
212c0dfd07
Docs: Make theme switcher accessible ( #37780 )
...
* 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-01 21:54:46 -08:00
Patrick H. Lauke
2cc580e2d1
Docs: remove remnants of Twitter / bump dates ( #37779 )
2023-01-01 16:30:53 -08:00
XhmikosR
cf9454caa0
Release v5.3.0-alpha1 ( #37661 )
...
* Bump version to 5.3.0-alpha1
* Dist
* Add docs versions updates
* Update note in homepage hero
Co-authored-by: Mark Otto <markdotto@gmail.com>
2022-12-24 18:37:22 +02:00