From 49456042c3802a4c6294e10d8ae1a2a7b6da2cd9 Mon Sep 17 00:00:00 2001 From: JamyGolden Date: Mon, 1 Apr 2024 17:46:36 +0000 Subject: [PATCH] deploy: 933907a9a1be2c384254ec4deb440fc2aef312f4 --- aztec.css | 12 ++++++ aztec.html | 40 ++++++++++++++++++++ index.html | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 158 insertions(+) create mode 100644 aztec.css create mode 100644 aztec.html diff --git a/aztec.css b/aztec.css new file mode 100644 index 0000000..96a8d48 --- /dev/null +++ b/aztec.css @@ -0,0 +1,12 @@ +#base16-aztec pre { white-space: pre-wrap; font-family: monospace; color: #ffda51; background-color: #101600; } +#base16-aztec pre { font-family: monospace; color: #ffda51; background-color: #101600; } +#base16-aztec * { font-size: 1em; } +#base16-aztec .Identifier { color: #ffda51; } +#base16-aztec .Statement { color: #ee2e00; font-weight: bold; } +#base16-aztec .PreProc { color: #eebb00; } +#base16-aztec .String { color: #63d932; } +#base16-aztec .Conditional { color: #883e9f; } +#base16-aztec .Number { color: #ee8800; } +#base16-aztec .Operator { color: #3d94a5; } +#base16-aztec .Comment { color: #2e2e05; font-style: italic; } +#base16-aztec .Special { color: #3d94a5; } diff --git a/aztec.html b/aztec.html new file mode 100644 index 0000000..f279998 --- /dev/null +++ b/aztec.html @@ -0,0 +1,40 @@ +
+#!/bin/bash
+
+set -eu pipefail
+
+rm -rf out
+mkdir out
+
+rm -rf base16-vim
+git clone --depth=1 https://github.com/tinted-theming/base16-vim
+
+rm -rf schemes
+git clone --depth=1 https://github.com/tinted-theming/schemes
+
+export COLORSCHEMES=($(ls schemes/base16/ | grep yaml | sed 's/\..*$//'))
+
+for COLORSCHEME in ${COLORSCHEMES[@]}; do
+  echo $COLORSCHEME
+
+  vim -es -u NORC -N \
+    -c 'set termguicolors' \
+    -c 'set runtimepath+=base16-vim' \
+    -c 'syntax on' \
+    -c "colorscheme base16-$COLORSCHEME" \
+    -c 'TOhtml' \
+    -c 'wqall' \
+    $0 > /dev/null 2>&1
+
+  grep -Pzo '(?s)<style>.*</style>' $0.html \
+    | sed "3,14!d;s/body/pre/;s/^/#base16-$COLORSCHEME /" \
+    > out/$COLORSCHEME.css
+
+  awk "/<pre id='vimCodeElement'>/,/<\/pre>/" $0.html \
+    > out/$COLORSCHEME.html
+
+  rm -f $0.html
+done
+
+erb template.erb > out/index.html
+
diff --git a/index.html b/index.html index 019c2b8..5d1e8f9 100644 --- a/index.html +++ b/index.html @@ -400,6 +400,20 @@ #base16-ayu-mirage .Special { color: #95e6cb; } + #base16-aztec pre { white-space: pre-wrap; font-family: monospace; color: #ffda51; background-color: #101600; } +#base16-aztec pre { font-family: monospace; color: #ffda51; background-color: #101600; } +#base16-aztec * { font-size: 1em; } +#base16-aztec .Identifier { color: #ffda51; } +#base16-aztec .Statement { color: #ee2e00; font-weight: bold; } +#base16-aztec .PreProc { color: #eebb00; } +#base16-aztec .String { color: #63d932; } +#base16-aztec .Conditional { color: #883e9f; } +#base16-aztec .Number { color: #ee8800; } +#base16-aztec .Operator { color: #3d94a5; } +#base16-aztec .Comment { color: #2e2e05; font-style: italic; } +#base16-aztec .Special { color: #3d94a5; } + + #base16-bespin pre { white-space: pre-wrap; font-family: monospace; color: #8a8986; background-color: #28211c; } #base16-bespin pre { font-family: monospace; color: #8a8986; background-color: #28211c; } #base16-bespin * { font-size: 1em; } @@ -6280,6 +6294,98 @@

Base16 Gallery

+
+
+ +
system: "base16"
+name: "Aztec"
+author: "TheNeverMan (github.com/TheNeverMan)"
+variant: "dark"
+palette:
+  base00: "101600" # Background ----
+  base01: "1A1E01" # Background ---
+  base02: "242604" # Background --
+  base03: "2E2E05" # Background -
+  base04: "FFD129" # Foreground -
+  base05: "FFDA51" # Foreground --
+  base06: "FFE178" # Foreground ---
+  base07: "FFEBA0" # Foreground ----
+  base08: "EE2E00" # Red
+  base09: "EE8800" # Orange
+  base0A: "EEBB00" # Yellow
+  base0B: "63D932" # Green
+  base0C: "3D94A5" # Cyan
+  base0D: "5B4A9F" # Blue
+  base0E: "883E9F" # Purple
+  base0F: "A928B9" # Magenta
+
+
+#!/bin/bash
+
+set -eu pipefail
+
+rm -rf out
+mkdir out
+
+rm -rf base16-vim
+git clone --depth=1 https://github.com/tinted-theming/base16-vim
+
+rm -rf schemes
+git clone --depth=1 https://github.com/tinted-theming/schemes
+
+export COLORSCHEMES=($(ls schemes/base16/ | grep yaml | sed 's/\..*$//'))
+
+for COLORSCHEME in ${COLORSCHEMES[@]}; do
+  echo $COLORSCHEME
+
+  vim -es -u NORC -N \
+    -c 'set termguicolors' \
+    -c 'set runtimepath+=base16-vim' \
+    -c 'syntax on' \
+    -c "colorscheme base16-$COLORSCHEME" \
+    -c 'TOhtml' \
+    -c 'wqall' \
+    $0 > /dev/null 2>&1
+
+  grep -Pzo '(?s)<style>.*</style>' $0.html \
+    | sed "3,14!d;s/body/pre/;s/^/#base16-$COLORSCHEME /" \
+    > out/$COLORSCHEME.css
+
+  awk "/<pre id='vimCodeElement'>/,/<\/pre>/" $0.html \
+    > out/$COLORSCHEME.html
+
+  rm -f $0.html
+done
+
+erb template.erb > out/index.html
+
+ +
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ aztec +
+
+