Skip to content

Commit 9fc283d

Browse files
author
Jonathan Esposito
committed
Added Terminal theme
1 parent 3a411ad commit 9fc283d

8 files changed

+9738
-3
lines changed

theme/iterm/build.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
import sublate as sub
22

3-
print("[+] Terminal")
3+
print("[+] iTerm")
44

55
for theme in sub.data["colors"]:
66
# convert colors to rgb decimal
7+
_theme = {"colors": {}}
78
for k,v in theme["colors"].items():
89
r, g, b = tuple(int(v[1:][i:i+2], 16)/255 for i in (0, 2, 4))
9-
theme["colors"][k] = {
10+
_theme["colors"][k] = {
1011
"r": r,
1112
"g": g,
1213
"b": b,
1314
}
1415

1516
sub.render(f"{theme['name']}.itermcolors".replace(" ", "_"), "template.itermcolors", {
16-
"theme": theme
17+
"theme": _theme
1718
})
1819

1920
sub.rm("template.itermcolors")

theme/terminal/Monokai_Classic.terminal

Lines changed: 1617 additions & 0 deletions
Large diffs are not rendered by default.

theme/terminal/Monokai_Pro.terminal

Lines changed: 1624 additions & 0 deletions
Large diffs are not rendered by default.

theme/terminal/Monokai_Pro_(Filter_Machine).terminal

Lines changed: 1619 additions & 0 deletions
Large diffs are not rendered by default.

theme/terminal/Monokai_Pro_(Filter_Octagon).terminal

Lines changed: 1622 additions & 0 deletions
Large diffs are not rendered by default.

theme/terminal/Monokai_Pro_(Filter_Ristretto).terminal

Lines changed: 1620 additions & 0 deletions
Large diffs are not rendered by default.

theme/terminal/Monokai_Pro_(Filter_Spectrum).terminal

Lines changed: 1623 additions & 0 deletions
Large diffs are not rendered by default.

theme/terminal/build.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import sublate as sub
2+
3+
print("[+] Terminal")
4+
5+
for theme in sub.data["colors"]:
6+
# TODO: render with template
7+
pass
8+
9+
sub.rm("build.py")

0 commit comments

Comments
 (0)