Skip to content

Commit 9dbed9b

Browse files
committed
backgroun-color fine tuning (alpha)
1 parent 1134eda commit 9dbed9b

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

Changes-1.0.textile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
h1=. CodeRay Version History
2-
2+
33
p=. _This files lists all changes in the CodeRay library since the 0.9.8 release._
4-
4+
55
{{toc}}
6-
6+
77
h2. Changes in 1.0
88

99
CodeRay 1.0 is a major rewrite of the library, and incompatible to earlier versions.

etc/CodeRay.tmproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
<key>filename</key>
3333
<string>../Changes-1.0.textile</string>
3434
<key>lastUsed</key>
35-
<date>2011-09-08T23:01:08Z</date>
35+
<date>2011-09-14T00:53:48Z</date>
36+
<key>selected</key>
37+
<true/>
3638
</dict>
3739
<dict>
3840
<key>filename</key>
@@ -56,7 +58,7 @@
5658
<key>filename</key>
5759
<string>../Changes.textile</string>
5860
<key>lastUsed</key>
59-
<date>2011-08-19T01:04:06Z</date>
61+
<date>2011-09-14T00:48:21Z</date>
6062
</dict>
6163
<dict>
6264
<key>filename</key>

lib/coderay/styles/alpha.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class Alpha < Style
6161
.class { color:#B06; font-weight:bold }
6262
.class-variable { color:#369 }
6363
.color { color:#0A0 }
64-
.comment { color:#888 }
64+
.comment { color:#777 }
6565
.comment .char { color:#444 }
6666
.comment .delimiter { color:#444 }
6767
.complex { color:#A08 }
@@ -83,7 +83,7 @@ class Alpha < Style
8383
.hex { color:#02b }
8484
.imaginary { color:#f00 }
8585
.include { color:#B44; font-weight:bold }
86-
.inline { background-color: hsla(0,0%,0%,0.1); color: black }
86+
.inline { background-color: hsla(0,0%,0%,0.07); color: black }
8787
.inline-delimiter { font-weight: bold; color: #666 }
8888
.instance-variable { color:#33B }
8989
.integer { color:#00D }
@@ -104,16 +104,16 @@ class Alpha < Style
104104
.regexp .content { color:#808 }
105105
.regexp .delimiter { color:#404 }
106106
.regexp .modifier { color:#C2C }
107-
.regexp { background-color:hsla(300,100%,50%,0.09); }
107+
.regexp { background-color:hsla(300,100%,50%,0.06); }
108108
.reserved { color:#080; font-weight:bold }
109109
.shell .content { color:#2B2 }
110110
.shell .delimiter { color:#161 }
111-
.shell { background-color:hsla(120,100%,50%,0.09); }
111+
.shell { background-color:hsla(120,100%,50%,0.06); }
112112
.string .char { color: #b0b }
113113
.string .content { color: #D20 }
114114
.string .delimiter { color: #710 }
115115
.string .modifier { color: #E40 }
116-
.string { background-color:hsla(0,100%,50%,0.08); }
116+
.string { background-color:hsla(0,100%,50%,0.05); }
117117
.symbol .content { color:#A60 }
118118
.symbol .delimiter { color:#630 }
119119
.symbol { color:#A60 }
@@ -122,8 +122,8 @@ class Alpha < Style
122122
.value { color: #088; }
123123
.variable { color:#037 }
124124
125-
.insert { background: hsla(120,100%,50%,0.1) }
126-
.delete { background: hsla(0,100%,50%,0.1) }
125+
.insert { background: hsla(120,100%,50%,0.12) }
126+
.delete { background: hsla(0,100%,50%,0.12) }
127127
.change { color: #bbf; background: #007; }
128128
.head { color: #f8f; background: #505 }
129129
.head .filename { color: white; }

0 commit comments

Comments
 (0)