mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-06-22 00:30:31 +00:00
theme: provide syntax highlightning theme for old Learn variants #175
so theme switching also will switch the sh-theme
This commit is contained in:
parent
99a7061a67
commit
c16680cb5c
5 changed files with 110 additions and 0 deletions
static/css
|
@ -1,3 +1,10 @@
|
|||
/* here in this showcase we use our own modified chroma syntax highlightning style;
|
||||
if you want to use a predefined style instead:
|
||||
- remove `markup.highlight.noClasses` from your config.toml
|
||||
- set `markup.highlight.style` to a predefined style name in your config.toml
|
||||
- remove the following `@import` of the self-defined chroma stylesheet */
|
||||
@import "chroma-learn.css";
|
||||
|
||||
:root {
|
||||
--MAIN-TEXT-color: #323232; /* Color of text by default */
|
||||
--MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5-h6 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue