diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-01-13 19:41:52 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-01-13 19:41:52 +0100 |
commit | 3f4aa41a685ccab17e1d76cdde20a4a6ab95a095 (patch) | |
tree | fdc6aec5254a777ffc1c65de07ab0cfe3e41efc0 /themes/elenq/static/css/prism.css | |
parent | 19ac3bb71b9d77719428554e2fc3c0ebb2ee5de6 (diff) |
Colortheme switcher
Diffstat (limited to 'themes/elenq/static/css/prism.css')
-rw-r--r-- | themes/elenq/static/css/prism.css | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/themes/elenq/static/css/prism.css b/themes/elenq/static/css/prism.css index c24467d..b3e345b 100644 --- a/themes/elenq/static/css/prism.css +++ b/themes/elenq/static/css/prism.css @@ -159,3 +159,30 @@ pre[class*="language-"] { } } + + +/* Make editable via JS */ + +html[data-theme="light"]{ + --base: black; + --comment: slategray; + --punctuation: #999; + --property: #905; + --builtin: #690; + --operator: #9a6e3a; + --keyword: #07a; + --function: #DD4A68; + --variable: #e90; +} + +html[data-theme="dark"]{ + --base: #f8f8f2; + --comment: #6272a4; + --punctuation: #f8f8f2; + --property: #ff79c6; + --builtin: #50fa7b; + --operator: #f8f8f2; + --keyword: #8be9fd; + --function: #f1fa8c; + --variable: #ffb86c; +} |