mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
docs: clarification for syntax highlightning theme switch
This commit is contained in:
parent
9eb44953d9
commit
08ef8b70c7
1 changed files with 4 additions and 0 deletions
|
@ -170,3 +170,7 @@ You can also set multiple variants. In this case, the first variant is the defau
|
||||||
# Change default color scheme with a variant one.
|
# Change default color scheme with a variant one.
|
||||||
themeVariant = [ "relearn-light", "relearn-dark" ]
|
themeVariant = [ "relearn-light", "relearn-dark" ]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
{{% notice tip %}}
|
||||||
|
If you want to switch the syntax highlightning theme together with your color variant, generate a syntax highlighting stylesheet and configure your installation [according to Hugo's documentation](https://gohugo.io/content-management/syntax-highlighting/), and `@import` this stylesheet in your color variant stylesheet. For an example, take a look into `theme-relearn-light.css` and `config.toml` of the exampleSite.
|
||||||
|
{{% /notice %}}
|
||||||
|
|
Loading…
Reference in a new issue