Permalink
Browse files

improve Windows command prompt template

Mappings for the Windows command prompt mapped the bright colours to
shades of light/dark, which resulted in weird looking applications.
This new mapping respects the bright colours, and mostly uses the same
colours for the dark and light versions, because the colour schemes do
not have dark and light versions of the colours.

The mapping is optimised for the Solarized scheme. For example, 0F in
Solarized maps perfectly to the purple/pink of cmd, but 0F in other
schemes looks more brown. Brown-ish colours could be more suitable for
the dark red colour of cmd, but Solarized 0F would look stange when
used as dark red. I think this mapping is a good compromise.
  • Loading branch information...
1 parent 869271a commit a6fd9d5b6f91077de8302073741cb1c0e8da04b6 @ruuda ruuda committed Jul 28, 2013
Showing with 9 additions and 9 deletions.
  1. +9 −9 templates/windows-command-prompt/reg.erb
View
18 templates/windows-command-prompt/reg.erb
@@ -8,15 +8,15 @@ Windows Registry Editor Version 5.00
"ColorTable01"=dword:00<%= @base["0D"]["hexbgr"] %>
"ColorTable02"=dword:00<%= @base["0B"]["hexbgr"] %>
"ColorTable03"=dword:00<%= @base["0C"]["hexbgr"] %>
-"ColorTable04"=dword:00<%= @base["08"]["hexbgr"] %>
+"ColorTable04"=dword:00<%= @base["09"]["hexbgr"] %>
"ColorTable05"=dword:00<%= @base["0E"]["hexbgr"] %>
-"ColorTable06"=dword:00<%= @base["09"]["hexbgr"] %>
-"ColorTable07"=dword:00<%= @base["05"]["hexbgr"] %>
+"ColorTable06"=dword:00<%= @base["0A"]["hexbgr"] %>
+"ColorTable07"=dword:00<%= @base["04"]["hexbgr"] %>
"ColorTable08"=dword:00<%= @base["03"]["hexbgr"] %>
-"ColorTable09"=dword:00<%= @base["01"]["hexbgr"] %>
-"ColorTable10"=dword:00<%= @base["02"]["hexbgr"] %>
-"ColorTable11"=dword:00<%= @base["03"]["hexbgr"] %>
-"ColorTable12"=dword:00<%= @base["04"]["hexbgr"] %>
-"ColorTable13"=dword:00<%= @base["05"]["hexbgr"] %>
-"ColorTable14"=dword:00<%= @base["06"]["hexbgr"] %>
+"ColorTable09"=dword:00<%= @base["0D"]["hexbgr"] %>
+"ColorTable10"=dword:00<%= @base["0B"]["hexbgr"] %>
+"ColorTable11"=dword:00<%= @base["0C"]["hexbgr"] %>
+"ColorTable12"=dword:00<%= @base["08"]["hexbgr"] %>
+"ColorTable13"=dword:00<%= @base["0F"]["hexbgr"] %>
+"ColorTable14"=dword:00<%= @base["0A"]["hexbgr"] %>
"ColorTable15"=dword:00<%= @base["07"]["hexbgr"] %>

0 comments on commit a6fd9d5

Please sign in to comment.