sass-pygments-rails 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +8 -0
- data/lib/sass-pygments-rails.rb +11 -0
- data/lib/sass-pygments-rails/version.rb +7 -0
- data/vendor/assets/stylesheets/pygments/autumn.sass +154 -0
- data/vendor/assets/stylesheets/pygments/borland.sass +111 -0
- data/vendor/assets/stylesheets/pygments/bw.sass +63 -0
- data/vendor/assets/stylesheets/pygments/colorful.sass +210 -0
- data/vendor/assets/stylesheets/pygments/default.sass +185 -0
- data/vendor/assets/stylesheets/pygments/emacs.sass +185 -0
- data/vendor/assets/stylesheets/pygments/friendly.sass +186 -0
- data/vendor/assets/stylesheets/pygments/fruity.sass +166 -0
- data/vendor/assets/stylesheets/pygments/manni.sass +191 -0
- data/vendor/assets/stylesheets/pygments/murphy.sass +212 -0
- data/vendor/assets/stylesheets/pygments/native.sass +184 -0
- data/vendor/assets/stylesheets/pygments/pastie.sass +195 -0
- data/vendor/assets/stylesheets/pygments/perldoc.sass +157 -0
- data/vendor/assets/stylesheets/pygments/tango.sass +180 -0
- data/vendor/assets/stylesheets/pygments/trac.sass +152 -0
- data/vendor/assets/stylesheets/pygments/vim.sass +164 -0
- data/vendor/assets/stylesheets/pygments/vs.sass +64 -0
- metadata +87 -0
data/README.md
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
Pygments-SASS
|
2
|
+
============
|
3
|
+
|
4
|
+
[Pygments](http://pygments.org): a Python-based code highlighting tool, comes with a set of builtin styles_ (not css files) for code highlighting. You have to generate a CSS file using the command line. I just figured I'd save someone this work in the future and generate all the CSS files based on the Pygments builtins.
|
5
|
+
|
6
|
+
[SASS](http://sass-lang.com/) styles for Pygments
|
7
|
+
|
8
|
+
|
@@ -0,0 +1,154 @@
|
|
1
|
+
.highlight
|
2
|
+
.hll
|
3
|
+
background-color: #ffffcc
|
4
|
+
.c
|
5
|
+
color: #aaaaaa
|
6
|
+
font-style: italic
|
7
|
+
.err
|
8
|
+
color: #F00000
|
9
|
+
background-color: #F0A0A0
|
10
|
+
.k
|
11
|
+
color: #0000aa
|
12
|
+
.cm
|
13
|
+
color: #aaaaaa
|
14
|
+
font-style: italic
|
15
|
+
.cp
|
16
|
+
color: #4c8317
|
17
|
+
.c1
|
18
|
+
color: #aaaaaa
|
19
|
+
font-style: italic
|
20
|
+
.cs
|
21
|
+
color: #0000aa
|
22
|
+
font-style: italic
|
23
|
+
.gd
|
24
|
+
color: #aa0000
|
25
|
+
.ge
|
26
|
+
font-style: italic
|
27
|
+
.gr
|
28
|
+
color: #aa0000
|
29
|
+
.gh
|
30
|
+
color: #000080
|
31
|
+
font-weight: bold
|
32
|
+
.gi
|
33
|
+
color: #00aa00
|
34
|
+
.go
|
35
|
+
color: #888888
|
36
|
+
.gp
|
37
|
+
color: #555555
|
38
|
+
.gs
|
39
|
+
font-weight: bold
|
40
|
+
.gu
|
41
|
+
color: #800080
|
42
|
+
font-weight: bold
|
43
|
+
.gt
|
44
|
+
color: #aa0000
|
45
|
+
.kc, .kd, .kn, .kp, .kr
|
46
|
+
color: #0000aa
|
47
|
+
.kt
|
48
|
+
color: #00aaaa
|
49
|
+
.m
|
50
|
+
color: #009999
|
51
|
+
.s
|
52
|
+
color: #aa5500
|
53
|
+
.na
|
54
|
+
color: #1e90ff
|
55
|
+
.nb
|
56
|
+
color: #00aaaa
|
57
|
+
.nc
|
58
|
+
color: #00aa00
|
59
|
+
text-decoration: underline
|
60
|
+
.no
|
61
|
+
color: #aa0000
|
62
|
+
.nd
|
63
|
+
color: #888888
|
64
|
+
.ni
|
65
|
+
color: #800000
|
66
|
+
font-weight: bold
|
67
|
+
.nf
|
68
|
+
color: #00aa00
|
69
|
+
.nn
|
70
|
+
color: #00aaaa
|
71
|
+
text-decoration: underline
|
72
|
+
.nt
|
73
|
+
color: #1e90ff
|
74
|
+
font-weight: bold
|
75
|
+
.nv
|
76
|
+
color: #aa0000
|
77
|
+
.ow
|
78
|
+
color: #0000aa
|
79
|
+
.w
|
80
|
+
color: #bbbbbb
|
81
|
+
.mf, .mh, .mi, .mo
|
82
|
+
color: #009999
|
83
|
+
.sb, .sc, .sd, .s2, .se, .sh, .si, .sx
|
84
|
+
color: #aa5500
|
85
|
+
.sr
|
86
|
+
color: #009999
|
87
|
+
.s1
|
88
|
+
color: #aa5500
|
89
|
+
.ss
|
90
|
+
color: #0000aa
|
91
|
+
.bp
|
92
|
+
color: #00aaaa
|
93
|
+
.vc, .vg, .vi
|
94
|
+
color: #aa0000
|
95
|
+
.il
|
96
|
+
color: #009999
|
97
|
+
|
98
|
+
/* Comment
|
99
|
+
/* Error
|
100
|
+
/* Keyword
|
101
|
+
/* Comment.Multiline
|
102
|
+
/* Comment.Preproc
|
103
|
+
/* Comment.Single
|
104
|
+
/* Comment.Special
|
105
|
+
/* Generic.Deleted
|
106
|
+
/* Generic.Emph
|
107
|
+
/* Generic.Error
|
108
|
+
/* Generic.Heading
|
109
|
+
/* Generic.Inserted
|
110
|
+
/* Generic.Output
|
111
|
+
/* Generic.Prompt
|
112
|
+
/* Generic.Strong
|
113
|
+
/* Generic.Subheading
|
114
|
+
/* Generic.Traceback
|
115
|
+
/* Keyword.Constant
|
116
|
+
/* Keyword.Declaration
|
117
|
+
/* Keyword.Namespace
|
118
|
+
/* Keyword.Pseudo
|
119
|
+
/* Keyword.Reserved
|
120
|
+
/* Keyword.Type
|
121
|
+
/* Literal.Number
|
122
|
+
/* Literal.String
|
123
|
+
/* Name.Attribute
|
124
|
+
/* Name.Builtin
|
125
|
+
/* Name.Class
|
126
|
+
/* Name.Constant
|
127
|
+
/* Name.Decorator
|
128
|
+
/* Name.Entity
|
129
|
+
/* Name.Function
|
130
|
+
/* Name.Namespace
|
131
|
+
/* Name.Tag
|
132
|
+
/* Name.Variable
|
133
|
+
/* Operator.Word
|
134
|
+
/* Text.Whitespace
|
135
|
+
/* Literal.Number.Float
|
136
|
+
/* Literal.Number.Hex
|
137
|
+
/* Literal.Number.Integer
|
138
|
+
/* Literal.Number.Oct
|
139
|
+
/* Literal.String.Backtick
|
140
|
+
/* Literal.String.Char
|
141
|
+
/* Literal.String.Doc
|
142
|
+
/* Literal.String.Double
|
143
|
+
/* Literal.String.Escape
|
144
|
+
/* Literal.String.Heredoc
|
145
|
+
/* Literal.String.Interpol
|
146
|
+
/* Literal.String.Other
|
147
|
+
/* Literal.String.Regex
|
148
|
+
/* Literal.String.Single
|
149
|
+
/* Literal.String.Symbol
|
150
|
+
/* Name.Builtin.Pseudo
|
151
|
+
/* Name.Variable.Class
|
152
|
+
/* Name.Variable.Global
|
153
|
+
/* Name.Variable.Instance
|
154
|
+
/* Literal.Number.Integer.Long
|
@@ -0,0 +1,111 @@
|
|
1
|
+
.highlight
|
2
|
+
.hll
|
3
|
+
background-color: #ffffcc
|
4
|
+
.c
|
5
|
+
color: #008800
|
6
|
+
font-style: italic
|
7
|
+
.err
|
8
|
+
color: #a61717
|
9
|
+
background-color: #e3d2d2
|
10
|
+
.k
|
11
|
+
color: #000080
|
12
|
+
font-weight: bold
|
13
|
+
.cm
|
14
|
+
color: #008800
|
15
|
+
font-style: italic
|
16
|
+
.cp
|
17
|
+
color: #008080
|
18
|
+
.c1
|
19
|
+
color: #008800
|
20
|
+
font-style: italic
|
21
|
+
.cs
|
22
|
+
color: #008800
|
23
|
+
font-weight: bold
|
24
|
+
.gd
|
25
|
+
color: #000000
|
26
|
+
background-color: #ffdddd
|
27
|
+
.ge
|
28
|
+
font-style: italic
|
29
|
+
.gr
|
30
|
+
color: #aa0000
|
31
|
+
.gh
|
32
|
+
color: #999999
|
33
|
+
.gi
|
34
|
+
color: #000000
|
35
|
+
background-color: #ddffdd
|
36
|
+
.go
|
37
|
+
color: #888888
|
38
|
+
.gp
|
39
|
+
color: #555555
|
40
|
+
.gs
|
41
|
+
font-weight: bold
|
42
|
+
.gu
|
43
|
+
color: #aaaaaa
|
44
|
+
.gt
|
45
|
+
color: #aa0000
|
46
|
+
.kc, .kd, .kn, .kp, .kr, .kt
|
47
|
+
color: #000080
|
48
|
+
font-weight: bold
|
49
|
+
.m, .s
|
50
|
+
color: #0000FF
|
51
|
+
.na
|
52
|
+
color: #FF0000
|
53
|
+
.nt
|
54
|
+
color: #000080
|
55
|
+
font-weight: bold
|
56
|
+
.ow
|
57
|
+
font-weight: bold
|
58
|
+
.w
|
59
|
+
color: #bbbbbb
|
60
|
+
.mf, .mh, .mi, .mo, .sb
|
61
|
+
color: #0000FF
|
62
|
+
.sc
|
63
|
+
color: #800080
|
64
|
+
.sd, .s2, .se, .sh, .si, .sx, .sr, .s1, .ss, .il
|
65
|
+
color: #0000FF
|
66
|
+
|
67
|
+
/* Comment
|
68
|
+
/* Error
|
69
|
+
/* Keyword
|
70
|
+
/* Comment.Multiline
|
71
|
+
/* Comment.Preproc
|
72
|
+
/* Comment.Single
|
73
|
+
/* Comment.Special
|
74
|
+
/* Generic.Deleted
|
75
|
+
/* Generic.Emph
|
76
|
+
/* Generic.Error
|
77
|
+
/* Generic.Heading
|
78
|
+
/* Generic.Inserted
|
79
|
+
/* Generic.Output
|
80
|
+
/* Generic.Prompt
|
81
|
+
/* Generic.Strong
|
82
|
+
/* Generic.Subheading
|
83
|
+
/* Generic.Traceback
|
84
|
+
/* Keyword.Constant
|
85
|
+
/* Keyword.Declaration
|
86
|
+
/* Keyword.Namespace
|
87
|
+
/* Keyword.Pseudo
|
88
|
+
/* Keyword.Reserved
|
89
|
+
/* Keyword.Type
|
90
|
+
/* Literal.Number
|
91
|
+
/* Literal.String
|
92
|
+
/* Name.Attribute
|
93
|
+
/* Name.Tag
|
94
|
+
/* Operator.Word
|
95
|
+
/* Text.Whitespace
|
96
|
+
/* Literal.Number.Float
|
97
|
+
/* Literal.Number.Hex
|
98
|
+
/* Literal.Number.Integer
|
99
|
+
/* Literal.Number.Oct
|
100
|
+
/* Literal.String.Backtick
|
101
|
+
/* Literal.String.Char
|
102
|
+
/* Literal.String.Doc
|
103
|
+
/* Literal.String.Double
|
104
|
+
/* Literal.String.Escape
|
105
|
+
/* Literal.String.Heredoc
|
106
|
+
/* Literal.String.Interpol
|
107
|
+
/* Literal.String.Other
|
108
|
+
/* Literal.String.Regex
|
109
|
+
/* Literal.String.Single
|
110
|
+
/* Literal.String.Symbol
|
111
|
+
/* Literal.Number.Integer.Long
|
@@ -0,0 +1,63 @@
|
|
1
|
+
.highlight
|
2
|
+
.hll
|
3
|
+
background-color: #ffffcc
|
4
|
+
.c
|
5
|
+
font-style: italic
|
6
|
+
.err
|
7
|
+
border: 1px solid #FF0000
|
8
|
+
.k
|
9
|
+
font-weight: bold
|
10
|
+
.cm, .c1, .cs, .ge
|
11
|
+
font-style: italic
|
12
|
+
.gh, .gp, .gs, .gu, .kc, .kd, .kn, .kr
|
13
|
+
font-weight: bold
|
14
|
+
.s
|
15
|
+
font-style: italic
|
16
|
+
.nc, .ni, .ne, .nn, .nt, .ow
|
17
|
+
font-weight: bold
|
18
|
+
.sb, .sc, .sd, .s2
|
19
|
+
font-style: italic
|
20
|
+
.se
|
21
|
+
font-weight: bold
|
22
|
+
font-style: italic
|
23
|
+
.sh
|
24
|
+
font-style: italic
|
25
|
+
.si
|
26
|
+
font-weight: bold
|
27
|
+
font-style: italic
|
28
|
+
.sx, .sr, .s1, .ss
|
29
|
+
font-style: italic
|
30
|
+
|
31
|
+
/* Comment
|
32
|
+
/* Error
|
33
|
+
/* Keyword
|
34
|
+
/* Comment.Multiline
|
35
|
+
/* Comment.Single
|
36
|
+
/* Comment.Special
|
37
|
+
/* Generic.Emph
|
38
|
+
/* Generic.Heading
|
39
|
+
/* Generic.Prompt
|
40
|
+
/* Generic.Strong
|
41
|
+
/* Generic.Subheading
|
42
|
+
/* Keyword.Constant
|
43
|
+
/* Keyword.Declaration
|
44
|
+
/* Keyword.Namespace
|
45
|
+
/* Keyword.Reserved
|
46
|
+
/* Literal.String
|
47
|
+
/* Name.Class
|
48
|
+
/* Name.Entity
|
49
|
+
/* Name.Exception
|
50
|
+
/* Name.Namespace
|
51
|
+
/* Name.Tag
|
52
|
+
/* Operator.Word
|
53
|
+
/* Literal.String.Backtick
|
54
|
+
/* Literal.String.Char
|
55
|
+
/* Literal.String.Doc
|
56
|
+
/* Literal.String.Double
|
57
|
+
/* Literal.String.Escape
|
58
|
+
/* Literal.String.Heredoc
|
59
|
+
/* Literal.String.Interpol
|
60
|
+
/* Literal.String.Other
|
61
|
+
/* Literal.String.Regex
|
62
|
+
/* Literal.String.Single
|
63
|
+
/* Literal.String.Symbol
|
@@ -0,0 +1,210 @@
|
|
1
|
+
.highlight
|
2
|
+
.hll
|
3
|
+
background-color: #ffffcc
|
4
|
+
.c
|
5
|
+
color: #808080
|
6
|
+
.err
|
7
|
+
color: #F00000
|
8
|
+
background-color: #F0A0A0
|
9
|
+
.k
|
10
|
+
color: #008000
|
11
|
+
font-weight: bold
|
12
|
+
.o
|
13
|
+
color: #303030
|
14
|
+
.cm
|
15
|
+
color: #808080
|
16
|
+
.cp
|
17
|
+
color: #507090
|
18
|
+
.c1
|
19
|
+
color: #808080
|
20
|
+
.cs
|
21
|
+
color: #cc0000
|
22
|
+
font-weight: bold
|
23
|
+
.gd
|
24
|
+
color: #A00000
|
25
|
+
.ge
|
26
|
+
font-style: italic
|
27
|
+
.gr
|
28
|
+
color: #FF0000
|
29
|
+
.gh
|
30
|
+
color: #000080
|
31
|
+
font-weight: bold
|
32
|
+
.gi
|
33
|
+
color: #00A000
|
34
|
+
.go
|
35
|
+
color: #808080
|
36
|
+
.gp
|
37
|
+
color: #c65d09
|
38
|
+
font-weight: bold
|
39
|
+
.gs
|
40
|
+
font-weight: bold
|
41
|
+
.gu
|
42
|
+
color: #800080
|
43
|
+
font-weight: bold
|
44
|
+
.gt
|
45
|
+
color: #0040D0
|
46
|
+
.kc, .kd, .kn
|
47
|
+
color: #008000
|
48
|
+
font-weight: bold
|
49
|
+
.kp
|
50
|
+
color: #003080
|
51
|
+
font-weight: bold
|
52
|
+
.kr
|
53
|
+
color: #008000
|
54
|
+
font-weight: bold
|
55
|
+
.kt
|
56
|
+
color: #303090
|
57
|
+
font-weight: bold
|
58
|
+
.m
|
59
|
+
color: #6000E0
|
60
|
+
font-weight: bold
|
61
|
+
.s
|
62
|
+
background-color: #fff0f0
|
63
|
+
.na
|
64
|
+
color: #0000C0
|
65
|
+
.nb
|
66
|
+
color: #007020
|
67
|
+
.nc
|
68
|
+
color: #B00060
|
69
|
+
font-weight: bold
|
70
|
+
.no
|
71
|
+
color: #003060
|
72
|
+
font-weight: bold
|
73
|
+
.nd
|
74
|
+
color: #505050
|
75
|
+
font-weight: bold
|
76
|
+
.ni
|
77
|
+
color: #800000
|
78
|
+
font-weight: bold
|
79
|
+
.ne
|
80
|
+
color: #F00000
|
81
|
+
font-weight: bold
|
82
|
+
.nf
|
83
|
+
color: #0060B0
|
84
|
+
font-weight: bold
|
85
|
+
.nl
|
86
|
+
color: #907000
|
87
|
+
font-weight: bold
|
88
|
+
.nn
|
89
|
+
color: #0e84b5
|
90
|
+
font-weight: bold
|
91
|
+
.nt
|
92
|
+
color: #007000
|
93
|
+
.nv
|
94
|
+
color: #906030
|
95
|
+
.ow
|
96
|
+
color: #000000
|
97
|
+
font-weight: bold
|
98
|
+
.w
|
99
|
+
color: #bbbbbb
|
100
|
+
.mf
|
101
|
+
color: #6000E0
|
102
|
+
font-weight: bold
|
103
|
+
.mh
|
104
|
+
color: #005080
|
105
|
+
font-weight: bold
|
106
|
+
.mi
|
107
|
+
color: #0000D0
|
108
|
+
font-weight: bold
|
109
|
+
.mo
|
110
|
+
color: #4000E0
|
111
|
+
font-weight: bold
|
112
|
+
.sb
|
113
|
+
background-color: #fff0f0
|
114
|
+
.sc
|
115
|
+
color: #0040D0
|
116
|
+
.sd
|
117
|
+
color: #D04020
|
118
|
+
.s2
|
119
|
+
background-color: #fff0f0
|
120
|
+
.se
|
121
|
+
color: #606060
|
122
|
+
font-weight: bold
|
123
|
+
background-color: #fff0f0
|
124
|
+
.sh
|
125
|
+
background-color: #fff0f0
|
126
|
+
.si
|
127
|
+
background-color: #e0e0e0
|
128
|
+
.sx
|
129
|
+
color: #D02000
|
130
|
+
background-color: #fff0f0
|
131
|
+
.sr
|
132
|
+
color: #000000
|
133
|
+
background-color: #fff0ff
|
134
|
+
.s1
|
135
|
+
background-color: #fff0f0
|
136
|
+
.ss
|
137
|
+
color: #A06000
|
138
|
+
.bp
|
139
|
+
color: #007020
|
140
|
+
.vc
|
141
|
+
color: #306090
|
142
|
+
.vg
|
143
|
+
color: #d07000
|
144
|
+
font-weight: bold
|
145
|
+
.vi
|
146
|
+
color: #3030B0
|
147
|
+
.il
|
148
|
+
color: #0000D0
|
149
|
+
font-weight: bold
|
150
|
+
|
151
|
+
/* Comment
|
152
|
+
/* Error
|
153
|
+
/* Keyword
|
154
|
+
/* Operator
|
155
|
+
/* Comment.Multiline
|
156
|
+
/* Comment.Preproc
|
157
|
+
/* Comment.Single
|
158
|
+
/* Comment.Special
|
159
|
+
/* Generic.Deleted
|
160
|
+
/* Generic.Emph
|
161
|
+
/* Generic.Error
|
162
|
+
/* Generic.Heading
|
163
|
+
/* Generic.Inserted
|
164
|
+
/* Generic.Output
|
165
|
+
/* Generic.Prompt
|
166
|
+
/* Generic.Strong
|
167
|
+
/* Generic.Subheading
|
168
|
+
/* Generic.Traceback
|
169
|
+
/* Keyword.Constant
|
170
|
+
/* Keyword.Declaration
|
171
|
+
/* Keyword.Namespace
|
172
|
+
/* Keyword.Pseudo
|
173
|
+
/* Keyword.Reserved
|
174
|
+
/* Keyword.Type
|
175
|
+
/* Literal.Number
|
176
|
+
/* Literal.String
|
177
|
+
/* Name.Attribute
|
178
|
+
/* Name.Builtin
|
179
|
+
/* Name.Class
|
180
|
+
/* Name.Constant
|
181
|
+
/* Name.Decorator
|
182
|
+
/* Name.Entity
|
183
|
+
/* Name.Exception
|
184
|
+
/* Name.Function
|
185
|
+
/* Name.Label
|
186
|
+
/* Name.Namespace
|
187
|
+
/* Name.Tag
|
188
|
+
/* Name.Variable
|
189
|
+
/* Operator.Word
|
190
|
+
/* Text.Whitespace
|
191
|
+
/* Literal.Number.Float
|
192
|
+
/* Literal.Number.Hex
|
193
|
+
/* Literal.Number.Integer
|
194
|
+
/* Literal.Number.Oct
|
195
|
+
/* Literal.String.Backtick
|
196
|
+
/* Literal.String.Char
|
197
|
+
/* Literal.String.Doc
|
198
|
+
/* Literal.String.Double
|
199
|
+
/* Literal.String.Escape
|
200
|
+
/* Literal.String.Heredoc
|
201
|
+
/* Literal.String.Interpol
|
202
|
+
/* Literal.String.Other
|
203
|
+
/* Literal.String.Regex
|
204
|
+
/* Literal.String.Single
|
205
|
+
/* Literal.String.Symbol
|
206
|
+
/* Name.Builtin.Pseudo
|
207
|
+
/* Name.Variable.Class
|
208
|
+
/* Name.Variable.Global
|
209
|
+
/* Name.Variable.Instance
|
210
|
+
/* Literal.Number.Integer.Long
|