Skip to content

Commit 5aef43a

Browse files
authored
Merge pull request #9 from dracula/fix-background-colors-by-switching-to-iterm-format
Switch to itermcolors format to fix background / foreground color issues
2 parents 0db02bf + 3e3a4ce commit 5aef43a

File tree

4 files changed

+197
-18
lines changed

4 files changed

+197
-18
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
## Theme Installation
1010

1111
1. [Download and unzip](https://raw.githubusercontent.com/waf/dracula-cmd/master/dist/ColorTool.zip) ColorTool. The [source code](https://github.com/Microsoft/console/tree/master/tools/ColorTool) is available from Microsoft.
12-
1. Open PowerShell, navigate to unzipped `ColorTool` directory, and run `ColorTool.exe -b Dracula.ini`.
12+
1. Open PowerShell, navigate to unzipped `ColorTool` directory, and run `ColorTool.exe -b Dracula-ColorTool.itermcolors`.
1313
1. Right-click on the window titlebar and choose `Properties`, then on the `Font` tab choose Consolas. Click `OK` to save.
1414
- Note that this step is required, even if your font is already set to Consolas, due to the way that the windows console saves its settings.
1515

dist/ColorTool.zip

933 Bytes
Binary file not shown.
Lines changed: 196 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,196 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Name: Dracula (for Windows Console and ColorTool)
4+
Author: Will Fuqua, Zeno Rocha
5+
Url: https://github.com/dracula/powershell
6+
License: The MIT License (MIT)
7+
8+
A dark color scheme for Windows PowerShell and cmd.exe, using the Dracula colors
9+
designed by Zeno Rocha. See https://github.com/dracula/powershell for installation
10+
instructions, and https://github.com/dracula/ for colorschemes for additional applications.
11+
-->
12+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
13+
<plist version="1.0">
14+
<dict>
15+
<key>Ansi 0 Color</key>
16+
<dict>
17+
<!-- DARK_BLACK -->
18+
<key>Red Component</key>
19+
<real>0.152941176470588</real>
20+
<key>Green Component</key>
21+
<real>0.16078431372549</real>
22+
<key>Blue Component</key>
23+
<real>0.207843137254902</real>
24+
</dict>
25+
<key>Ansi 1 Color</key>
26+
<dict>
27+
<!-- DARK_RED -->
28+
<key>Red Component</key>
29+
<real>1</real>
30+
<key>Green Component</key>
31+
<real>0.333333333333333</real>
32+
<key>Blue Component</key>
33+
<real>0.333333333333333</real>
34+
</dict>
35+
<key>Ansi 2 Color</key>
36+
<dict>
37+
<!-- DARK_GREEN -->
38+
<key>Red Component</key>
39+
<real>0.313725490196078</real>
40+
<key>Green Component</key>
41+
<real>0.980392156862745</real>
42+
<key>Blue Component</key>
43+
<real>0.482352941176471</real>
44+
</dict>
45+
<key>Ansi 3 Color</key>
46+
<dict>
47+
<!-- DARK_YELLOW -->
48+
<key>Red Component</key>
49+
<real>1</real>
50+
<key>Green Component</key>
51+
<real>0.72156862745098</real>
52+
<key>Blue Component</key>
53+
<real>0.423529411764706</real>
54+
</dict>
55+
<key>Ansi 4 Color</key>
56+
<dict>
57+
<!-- DARK_BLUE -->
58+
<key>Red Component</key>
59+
<real>0.741176470588235</real>
60+
<key>Green Component</key>
61+
<real>0.576470588235294</real>
62+
<key>Blue Component</key>
63+
<real>0.976470588235294</real>
64+
</dict>
65+
<key>Ansi 5 Color</key>
66+
<dict>
67+
<!-- DARK_MAGENTA -->
68+
<key>Red Component</key>
69+
<real>1</real>
70+
<key>Green Component</key>
71+
<real>0.474509803921569</real>
72+
<key>Blue Component</key>
73+
<real>0.776470588235294</real>
74+
</dict>
75+
<key>Ansi 6 Color</key>
76+
<dict>
77+
<!-- DARK_CYAN -->
78+
<key>Red Component</key>
79+
<real>0.384313725490196</real>
80+
<key>Green Component</key>
81+
<real>0.447058823529412</real>
82+
<key>Blue Component</key>
83+
<real>0.643137254901961</real>
84+
</dict>
85+
<key>Ansi 7 Color</key>
86+
<dict>
87+
<!-- DARK_WHITE -->
88+
<key>Red Component</key>
89+
<real>0.972549019607843</real>
90+
<key>Green Component</key>
91+
<real>0.972549019607843</real>
92+
<key>Blue Component</key>
93+
<real>0.949019607843137</real>
94+
</dict>
95+
<key>Ansi 8 Color</key>
96+
<dict>
97+
<!-- BRIGHT_BLACK -->
98+
<key>Red Component</key>
99+
<real>0.333333333333333</real>
100+
<key>Green Component</key>
101+
<real>0.333333333333333</real>
102+
<key>Blue Component</key>
103+
<real>0.333333333333333</real>
104+
</dict>
105+
<key>Ansi 9 Color</key>
106+
<dict>
107+
<!-- BRIGHT_RED -->
108+
<key>Red Component</key>
109+
<real>1</real>
110+
<key>Green Component</key>
111+
<real>0.333333333333333</real>
112+
<key>Blue Component</key>
113+
<real>0.333333333333333</real>
114+
</dict>
115+
<key>Ansi 10 Color</key>
116+
<dict>
117+
<!-- BRIGHT_GREEN -->
118+
<key>Red Component</key>
119+
<real>0.313725490196078</real>
120+
<key>Green Component</key>
121+
<real>0.980392156862745</real>
122+
<key>Blue Component</key>
123+
<real>0.482352941176471</real>
124+
</dict>
125+
<key>Ansi 11 Color</key>
126+
<dict>
127+
<!-- BRIGHT_YELLOW -->
128+
<key>Red Component</key>
129+
<real>0.945098039215686</real>
130+
<key>Green Component</key>
131+
<real>0.980392156862745</real>
132+
<key>Blue Component</key>
133+
<real>0.549019607843137</real>
134+
</dict>
135+
<key>Ansi 12 Color</key>
136+
<dict>
137+
<!-- BRIGHT_BLUE -->
138+
<key>Red Component</key>
139+
<real>0.741176470588235</real>
140+
<key>Green Component</key>
141+
<real>0.576470588235294</real>
142+
<key>Blue Component</key>
143+
<real>0.976470588235294</real>
144+
</dict>
145+
<key>Ansi 13 Color</key>
146+
<dict>
147+
<!-- BRIGHT_MAGENTA -->
148+
<key>Red Component</key>
149+
<real>1</real>
150+
<key>Green Component</key>
151+
<real>0.474509803921569</real>
152+
<key>Blue Component</key>
153+
<real>0.776470588235294</real>
154+
</dict>
155+
<key>Ansi 14 Color</key>
156+
<dict>
157+
<!-- BRIGHT_CYAN -->
158+
<key>Red Component</key>
159+
<real>0.545098039215686</real>
160+
<key>Green Component</key>
161+
<real>0.913725490196078</real>
162+
<key>Blue Component</key>
163+
<real>0.992156862745098</real>
164+
</dict>
165+
<key>Ansi 15 Color</key>
166+
<dict>
167+
<!-- BRIGHT_WHITE -->
168+
<key>Red Component</key>
169+
<real>1</real>
170+
<key>Green Component</key>
171+
<real>1</real>
172+
<key>Blue Component</key>
173+
<real>1</real>
174+
</dict>
175+
<key>Background Color</key>
176+
<dict>
177+
<!-- must match one of the above ANSI colors exactly -->
178+
<key>Red Component</key>
179+
<real>0.152941176470588</real>
180+
<key>Green Component</key>
181+
<real>0.16078431372549</real>
182+
<key>Blue Component</key>
183+
<real>0.207843137254902</real>
184+
</dict>
185+
<key>Foreground Color</key>
186+
<dict>
187+
<!-- must match one of the above ANSI colors exactly -->
188+
<key>Red Component</key>
189+
<real>0.972549019607843</real>
190+
<key>Green Component</key>
191+
<real>0.972549019607843</real>
192+
<key>Blue Component</key>
193+
<real>0.949019607843137</real>
194+
</dict>
195+
</dict>
196+
</plist>

theme/Dracula.ini

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)