Skip to content

Commit da41dc8

Browse files
feat: add one dark two theme (#645)
1 parent 521ab17 commit da41dc8

36 files changed

+1368
-0
lines changed

CREDITS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,8 @@ The OceanicMaterial theme was created by [rahulpatel](https://github.com/rahulpa
333333

334334
The Oceanic Next theme was created by [mhartington](https://github.com/mhartington/oceanic-next-iterm)
335335

336+
The One Dark Two theme was created by [beatreichenbach](https://github.com/beatreichenbach/one-dark-two), based on Atom's One Dark with brighter text.
337+
336338
The One Double Dark and One Double Light themes were created by [pamburus](https://github.com/pamburus/one-double), based on One Half and Atom's One, with a visibility fix for the bright black color in the dark variant and altered bright colors in both variants.
337339

338340
The One Half themes were created by [sonph](https://github.com/sonph), based on Atom's One with some tweakings.

Xresources/One Dark Two

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
!
2+
! One Dark Two
3+
!
4+
*.foreground: #e6e6e6
5+
*.background: #21252b
6+
*.cursorColor: #e6e6e6
7+
!
8+
! Black
9+
*.color0: #1d1f23
10+
*.color8: #4a505a
11+
!
12+
! Red
13+
*.color1: #e27881
14+
*.color9: #e68991
15+
!
16+
! Green
17+
*.color2: #98c379
18+
*.color10: #a8cc8e
19+
!
20+
! Yellow
21+
*.color3: #eac786
22+
*.color11: #edcf97
23+
!
24+
! Blue
25+
*.color4: #71b9f4
26+
*.color12: #8dc7f6
27+
!
28+
! Magenta
29+
*.color5: #c88bda
30+
*.color13: #d3a2e2
31+
!
32+
! Cyan
33+
*.color6: #62bac6
34+
*.color14: #78c4ce
35+
!
36+
! White
37+
*.color7: #c9ccd3
38+
*.color15: #e6e6e6
39+
!
40+
! Bold, Italic, Underline
41+
*.colorBD: #e6e6e6
42+
!*.colorIT:
43+
!*.colorUL:

alacritty/One Dark Two.toml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Colors (One Dark Two)
2+
3+
[colors.bright]
4+
black = '#4a505a'
5+
blue = '#8dc7f6'
6+
cyan = '#78c4ce'
7+
green = '#a8cc8e'
8+
magenta = '#d3a2e2'
9+
red = '#e68991'
10+
white = '#e6e6e6'
11+
yellow = '#edcf97'
12+
13+
[colors.cursor]
14+
cursor = '#e6e6e6'
15+
text = '#1d1f23'
16+
17+
[colors.normal]
18+
black = '#1d1f23'
19+
blue = '#71b9f4'
20+
cyan = '#62bac6'
21+
green = '#98c379'
22+
magenta = '#c88bda'
23+
red = '#e27881'
24+
white = '#c9ccd3'
25+
yellow = '#eac786'
26+
27+
[colors.primary]
28+
background = '#21252b'
29+
foreground = '#e6e6e6'
30+
31+
[colors.selection]
32+
background = '#393e47'
33+
text = '#e6e6e6'

dynamic-colors/One Dark Two.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
# One Dark Two
3+
printf "\033]4;0;#1d1f23;1;#e27881;2;#98c379;3;#eac786;4;#71b9f4;5;#c88bda;6;#62bac6;7;#c9ccd3;8;#4a505a;9;#e68991;10;#a8cc8e;11;#edcf97;12;#8dc7f6;13;#d3a2e2;14;#78c4ce;15;#e6e6e6\007"
4+
printf "\033]10;#e6e6e6;#21252b;#e6e6e6\007"
5+
printf "\033]17;#393e47\007"
6+
printf "\033]19;#e6e6e6\007"
7+
printf "\033]5;0;#e6e6e6\007"

electerm/One Dark Two.txt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
themeName=One Dark Two
3+
main-dark=#000
4+
main-light=#2E3338
5+
text=#ddd
6+
text-light=#fff
7+
text-dark=#888
8+
text-disabled=#777
9+
primary=#08c
10+
info=#FFD166
11+
success=#06D6A0
12+
error=#EF476F
13+
warn=#E55934
14+
main=#21252b
15+
terminal:background=#21252b
16+
terminal:foreground=#e6e6e6
17+
terminal:cursor=#e6e6e6
18+
terminal:selection=#393e47
19+
terminal:cursorAccent=#21252b
20+
terminal:black=#1d1f23
21+
terminal:red=#e27881
22+
terminal:green=#98c379
23+
terminal:yellow=#eac786
24+
terminal:blue=#71b9f4
25+
terminal:magenta=#c88bda
26+
terminal:cyan=#62bac6
27+
terminal:white=#c9ccd3
28+
terminal:brightBlack=#4a505a
29+
terminal:brightRed=#e68991
30+
terminal:brightGreen=#a8cc8e
31+
terminal:brightYellow=#edcf97
32+
terminal:brightBlue=#8dc7f6
33+
terminal:brightMagenta=#d3a2e2
34+
terminal:brightCyan=#78c4ce
35+
terminal:brightWhite=#e6e6e6

foot/One Dark Two.ini

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
[cursor]
3+
color=1d1f23 e6e6e6
4+
5+
[colors]
6+
foreground=e6e6e6
7+
background=21252b
8+
regular0=1d1f23
9+
regular1=e27881
10+
regular2=98c379
11+
regular3=eac786
12+
regular4=71b9f4
13+
regular5=c88bda
14+
regular6=62bac6
15+
regular7=c9ccd3
16+
bright0=4a505a
17+
bright1=e68991
18+
bright2=a8cc8e
19+
bright3=edcf97
20+
bright4=8dc7f6
21+
bright5=d3a2e2
22+
bright6=78c4ce
23+
bright7=e6e6e6
24+
selection-foreground=e6e6e6
25+
selection-background=393e47

freebsd_vt/One Dark Two.conf

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# One Dark Two
2+
kern.vt.color.0.rgb="#1d1f23"
3+
kern.vt.color.1.rgb="#e27881"
4+
kern.vt.color.2.rgb="#98c379"
5+
kern.vt.color.3.rgb="#eac786"
6+
kern.vt.color.4.rgb="#71b9f4"
7+
kern.vt.color.5.rgb="#c88bda"
8+
kern.vt.color.6.rgb="#62bac6"
9+
kern.vt.color.7.rgb="#e6e6e6"
10+
kern.vt.color.8.rgb="#4a505a"
11+
kern.vt.color.9.rgb="#e68991"
12+
kern.vt.color.10.rgb="#a8cc8e"
13+
kern.vt.color.11.rgb="#edcf97"
14+
kern.vt.color.12.rgb="#8dc7f6"
15+
kern.vt.color.13.rgb="#d3a2e2"
16+
kern.vt.color.14.rgb="#78c4ce"
17+
kern.vt.color.15.rgb="#e6e6e6"

generic/One Dark Two.sh

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
#!/bin/sh
2+
# One Dark Two
3+
4+
# source for these helper functions:
5+
# https://github.com/chriskempson/base16-shell/blob/master/templates/default.mustache
6+
if [ -n "$TMUX" ]; then
7+
# Tell tmux to pass the escape sequences through
8+
# (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324)
9+
put_template() { printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\' $@; }
10+
put_template_var() { printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\' $@; }
11+
put_template_custom() { printf '\033Ptmux;\033\033]%s%s\033\033\\\033\\' $@; }
12+
elif [ "${TERM%%[-.]*}" = "screen" ]; then
13+
# GNU screen (screen, screen-256color, screen-256color-bce)
14+
put_template() { printf '\033P\033]4;%d;rgb:%s\007\033\\' $@; }
15+
put_template_var() { printf '\033P\033]%d;rgb:%s\007\033\\' $@; }
16+
put_template_custom() { printf '\033P\033]%s%s\007\033\\' $@; }
17+
elif [ "${TERM%%-*}" = "linux" ]; then
18+
put_template() { [ $1 -lt 16 ] && printf "\e]P%x%s" $1 $(echo $2 | sed 's/\///g'); }
19+
put_template_var() { true; }
20+
put_template_custom() { true; }
21+
else
22+
put_template() { printf '\033]4;%d;rgb:%s\033\\' $@; }
23+
put_template_var() { printf '\033]%d;rgb:%s\033\\' $@; }
24+
put_template_custom() { printf '\033]%s%s\033\\' $@; }
25+
fi
26+
27+
# 16 color space
28+
put_template 0 "1d/1f/23"
29+
put_template 1 "e2/78/81"
30+
put_template 2 "98/c3/79"
31+
put_template 3 "ea/c7/86"
32+
put_template 4 "71/b9/f4"
33+
put_template 5 "c8/8b/da"
34+
put_template 6 "62/ba/c6"
35+
put_template 7 "c9/cc/d3"
36+
put_template 8 "4a/50/5a"
37+
put_template 9 "e6/89/91"
38+
put_template 10 "a8/cc/8e"
39+
put_template 11 "ed/cf/97"
40+
put_template 12 "8d/c7/f6"
41+
put_template 13 "d3/a2/e2"
42+
put_template 14 "78/c4/ce"
43+
put_template 15 "e6/e6/e6"
44+
45+
color_foreground="e6/e6/e6"
46+
color_background="21/25/2b"
47+
48+
if [ -n "$ITERM_SESSION_ID" ]; then
49+
# iTerm2 proprietary escape codes
50+
put_template_custom Pg "e6e6e6"
51+
put_template_custom Ph "21252b"
52+
put_template_custom Pi "e6e6e6"
53+
put_template_custom Pj "393e47"
54+
put_template_custom Pk "e6e6e6"
55+
put_template_custom Pl "e6e6e6"
56+
put_template_custom Pm "1d1f23"
57+
else
58+
put_template_var 10 $color_foreground
59+
put_template_var 11 $color_background
60+
if [ "${TERM%%-*}" = "rxvt" ]; then
61+
put_template_var 708 $color_background # internal border (rxvt)
62+
fi
63+
put_template_custom 12 ";7" # cursor (reverse video)
64+
fi
65+
66+
# clean up
67+
unset -f put_template
68+
unset -f put_template_var
69+
unset -f put_template_custom
70+
71+
unset color_foreground
72+
unset color_background

ghostty/One Dark Two

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
palette = 0=#1d1f23
2+
palette = 1=#e27881
3+
palette = 2=#98c379
4+
palette = 3=#eac786
5+
palette = 4=#71b9f4
6+
palette = 5=#c88bda
7+
palette = 6=#62bac6
8+
palette = 7=#c9ccd3
9+
palette = 8=#4a505a
10+
palette = 9=#e68991
11+
palette = 10=#a8cc8e
12+
palette = 11=#edcf97
13+
palette = 12=#8dc7f6
14+
palette = 13=#d3a2e2
15+
palette = 14=#78c4ce
16+
palette = 15=#e6e6e6
17+
background = #21252b
18+
foreground = #e6e6e6
19+
cursor-color = #e6e6e6
20+
cursor-text = #1d1f23
21+
selection-background = #393e47
22+
selection-foreground = #e6e6e6

hexchat/One Dark Two.conf

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
2+
3+
color_0 = c9c9 cccc d3d3
4+
color_1 = 1d1d 1f1f 2323
5+
color_2 = 7171 b9b9 f4f4
6+
color_3 = 9898 c3c3 7979
7+
color_4 = e2e2 7878 8181
8+
color_5 = eaea c7c7 8686
9+
color_6 = c8c8 8b8b dada
10+
color_7 = e6e6 8989 9191
11+
color_8 = eded cfcf 9797
12+
color_9 = a8a8 cccc 8e8e
13+
color_10 = 6262 baba c6c6
14+
color_11 = 7878 c4c4 cece
15+
color_12 = 8d8d c7c7 f6f6
16+
color_13 = d3d3 a2a2 e2e2
17+
color_14 = 4a4a 5050 5a5a
18+
color_15 = e6e6 e6e6 e6e6
19+
color_16 = c9c9 cccc d3d3
20+
color_17 = 1d1d 1f1f 2323
21+
color_18 = 7171 b9b9 f4f4
22+
color_19 = 9898 c3c3 7979
23+
color_20 = e2e2 7878 8181
24+
color_21 = eaea c7c7 8686
25+
color_22 = c8c8 8b8b dada
26+
color_23 = e6e6 8989 9191
27+
color_24 = eded cfcf 9797
28+
color_25 = a8a8 cccc 8e8e
29+
color_26 = 6262 baba c6c6
30+
color_27 = 7878 c4c4 cece
31+
color_28 = 8d8d c7c7 f6f6
32+
color_29 = d3d3 a2a2 e2e2
33+
color_30 = 4a4a 5050 5a5a
34+
color_31 = e6e6 e6e6 e6e6
35+
color_256 = e6e6 e6e6 e6e6
36+
color_257 = 3939 3e3e 4747
37+
color_258 = e6e6 e6e6 e6e6
38+
color_259 = 2121 2525 2b2b
39+
color_260 = eaea c7c7 8686
40+
color_261 = 7171 b9b9 f4f4
41+
color_262 = 9898 c3c3 7979
42+
color_263 = e6e6 8989 9191
43+
color_264 = e6e6 e6e6 e6e6
44+
color_265 = e2e2 7878 8181

0 commit comments

Comments
 (0)