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

John Schroeder
21.13.2019 b00b75064d67953db2f32fee676360477026d97f
refs
author John Schroeder <smileydaemon@gmail.com>
Thursday, November 21, 2019 14:13 +0100
committer Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
Thursday, November 21, 2019 14:13 +0100
commitb00b75064d67953db2f32fee676360477026d97f
tree 5d9c47df9a83dc9a6a61aac1821496ebfab38ac0 tree | zip | gz
parent f6caaf049375710a46bdce8a7b93be56771b4e77 view | diff
Automatic dark/light colorschemes (#234)

* Automatic dark/light colorschemes

A new `colorscheme` option is added with the capability to be always dark,
always light, or automatic based on the user's browser setting. This
makes the `inverted` option superfluous, and therefore deprecated.
Nomenclature of files, variables, etc are changed from `inverted` to
`dark` to reflect this change.

Closes #226.

* Remove inverted option completely

The `inverted` option is now not just deprecated, but removed
completely.
5 files deleted
5 files added
5 files modified
345 ■■■■■ changed files
CONTRIBUTORS.md 1 ●●●● diff | view | raw | blame | history
assets/scss/_base_dark.scss 49 ●●●●● diff | view | raw | blame | history
assets/scss/_base_inverted.scss 39 ●●●●● diff | view | raw | blame | history
assets/scss/_content_dark.scss 46 ●●●●● diff | view | raw | blame | history
assets/scss/_content_inverted.scss 36 ●●●●● diff | view | raw | blame | history
assets/scss/_footer_dark.scss 17 ●●●●● diff | view | raw | blame | history
assets/scss/_footer_inverted.scss 7 ●●●●● diff | view | raw | blame | history
assets/scss/_navigation_dark.scss 54 ●●●●● diff | view | raw | blame | history
assets/scss/_navigation_inverted.scss 44 ●●●●● diff | view | raw | blame | history
assets/scss/_variables.scss 12 ●●●● diff | view | raw | blame | history
assets/scss/coder-dark.scss 5 ●●●●● diff | view | raw | blame | history
assets/scss/coder-inverted.scss 5 ●●●●● diff | view | raw | blame | history
exampleSite/config.toml 8 ●●●● diff | view | raw | blame | history
layouts/_default/baseof.html 18 ●●●●● diff | view | raw | blame | history
stackbit.yaml 4 ●●●● diff | view | raw | blame | history