theme: provide syntax highlightning theme for old Learn variants

so theme switching also will switch the sh-theme
This commit is contained in:
Sören Weber 2022-02-15 08:38:12 +01:00
parent 99a7061a67
commit c16680cb5c
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
5 changed files with 110 additions and 0 deletions
static/css

View file

@ -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 */