hacks to do zola treesitter
This commit is contained in:
parent
27dd9c2249
commit
971a2f151b
3 changed files with 83 additions and 2 deletions
|
|
@ -12,7 +12,9 @@ description = "computers i guess"
|
||||||
|
|
||||||
[markdown]
|
[markdown]
|
||||||
highlight_code = true
|
highlight_code = true
|
||||||
extra_syntaxes = ["syntax"]
|
use_tree_painter = true
|
||||||
|
highlight_theme = "ayu_mirage_hacked"
|
||||||
|
extra_syntaxes_and_themes = ["syntax"]
|
||||||
|
|
||||||
[extra]
|
[extra]
|
||||||
# Put all your custom variables here
|
# Put all your custom variables here
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ fi
|
||||||
PREVIEW_TEMP=/tmp/zola-preview
|
PREVIEW_TEMP=/tmp/zola-preview
|
||||||
|
|
||||||
rm -rf "$PREVIEW_TEMP"
|
rm -rf "$PREVIEW_TEMP"
|
||||||
zola build --drafts --base-url "$PREVIEW" --output-dir "$PREVIEW_TEMP"
|
../zola/target/debug/zola build --drafts --base-url "$PREVIEW" --output-dir "$PREVIEW_TEMP"
|
||||||
|
|
||||||
# trailing slash: copy contents of directory into destination
|
# trailing slash: copy contents of directory into destination
|
||||||
rsync --verbose --human-readable --recursive \
|
rsync --verbose --human-readable --recursive \
|
||||||
|
|
|
||||||
79
syntax/ayu_mirage_hacked.toml
Normal file
79
syntax/ayu_mirage_hacked.toml
Normal file
|
|
@ -0,0 +1,79 @@
|
||||||
|
# Author: André Sá <enkodr@outlook.com>
|
||||||
|
# Based on the AYU theme colors from https://github.com/dempfi/ayu
|
||||||
|
|
||||||
|
# Syntax highlighting
|
||||||
|
"type" = { fg = "blue" }
|
||||||
|
"type.builtin" = { fg = "blue" }
|
||||||
|
"constructor" = { fg = "green" }
|
||||||
|
"constant" = { fg = "magenta" }
|
||||||
|
"string" = { fg = "green" }
|
||||||
|
"string.regexp" = { fg = "orange" }
|
||||||
|
"string.special" = { fg = "yellow" }
|
||||||
|
"comment" = { fg = "gray", modifiers = ["italic"] }
|
||||||
|
"variable" = { fg = "foreground" }
|
||||||
|
"variable.parameter" = { fg = "yellow" }
|
||||||
|
"include" = { fg = "orange" }
|
||||||
|
"label" = { fg = "orange" }
|
||||||
|
"punctuation" = { fg = "foreground" }
|
||||||
|
"keyword" = { fg = "orange" }
|
||||||
|
"keyword.control" = { fg = "yellow" }
|
||||||
|
"keyword.directive" = { fg = "yellow" }
|
||||||
|
"operator" = { fg = "orange" }
|
||||||
|
"function" = { fg = "yellow", modifiers = ["bold"] }
|
||||||
|
"repeat" = { fg = "orange" }
|
||||||
|
"tag" = { fg = "blue" }
|
||||||
|
"namespace" = { fg = "blue" }
|
||||||
|
"markup.heading" = { fg = "orange" }
|
||||||
|
"markup.list" = { fg = "yellow" }
|
||||||
|
"markup.raw.block" = { bg = "grey", fg = "orange" }
|
||||||
|
"markup.link.url" = { fg = "blue" }
|
||||||
|
"markup.link.text" = { fg = "yellow" }
|
||||||
|
"markup.link.label" = { fg = "green" }
|
||||||
|
"markup.quote" = { fg = "yellow" }
|
||||||
|
"diff.plus" = { fg = "green" }
|
||||||
|
"diff.minus" = { fg = "red" }
|
||||||
|
"diff.delta" = { fg = "green" }
|
||||||
|
|
||||||
|
# Interface
|
||||||
|
"ui.background"= { bg = "background" }
|
||||||
|
"ui.cursor" = { bg = "yellow", fg = "dark_gray" }
|
||||||
|
"ui.cursor.match" = { fg = "orange" }
|
||||||
|
"ui.linenr" = { fg = "dark_gray" }
|
||||||
|
"ui.linenr.selected" = { fg = "orange" }
|
||||||
|
"ui.statusline" = { bg = "black" }
|
||||||
|
"ui.popup" = { bg = "black" }
|
||||||
|
"ui.window" = { fg = "dark_gray" }
|
||||||
|
"ui.help" = { bg = "black" }
|
||||||
|
"ui.text" = { fg = "foreground" }
|
||||||
|
"ui.text.focus" = { bg = "dark_gray", fg = "foreground" }
|
||||||
|
"ui.text.info" = { fg = "foreground" }
|
||||||
|
"ui.virtual.whitespace" = { fg = "dark_gray" }
|
||||||
|
"ui.virtual.ruler" = { bg = "black" }
|
||||||
|
"ui.menu" = { bg = "black" }
|
||||||
|
"ui.menu.selected" = { bg = "orange", fg = "background" }
|
||||||
|
"ui.selection" = { bg = "dark_gray" }
|
||||||
|
"warning" = { fg = "yellow" }
|
||||||
|
"error" = { fg = "red", modifiers = ["bold"] }
|
||||||
|
"info" = { fg = "blue", modifiers = ["bold"] }
|
||||||
|
"hint" = { fg = "blue", modifiers = ["bold"] }
|
||||||
|
"diagnostic"= { fg = "red", modifiers = ["underlined"] }
|
||||||
|
"diagnostic.info"= { fg = "blue", modifiers = ["underlined"] }
|
||||||
|
"diagnostic.warning"= { fg = "yellow", modifiers = ["underlined"] }
|
||||||
|
"diagnostic.error"= { fg = "red", modifiers = ["underlined"] }
|
||||||
|
|
||||||
|
"special" = { fg = "orange" }
|
||||||
|
|
||||||
|
[palette]
|
||||||
|
background = "#242936"
|
||||||
|
foreground = "#cccac2"
|
||||||
|
|
||||||
|
black = "#1a1f29"
|
||||||
|
blue = "#73d0ff"
|
||||||
|
dark_gray = "#8a919959"
|
||||||
|
cyan = "#80bfff"
|
||||||
|
gray = "#939cb1"
|
||||||
|
green = "#d5ff80"
|
||||||
|
magenta = "#dfbfff"
|
||||||
|
orange = "#ffad66"
|
||||||
|
red = "#f28779"
|
||||||
|
yellow = "#ffcc77"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue