Commit Graph

7 Commits

Author SHA1 Message Date
Alphonse Mariya
29a7a942b7 Fix bad syntax highlighting color schemes (#630)
Some pygment color schemes (like `bw`, which we use as default in the
exampleSite) do not set a foreground color explicitly, which makes those
themes look bad/illegible when using the dark mode of hugo-coder. Most
such themes are light themes (it seems after a quick research), which
explains this phenomenon.

This commit adds a fix for such color schemes by setting the default
foreground color to the one used in the light hugo-coder colorscheme.
It is overridden by proper syntax highlighting schemes.
2021-12-16 18:37:12 -03:00
CarpeFridiem
263be7cebc Table Style Parity (#626)
* Table Style Parity

* Update assets/scss/_base_dark.scss

* Add Contributor and Made Release

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2021-11-23 11:03:49 -03:00
Luiz F. A. de Prá
0048b9dc51 Revert #596 2021-11-09 21:04:21 -03:00
Luiz F. A. de Prá
ee806a669f Fixed code block background color (#596) 2021-11-02 14:15:50 -03:00
Luiz F. A. de Prá
ed1c854df2 And notice shortcodes (#537)
* Added information panel shortcodes (#437)

* Added information panel shortcodes

* Fixed dark mixin

* Moved mixin location to correct location

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>

* Fix SCSS styling

* Update generated files

* Fix notice HTML

* Fix Makefile

* Rename JS file

* Adsd emoji support for lang selectors

* Fix notices and other things

* Fix JS on template

* Update  example content

* Update images

* Update generated files

* Fix netlify preview

* Fix netlify preview build

* Fix netlify theme path

Co-authored-by: Jian Liew <jianloongliew@gmail.com>
2021-03-24 20:59:33 -03:00
Codruț Constantin Gușoi
8384e09033 Adds anchors to all headings (#439) 2021-01-25 17:13:58 -03:00
John Schroeder
b00b75064d 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.
2019-11-21 10:13:49 -03:00