hugo-toha/layouts/partials/navigators
donfiguerres 65049cfbb7
Dark theme via DarkReader (#595)
* Initial commit for dark theme.

* Use DarkReader.auto() to watch for system theme.

* Tunning default parameters.

* Allow configurable number of recent posts.

* Added invisible element to hack theme initialization.

* Added default value.

* Use Darkreader CDN.

* Cleanup to keep darkreader in as few files as possible.

* Renamed darkmode.js to darkmode-darkreader.js.

* Bring back the initialization.

* Added provider property.

* Added theme selector to the posts navbar.

* Removed extra line breaks.

* Changed darkreader CDN to local copy.

* Renamed to darkMode.

* Fixed CodeQL failures.

* Added icons.

* Renamed function.

* Added SVG inversion.

* Used icons for selection.

* Toggle initial dark only in the dynamic navbar.

Co-authored-by: donfiguerres <donfiguerres@github.com>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2022-06-10 15:18:49 +00:00
..
floating-lang-selector.html Add LaTeX support (#481) 2022-01-13 19:06:07 +00:00
lang-selector-2.html Make search multilingual (#305) 2021-05-18 00:32:39 +06:00
lang-selector.html Make search multilingual (#305) 2021-05-18 00:32:39 +06:00
navbar-2.html Dark theme via DarkReader (#595) 2022-06-10 15:18:49 +00:00
navbar.html Dark theme via DarkReader (#595) 2022-06-10 15:18:49 +00:00
next-prev-navigator.html Fix Google Analytic not showing up for v3 ID (#363) 2021-06-27 18:00:23 +00:00
sidebar.html Accessibility and SEO improvements (#296) 2021-04-25 17:15:22 +06:00
taxonomies.html Fix multiple active menu in taxonomy (#397) 2021-08-16 17:24:56 +00:00
theme-selector.html Dark theme via DarkReader (#595) 2022-06-10 15:18:49 +00:00