~alterae/alterae.srht.site

6a845e1af4d88cfb2dc4d0b66d2f7489871e7af1 — Michelle S 2 years ago a39fde3
Change syntax higlighting colors

Now instead of Monokai we're using Monokai Pro which matches the page
colorscheme better.
3 files changed, 83 insertions(+), 1 deletions(-)

M config.toml
M sass/style.scss
A static/monokai.css
M config.toml => config.toml +2 -1
@@ 11,7 11,8 @@ build_search_index = false
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = true
highlight_theme = "monokai"
highlight_theme = "css"
# highlight_themes_css = [{ theme = "monokai", filename = "monokai.css" }]

[extra]
# Put all your custom variables here

M sass/style.scss => sass/style.scss +2 -0
@@ 1,3 1,5 @@
@import url("monokai.css");

body {
  background-color: #2d2a2e;
  color: #fcfcfa;

A static/monokai.css => static/monokai.css +79 -0
@@ 0,0 1,79 @@
/*
 * theme "Monokai" generated by syntect
 * modified by alterae
 */

.z-code {
 color: #fcfcfa;
 background-color: #2d2a2e;
}

.z-comment {
 color: #727072;
}
.z-string {
 color: #ffd866;
}
.z-constant.z-numeric {
 color: #ab9df2;
}
.z-constant.z-language {
 color: #ab9df2;
}
.z-constant.z-character, .z-constant.z-other {
 color: #ab9df2;
}
.z-variable {
}
.z-keyword {
 color: #ff6188;
}
.z-storage {
 color: #ff6188;
}
.z-storage.z-type {
 color: #78dce8;
font-style: italic;
}
.z-entity.z-name.z-class {
 color: #a9dc76;
font-style: underline;
}
.z-entity.z-other.z-inherited-class {
 color: #a9dc76;
font-style: underline;
font-style: italic;
}
.z-entity.z-name.z-function {
 color: #a9dc76;
}
.z-variable.z-parameter {
 color: #fc9867;
font-style: italic;
}
.z-entity.z-name.z-tag {
 color: #ff6188;
}
.z-entity.z-other.z-attribute-name {
 color: #a9dc76;
}
.z-support.z-function {
 color: #78dce8;
}
.z-support.z-constant {
 color: #78dce8;
}
.z-support.z-type, .z-support.z-class {
 color: #78dce8;
font-style: italic;
}
.z-support.z-other.z-variable {
}
.z-invalid {
 color: #fcfcfa;
 background-color: #ff6188;
}
.z-invalid.z-deprecated {
 color: #fcfcfa;
 background-color: #ab9df2;
}