From 37d71848a1817f134e59caaa4c7da8536bf3578e Mon Sep 17 00:00:00 2001 From: Travis Briggs Date: Sat, 11 Apr 2020 22:19:14 -0700 Subject: [PATCH] Change syntax highlighting to slightly tweaked version of breezeDark, to be more legible --- wiki/Makefile | 1 + wiki/custom.theme | 225 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 226 insertions(+) create mode 100644 wiki/custom.theme diff --git a/wiki/Makefile b/wiki/Makefile index 202dbc8..6629815 100644 --- a/wiki/Makefile +++ b/wiki/Makefile @@ -15,6 +15,7 @@ index: dep-php index.html @$(PANDOC) \ --template wiki.tmpl \ --lua-filter header-permalinks.lua \ + --highlight-style=custom.theme \ --title-prefix "tilde.club wiki" \ --variable toc-title:"table of contents" \ --standalone \ diff --git a/wiki/custom.theme b/wiki/custom.theme new file mode 100644 index 0000000..a2f3ea4 --- /dev/null +++ b/wiki/custom.theme @@ -0,0 +1,225 @@ +{ + "text-color": "#cfcfc2", + "background-color": null, + "line-number-color": "#7a7c7d", + "line-number-background-color": "#232629", + "text-styles": { + "Other": { + "text-color": "#27ae60", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "Attribute": { + "text-color": "#2980b9", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "SpecialString": { + "text-color": "#da4453", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "Annotation": { + "text-color": "#3f8058", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "RegionMarker": { + "text-color": "#2980b9", + "background-color": "#153042", + "bold": false, + "italic": false, + "underline": false + }, + "Function": { + "text-color": "#8e44ad", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "String": { + "text-color": "#f44f4f", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "ControlFlow": { + "text-color": "#fdbc4b", + "background-color": null, + "bold": true, + "italic": false, + "underline": false + }, + "Operator": { + "text-color": "#cfcfc2", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "Error": { + "text-color": "#da4453", + "background-color": null, + "bold": false, + "italic": false, + "underline": true + }, + "Normal": { + "text-color": "#cfcfc2", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "BaseN": { + "text-color": "#f67400", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "Alert": { + "text-color": "#95da4c", + "background-color": "#4d1f24", + "bold": true, + "italic": false, + "underline": false + }, + "Variable": { + "text-color": "#27aeae", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "BuiltIn": { + "text-color": "#7f8c8d", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "Extension": { + "text-color": "#0099ff", + "background-color": null, + "bold": true, + "italic": false, + "underline": false + }, + "Preprocessor": { + "text-color": "#27ae60", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "Information": { + "text-color": "#c45b00", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "VerbatimString": { + "text-color": "#da4453", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "Warning": { + "text-color": "#da4453", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "Documentation": { + "text-color": "#a43340", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "Import": { + "text-color": "#27ae60", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "Char": { + "text-color": "#3daee9", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "DataType": { + "text-color": "#2980b9", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "Float": { + "text-color": "#f67400", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "Comment": { + "text-color": "#7a7c7d", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "CommentVar": { + "text-color": "#7f8c8d", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "Constant": { + "text-color": "#27aeae", + "background-color": null, + "bold": true, + "italic": false, + "underline": false + }, + "SpecialChar": { + "text-color": "#3daee9", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "DecVal": { + "text-color": "#f67400", + "background-color": null, + "bold": false, + "italic": false, + "underline": false + }, + "Keyword": { + "text-color": "#cfcfc2", + "background-color": null, + "bold": true, + "italic": false, + "underline": false + } + } +}