mirror of https://github.com/luizdepra/hugo-coder.git

Clément Pannetier
11.51.2020 be7b79af623f89574480e7a84a76126d6110ad45
refs
author Clément Pannetier <35581688+clement-pannetier@users.noreply.github.com>
Tuesday, August 11, 2020 20:51 +0200
committer GitHub <noreply@github.com>
Tuesday, August 11, 2020 20:51 +0200
commitbe7b79af623f89574480e7a84a76126d6110ad45
tree 690be290bca4befda70c4b51a43bc3a09bde1f1d tree | zip | gz
parent b3237d1eade471760e48e0152769066ae7cab593 view | diff
Add theme toggle button feature (#358)

* Add theme toggle button feature

* Add theme toggle button feature

* Replaced svg icon with FA icon + fixed indentation + refactored css

* Added back colorsheme configurations + script moved to be process by hugo pipe

* Make release

* Fix toggle button not working when loading new page + setTheme() refactor

* Make release

* Update exampleSite/config.toml

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
5 files added
7 files modified
147 ■■■■ changed files
assets/scss/_navigation.scss 28 ●●●● diff | view | raw | blame | history
assets/scss/_navigation_dark.scss 14 ●●●●● diff | view | raw | blame | history
exampleSite/assets/js/dark-mode.js 28 ●●●●● diff | view | raw | blame | history
exampleSite/config.toml 2 ●●● diff | view | raw | blame | history
layouts/_default/baseof.html 10 ●●●●● diff | view | raw | blame | history
layouts/partials/header.html 56 ●●●●● diff | view | raw | blame | history
resources/_gen/assets/js/js/dark-mode.js_d11fe7b62c27961c87ecd0f2490357b9.content 2 ●●●●● diff | view | raw | blame | history
resources/_gen/assets/js/js/dark-mode.js_d11fe7b62c27961c87ecd0f2490357b9.json 1 ●●●● diff | view | raw | blame | history
resources/_gen/assets/scss/scss/coder-dark.scss_1fcd9040f1144c65015c77e7b93bc5ac.content 1 ●●●● diff | view | raw | blame | history
resources/_gen/assets/scss/scss/coder-dark.scss_1fcd9040f1144c65015c77e7b93bc5ac.json 1 ●●●● diff | view | raw | blame | history
resources/_gen/assets/scss/scss/coder.scss_5e1eb8e37c42cdfb6215b61e44dcfa5f.content 2 ●●● diff | view | raw | blame | history
resources/_gen/assets/scss/scss/coder.scss_5e1eb8e37c42cdfb6215b61e44dcfa5f.json 2 ●●● diff | view | raw | blame | history