-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6c7fbc
commit 7d8873d
Showing
5 changed files
with
262 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#base16-deep-oceanic-next pre { white-space: pre-wrap; font-family: monospace; color: #dce3e8; background-color: #003b46; } | ||
#base16-deep-oceanic-next pre { font-family: monospace; color: #dce3e8; background-color: #003b46; } | ||
#base16-deep-oceanic-next * { font-size: 1em; } | ||
#base16-deep-oceanic-next .Identifier { color: #dce3e8; } | ||
#base16-deep-oceanic-next .Statement { color: #e6454b; font-weight: bold; } | ||
#base16-deep-oceanic-next .PreProc { color: #ffcc66; } | ||
#base16-deep-oceanic-next .String { color: #85b57a; } | ||
#base16-deep-oceanic-next .Conditional { color: #8c4de6; } | ||
#base16-deep-oceanic-next .Number { color: #ff6a4b; } | ||
#base16-deep-oceanic-next .Operator { color: #4da6a6; } | ||
#base16-deep-oceanic-next .Comment { color: #007a8a; font-style: italic; } | ||
#base16-deep-oceanic-next .Special { color: #4da6a6; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<pre id='vimCodeElement'> | ||
<span class="Comment">#!/bin/bash</span> | ||
|
||
<span class="Statement">set</span><span class="Identifier"> </span><span class="Special">-eu</span><span class="Identifier"> pipefail</span> | ||
|
||
<span class="Statement">rm</span> <span class="Special">-rf</span> out | ||
<span class="Statement">mkdir</span> out | ||
|
||
<span class="Statement">rm</span> <span class="Special">-rf</span> base16-vim | ||
git clone <span class="Special">--depth</span><span class="Operator">=</span><span class="Number">1</span> <a href="https://github.com/tinted-theming/base16-vim">https://github.com/tinted-theming/base16-vim</a> | ||
|
||
<span class="Statement">rm</span> <span class="Special">-rf</span> schemes | ||
git clone <span class="Special">--depth</span><span class="Operator">=</span><span class="Number">1</span> <a href="https://github.com/tinted-theming/schemes">https://github.com/tinted-theming/schemes</a> | ||
|
||
<span class="Statement">export</span> <span class="Identifier">COLORSCHEMES</span>=<span class="PreProc">($(</span><span class="Statement">ls</span><span class="Special"> schemes/base16/ </span><span class="Operator">|</span><span class="Special"> </span><span class="Statement">grep</span><span class="Special"> yaml </span><span class="Operator">|</span><span class="Special"> </span><span class="Statement">sed</span><span class="Special"> </span><span class="Operator">'</span><span class="String">s/\..*$//</span><span class="Operator">'</span><span class="PreProc">))</span> | ||
|
||
<span class="Statement">for</span> COLORSCHEME <span class="Statement">in</span> <span class="PreProc">${</span><span class="PreProc">COLORSCHEMES</span><span class="PreProc">[</span>@<span class="PreProc">]</span><span class="PreProc">}</span>; <span class="Conditional">do</span> | ||
<span class="Statement">echo</span><span class="String"> </span><span class="PreProc">$COLORSCHEME</span> | ||
|
||
vim <span class="Special">-es</span> <span class="Conditional">-u</span> NORC <span class="Conditional">-N</span> \ | ||
<span class="Conditional">-c</span> <span class="Operator">'</span><span class="String">set termguicolors</span><span class="Operator">'</span> \ | ||
<span class="Conditional">-c</span> <span class="Operator">'</span><span class="String">set runtimepath+=base16-vim</span><span class="Operator">'</span> \ | ||
<span class="Conditional">-c</span> <span class="Operator">'</span><span class="String">syntax on</span><span class="Operator">'</span> \ | ||
<span class="Conditional">-c</span> <span class="Operator">"</span><span class="String">colorscheme base16-</span><span class="PreProc">$COLORSCHEME</span><span class="Operator">"</span> \ | ||
<span class="Conditional">-c</span> <span class="Operator">'</span><span class="String">TOhtml</span><span class="Operator">'</span> \ | ||
<span class="Conditional">-c</span> <span class="Operator">'</span><span class="String">wqall</span><span class="Operator">'</span> \ | ||
<span class="PreProc">$0</span> <span class="Conditional">></span> /dev/null <span class="Number">2</span><span class="Conditional">></span><span class="Operator">&</span><span class="Number">1</span> | ||
|
||
<span class="Statement">grep</span> <span class="Special">-Pzo</span> <span class="Operator">'</span><span class="String">(?s)<style>.*</style></span><span class="Operator">'</span> <span class="PreProc">$0</span>.html \ | ||
<span class="Operator">|</span> <span class="Statement">sed</span> <span class="Operator">"</span><span class="String">3,14!d;s/body/pre/;s/^/#base16-</span><span class="PreProc">$COLORSCHEME</span><span class="String"> /</span><span class="Operator">"</span> \ | ||
<span class="Conditional">></span> out/<span class="PreProc">$COLORSCHEME</span>.css | ||
|
||
awk <span class="Operator">"</span><span class="String">/<pre id='vimCodeElement'>/,/<\/pre>/</span><span class="Operator">"</span> <span class="PreProc">$0</span>.html \ | ||
<span class="Conditional">></span> out/<span class="PreProc">$COLORSCHEME</span>.html | ||
|
||
<span class="Statement">rm</span> <span class="Conditional">-f</span> <span class="PreProc">$0</span>.html | ||
<span class="Conditional">done</span> | ||
|
||
erb template.erb <span class="Operator">></span> out/index.html | ||
</pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
#base16-dracula pre { white-space: pre-wrap; font-family: monospace; color: #e9e9f4; background-color: #282936; } | ||
#base16-dracula pre { font-family: monospace; color: #e9e9f4; background-color: #282936; } | ||
#base16-dracula pre { white-space: pre-wrap; font-family: monospace; color: #f8f8f2; background-color: #282a36; } | ||
#base16-dracula pre { font-family: monospace; color: #f8f8f2; background-color: #282a36; } | ||
#base16-dracula * { font-size: 1em; } | ||
#base16-dracula .Identifier { color: #e9e9f4; } | ||
#base16-dracula .Statement { color: #ea51b2; font-weight: bold; } | ||
#base16-dracula .PreProc { color: #00f769; } | ||
#base16-dracula .String { color: #ebff87; } | ||
#base16-dracula .Conditional { color: #b45bcf; } | ||
#base16-dracula .Number { color: #b45bcf; } | ||
#base16-dracula .Operator { color: #a1efe4; } | ||
#base16-dracula .Comment { color: #626483; font-style: italic; } | ||
#base16-dracula .Special { color: #a1efe4; } | ||
#base16-dracula .Identifier { color: #f8f8f2; } | ||
#base16-dracula .Statement { color: #ff5555; font-weight: bold; } | ||
#base16-dracula .PreProc { color: #f1fa8c; } | ||
#base16-dracula .String { color: #50fa7b; } | ||
#base16-dracula .Conditional { color: #ff79c6; } | ||
#base16-dracula .Number { color: #ffb86c; } | ||
#base16-dracula .Operator { color: #8be9fd; } | ||
#base16-dracula .Comment { color: #6272a4; font-style: italic; } | ||
#base16-dracula .Special { color: #8be9fd; } |
Oops, something went wrong.