From bd84ff483887c55c6ede4ba94e1a9175e34090b8 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 2 Jun 2023 16:36:57 +0000 Subject: update bootstrap to version 5.3 --- .../5.3/assets/img/bootstrap-themes-collage.png | Bin 74829 -> 74442 bytes .../docs/5.3/assets/img/examples/album-rtl.png | Bin 6392 -> 6391 bytes .../docs/5.3/assets/img/examples/album-rtl@2x.png | Bin 15450 -> 15347 bytes .../static/docs/5.3/assets/img/examples/album.png | Bin 10760 -> 10678 bytes .../docs/5.3/assets/img/examples/breadcrumbs@2x.png | Bin 6060 -> 6028 bytes .../5.3/assets/img/examples/carousel-rtl@2x.png | Bin 24535 -> 24460 bytes .../docs/5.3/assets/img/examples/carousel.png | Bin 13314 -> 13219 bytes .../docs/5.3/assets/img/examples/carousel@2x.png | Bin 31465 -> 31320 bytes .../static/docs/5.3/assets/img/examples/footers.png | Bin 4324 -> 4297 bytes .../static/docs/5.3/assets/img/examples/headers.png | Bin 5197 -> 5196 bytes .../docs/5.3/assets/img/examples/masonry@2x.png | Bin 37733 -> 37705 bytes .../docs/5.3/assets/img/examples/navbar-bottom.png | Bin 4873 -> 4819 bytes .../docs/5.3/assets/img/examples/navbar-fixed.png | Bin 5911 -> 5876 bytes .../5.3/assets/img/examples/navbar-fixed@2x.png | Bin 14103 -> 13979 bytes .../docs/5.3/assets/img/examples/navbar-static.png | Bin 6624 -> 6541 bytes .../5.3/assets/img/examples/navbars-offcanvas.png | Bin 6864 -> 6850 bytes .../assets/img/examples/navbars-offcanvas@2x.png | Bin 17070 -> 16965 bytes .../static/docs/5.3/assets/img/examples/navbars.png | Bin 13124 -> 12965 bytes .../assets/img/examples/sticky-footer-navbar.png | Bin 6979 -> 6966 bytes .../assets/img/examples/sticky-footer-navbar@2x.png | Bin 15836 -> 15744 bytes .../docs/5.3/assets/img/examples/sticky-footer.png | Bin 4280 -> 4279 bytes .../docs/5.3/assets/img/favicons/favicon-32x32.png | Bin 1159 -> 1156 bytes .../site/static/docs/5.3/assets/img/parcel.png | Bin 6042 -> 6003 bytes .../site/static/docs/5.3/assets/js/color-modes.js | 11 +++++++---- 24 files changed, 7 insertions(+), 4 deletions(-) (limited to 'vendor/twbs/bootstrap/site/static/docs/5.3/assets') diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/bootstrap-themes-collage.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/bootstrap-themes-collage.png index 0a3bf5d69..476da355c 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/bootstrap-themes-collage.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/bootstrap-themes-collage.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/album-rtl.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/album-rtl.png index 8bec58f1c..54e80b768 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/album-rtl.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/album-rtl.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/album-rtl@2x.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/album-rtl@2x.png index 47b5b9a4a..7f4a654f9 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/album-rtl@2x.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/album-rtl@2x.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/album.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/album.png index 9f628babf..f0a2a6b9d 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/album.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/album.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/breadcrumbs@2x.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/breadcrumbs@2x.png index ee8466573..a4f75986c 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/breadcrumbs@2x.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/breadcrumbs@2x.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/carousel-rtl@2x.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/carousel-rtl@2x.png index 2beeca096..e44cde62b 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/carousel-rtl@2x.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/carousel-rtl@2x.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/carousel.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/carousel.png index b8ea3ce1c..4485d659c 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/carousel.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/carousel.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/carousel@2x.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/carousel@2x.png index 39df35930..3d8b3fd67 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/carousel@2x.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/carousel@2x.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/footers.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/footers.png index ac20b7f5d..8ab0cd0a3 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/footers.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/footers.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/headers.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/headers.png index 8ad7f6cd2..fbb7fd2a4 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/headers.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/headers.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/masonry@2x.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/masonry@2x.png index 8d9a5cf97..809fd1253 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/masonry@2x.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/masonry@2x.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbar-bottom.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbar-bottom.png index af47666f1..5e0b999fe 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbar-bottom.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbar-bottom.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbar-fixed.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbar-fixed.png index 97df67e96..eba24d37b 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbar-fixed.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbar-fixed.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbar-fixed@2x.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbar-fixed@2x.png index 3e0f98b95..6e4b50f1a 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbar-fixed@2x.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbar-fixed@2x.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbar-static.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbar-static.png index 8d54f182c..c894ae8ef 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbar-static.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbar-static.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbars-offcanvas.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbars-offcanvas.png index be2d1487c..0347bee53 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbars-offcanvas.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbars-offcanvas.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbars-offcanvas@2x.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbars-offcanvas@2x.png index d2b947176..7775a3087 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbars-offcanvas@2x.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbars-offcanvas@2x.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbars.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbars.png index 0d7b44afb..3a9b8737e 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbars.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/navbars.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/sticky-footer-navbar.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/sticky-footer-navbar.png index cc88cfb2d..a9778d952 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/sticky-footer-navbar.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/sticky-footer-navbar.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/sticky-footer-navbar@2x.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/sticky-footer-navbar@2x.png index 9478901f6..1662b364d 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/sticky-footer-navbar@2x.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/sticky-footer-navbar@2x.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/sticky-footer.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/sticky-footer.png index 4b5246d38..c2776fd3d 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/sticky-footer.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/examples/sticky-footer.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/favicons/favicon-32x32.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/favicons/favicon-32x32.png index ca0593a21..7c7f277a1 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/favicons/favicon-32x32.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/favicons/favicon-32x32.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/parcel.png b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/parcel.png index ff5cc3ae7..21afaa600 100644 Binary files a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/parcel.png and b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/img/parcel.png differ diff --git a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/js/color-modes.js b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/js/color-modes.js index 4528ba36b..9f22daa1b 100644 --- a/vendor/twbs/bootstrap/site/static/docs/5.3/assets/js/color-modes.js +++ b/vendor/twbs/bootstrap/site/static/docs/5.3/assets/js/color-modes.js @@ -7,9 +7,11 @@ (() => { 'use strict' - const storedTheme = localStorage.getItem('theme') + const getStoredTheme = () => localStorage.getItem('theme') + const setStoredTheme = theme => localStorage.setItem('theme', theme) const getPreferredTheme = () => { + const storedTheme = getStoredTheme() if (storedTheme) { return storedTheme } @@ -17,7 +19,7 @@ return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light' } - const setTheme = function (theme) { + const setTheme = theme => { if (theme === 'auto' && window.matchMedia('(prefers-color-scheme: dark)').matches) { document.documentElement.setAttribute('data-bs-theme', 'dark') } else { @@ -56,7 +58,8 @@ } window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', () => { - if (storedTheme !== 'light' || storedTheme !== 'dark') { + const storedTheme = getStoredTheme() + if (storedTheme !== 'light' && storedTheme !== 'dark') { setTheme(getPreferredTheme()) } }) @@ -68,7 +71,7 @@ .forEach(toggle => { toggle.addEventListener('click', () => { const theme = toggle.getAttribute('data-bs-theme-value') - localStorage.setItem('theme', theme) + setStoredTheme(theme) setTheme(theme) showActiveTheme(theme, true) }) -- cgit v1.2.3