haml 2.2.24 → 3.0.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of haml might be problematic. Click here for more details.
- data/.yardopts +0 -1
- data/README.md +91 -151
- data/REMEMBER +11 -1
- data/Rakefile +73 -55
- data/VERSION +1 -1
- data/VERSION_NAME +1 -1
- data/bin/css2sass +7 -1
- data/bin/sass-convert +7 -0
- data/extra/haml-mode.el +2 -1
- data/lib/haml/buffer.rb +22 -4
- data/lib/haml/engine.rb +5 -1
- data/lib/haml/exec.rb +231 -46
- data/lib/haml/filters.rb +19 -8
- data/lib/haml/helpers.rb +47 -20
- data/lib/haml/helpers/action_view_extensions.rb +2 -4
- data/lib/haml/helpers/action_view_mods.rb +11 -8
- data/lib/haml/helpers/xss_mods.rb +13 -2
- data/lib/haml/html.rb +179 -48
- data/lib/haml/html/erb.rb +141 -0
- data/lib/haml/precompiler.rb +40 -15
- data/lib/haml/railtie.rb +1 -5
- data/lib/haml/root.rb +3 -0
- data/lib/haml/template.rb +4 -14
- data/lib/haml/util.rb +120 -30
- data/lib/haml/version.rb +25 -2
- data/lib/sass.rb +5 -1
- data/lib/sass/callbacks.rb +50 -0
- data/lib/sass/css.rb +40 -191
- data/lib/sass/engine.rb +170 -74
- data/lib/sass/environment.rb +8 -2
- data/lib/sass/error.rb +163 -25
- data/lib/sass/files.rb +31 -28
- data/lib/sass/plugin.rb +268 -87
- data/lib/sass/plugin/rails.rb +9 -4
- data/lib/sass/repl.rb +1 -1
- data/lib/sass/script.rb +31 -29
- data/lib/sass/script/bool.rb +1 -0
- data/lib/sass/script/color.rb +290 -23
- data/lib/sass/script/css_lexer.rb +22 -0
- data/lib/sass/script/css_parser.rb +28 -0
- data/lib/sass/script/funcall.rb +22 -3
- data/lib/sass/script/functions.rb +523 -33
- data/lib/sass/script/interpolation.rb +42 -0
- data/lib/sass/script/lexer.rb +169 -52
- data/lib/sass/script/literal.rb +58 -9
- data/lib/sass/script/node.rb +79 -1
- data/lib/sass/script/number.rb +20 -5
- data/lib/sass/script/operation.rb +49 -3
- data/lib/sass/script/parser.rb +162 -28
- data/lib/sass/script/string.rb +50 -2
- data/lib/sass/script/unary_operation.rb +25 -2
- data/lib/sass/script/variable.rb +21 -4
- data/lib/sass/scss.rb +14 -0
- data/lib/sass/scss/css_parser.rb +39 -0
- data/lib/sass/scss/parser.rb +683 -0
- data/lib/sass/scss/rx.rb +112 -0
- data/lib/sass/scss/script_lexer.rb +13 -0
- data/lib/sass/scss/script_parser.rb +25 -0
- data/lib/sass/tree/comment_node.rb +69 -27
- data/lib/sass/tree/debug_node.rb +7 -2
- data/lib/sass/tree/directive_node.rb +41 -35
- data/lib/sass/tree/for_node.rb +6 -0
- data/lib/sass/tree/if_node.rb +13 -1
- data/lib/sass/tree/import_node.rb +52 -27
- data/lib/sass/tree/mixin_def_node.rb +18 -0
- data/lib/sass/tree/mixin_node.rb +41 -6
- data/lib/sass/tree/node.rb +197 -70
- data/lib/sass/tree/prop_node.rb +152 -57
- data/lib/sass/tree/root_node.rb +118 -0
- data/lib/sass/tree/rule_node.rb +193 -96
- data/lib/sass/tree/variable_node.rb +9 -5
- data/lib/sass/tree/while_node.rb +4 -0
- data/test/benchmark.rb +5 -5
- data/test/haml/engine_test.rb +147 -10
- data/test/haml/{rhtml/_av_partial_1.rhtml → erb/_av_partial_1.erb} +1 -1
- data/test/haml/{rhtml/_av_partial_2.rhtml → erb/_av_partial_2.erb} +1 -1
- data/test/haml/{rhtml/action_view.rhtml → erb/action_view.erb} +1 -1
- data/test/haml/{rhtml/standard.rhtml → erb/standard.erb} +0 -0
- data/test/haml/helper_test.rb +91 -24
- data/test/haml/html2haml/erb_tests.rb +410 -0
- data/test/haml/html2haml_test.rb +210 -66
- data/test/haml/results/filters.xhtml +1 -1
- data/test/haml/results/just_stuff.xhtml +2 -0
- data/test/haml/spec_test.rb +44 -0
- data/test/haml/template_test.rb +22 -2
- data/test/haml/templates/helpers.haml +0 -13
- data/test/haml/templates/just_stuff.haml +2 -0
- data/test/haml/util_test.rb +48 -0
- data/test/sass/callbacks_test.rb +61 -0
- data/test/sass/conversion_test.rb +884 -0
- data/test/sass/css2sass_test.rb +99 -18
- data/test/sass/data/hsl-rgb.txt +319 -0
- data/test/sass/engine_test.rb +1049 -131
- data/test/sass/functions_test.rb +398 -47
- data/test/sass/more_results/more_import.css +1 -1
- data/test/sass/more_templates/more_import.sass +3 -3
- data/test/sass/plugin_test.rb +184 -10
- data/test/sass/results/compact.css +1 -1
- data/test/sass/results/complex.css +5 -5
- data/test/sass/results/compressed.css +1 -1
- data/test/sass/results/expanded.css +1 -1
- data/test/sass/results/import.css +3 -1
- data/test/sass/results/mixins.css +12 -12
- data/test/sass/results/nested.css +1 -1
- data/test/sass/results/options.css +1 -0
- data/test/sass/results/parent_ref.css +4 -4
- data/test/sass/results/script.css +3 -3
- data/test/sass/results/scss_import.css +15 -0
- data/test/sass/results/scss_importee.css +2 -0
- data/test/sass/script_conversion_test.rb +153 -0
- data/test/sass/script_test.rb +137 -70
- data/test/sass/scss/css_test.rb +811 -0
- data/test/sass/scss/rx_test.rb +156 -0
- data/test/sass/scss/scss_test.rb +871 -0
- data/test/sass/scss/test_helper.rb +37 -0
- data/test/sass/templates/alt.sass +2 -2
- data/test/sass/templates/bork1.sass +2 -0
- data/test/sass/templates/bork3.sass +2 -0
- data/test/sass/templates/bork4.sass +2 -0
- data/test/sass/templates/import.sass +4 -4
- data/test/sass/templates/importee.sass +3 -3
- data/test/sass/templates/line_numbers.sass +1 -1
- data/test/sass/templates/mixin_bork.sass +5 -0
- data/test/sass/templates/mixins.sass +2 -2
- data/test/sass/templates/nested_bork1.sass +2 -0
- data/test/sass/templates/nested_bork2.sass +2 -0
- data/test/sass/templates/nested_bork3.sass +2 -0
- data/test/sass/templates/nested_bork4.sass +2 -0
- data/test/sass/templates/nested_mixin_bork.sass +6 -0
- data/test/sass/templates/options.sass +2 -0
- data/test/sass/templates/parent_ref.sass +2 -2
- data/test/sass/templates/script.sass +69 -69
- data/test/sass/templates/scss_import.scss +10 -0
- data/test/sass/templates/scss_importee.scss +1 -0
- data/test/sass/templates/units.sass +10 -10
- data/test/test_helper.rb +20 -8
- data/vendor/fssm/LICENSE +20 -0
- data/vendor/fssm/README.markdown +55 -0
- data/vendor/fssm/Rakefile +59 -0
- data/vendor/fssm/VERSION.yml +5 -0
- data/vendor/fssm/example.rb +9 -0
- data/vendor/fssm/fssm.gemspec +77 -0
- data/vendor/fssm/lib/fssm.rb +33 -0
- data/vendor/fssm/lib/fssm/backends/fsevents.rb +36 -0
- data/vendor/fssm/lib/fssm/backends/inotify.rb +26 -0
- data/vendor/fssm/lib/fssm/backends/polling.rb +25 -0
- data/vendor/fssm/lib/fssm/backends/rubycocoa/fsevents.rb +131 -0
- data/vendor/fssm/lib/fssm/monitor.rb +26 -0
- data/vendor/fssm/lib/fssm/path.rb +91 -0
- data/vendor/fssm/lib/fssm/pathname.rb +502 -0
- data/vendor/fssm/lib/fssm/state/directory.rb +57 -0
- data/vendor/fssm/lib/fssm/state/file.rb +24 -0
- data/vendor/fssm/lib/fssm/support.rb +63 -0
- data/vendor/fssm/lib/fssm/tree.rb +176 -0
- data/vendor/fssm/profile/prof-cache.rb +40 -0
- data/vendor/fssm/profile/prof-fssm-pathname.html +1231 -0
- data/vendor/fssm/profile/prof-pathname.rb +68 -0
- data/vendor/fssm/profile/prof-plain-pathname.html +988 -0
- data/vendor/fssm/profile/prof.html +2379 -0
- data/vendor/fssm/spec/path_spec.rb +75 -0
- data/vendor/fssm/spec/root/duck/quack.txt +0 -0
- data/vendor/fssm/spec/root/file.css +0 -0
- data/vendor/fssm/spec/root/file.rb +0 -0
- data/vendor/fssm/spec/root/file.yml +0 -0
- data/vendor/fssm/spec/root/moo/cow.txt +0 -0
- data/vendor/fssm/spec/spec_helper.rb +14 -0
- metadata +94 -14
- data/test/sass/templates/bork.sass +0 -2
data/test/sass/css2sass_test.rb
CHANGED
@@ -24,13 +24,10 @@ SASS
|
|
24
24
|
assert_equal(<<SASS, css2sass(<<CSS))
|
25
25
|
li
|
26
26
|
display: none
|
27
|
-
|
28
27
|
a
|
29
28
|
text-decoration: none
|
30
|
-
|
31
29
|
span
|
32
30
|
color: yellow
|
33
|
-
|
34
31
|
&:hover
|
35
32
|
text-decoration: underline
|
36
33
|
SASS
|
@@ -57,11 +54,9 @@ CSS
|
|
57
54
|
div .warning
|
58
55
|
color: #d21a19
|
59
56
|
|
60
|
-
|
61
57
|
span .debug
|
62
58
|
cursor: crosshair
|
63
59
|
|
64
|
-
|
65
60
|
div .debug
|
66
61
|
cursor: default
|
67
62
|
SASS
|
@@ -104,27 +99,34 @@ span.turkey {
|
|
104
99
|
} /* just a line here */
|
105
100
|
CSS
|
106
101
|
sass = <<SASS
|
102
|
+
/* comment
|
103
|
+
|
107
104
|
elephant.rawr
|
108
105
|
rampages: excessively
|
109
106
|
|
107
|
+
/* actual multiline
|
108
|
+
comment
|
110
109
|
|
111
110
|
span.turkey
|
112
111
|
isdinner: true
|
113
112
|
|
114
|
-
|
115
113
|
.turducken
|
114
|
+
/* Sounds funny
|
115
|
+
doesn't it
|
116
116
|
chimera: not_really
|
117
117
|
|
118
|
-
|
119
118
|
#overhere
|
120
119
|
bored: sorta
|
120
|
+
/* it's for a good
|
121
|
+
cause
|
121
122
|
better_than: thread_pools
|
122
123
|
|
123
|
-
|
124
124
|
#one_more
|
125
125
|
finally: srsly
|
126
|
+
|
127
|
+
/* just a line here
|
126
128
|
SASS
|
127
|
-
assert_equal(css2sass(css)
|
129
|
+
assert_equal(sass, css2sass(css))
|
128
130
|
end
|
129
131
|
|
130
132
|
def test_fold_commas
|
@@ -145,12 +147,10 @@ CSS
|
|
145
147
|
.one
|
146
148
|
color: green
|
147
149
|
|
148
|
-
|
149
150
|
.two
|
150
151
|
color: green
|
151
152
|
color: red
|
152
153
|
|
153
|
-
|
154
154
|
.three
|
155
155
|
color: red
|
156
156
|
SASS
|
@@ -168,20 +168,15 @@ CSS
|
|
168
168
|
assert_equal(<<SASS, css2sass(<<CSS))
|
169
169
|
hello
|
170
170
|
parent: true
|
171
|
-
|
172
171
|
there
|
173
172
|
parent: false
|
174
|
-
|
175
173
|
who
|
176
174
|
hoo: false
|
177
|
-
|
178
175
|
why
|
179
176
|
y: true
|
180
|
-
|
181
177
|
when
|
182
178
|
wen: nao
|
183
179
|
|
184
|
-
|
185
180
|
down_here
|
186
181
|
yeah: true
|
187
182
|
SASS
|
@@ -214,7 +209,6 @@ CSS
|
|
214
209
|
#location-navigation-form .form-submit, #business-listing-form .form-submit, #detailTabs ul, #detailsEnhanced #addTags, #locationSearchList, #moreHoods
|
215
210
|
display: none
|
216
211
|
|
217
|
-
|
218
212
|
#navListLeft
|
219
213
|
display: none
|
220
214
|
SASS
|
@@ -235,7 +229,6 @@ CSS
|
|
235
229
|
assert_equal(<<SASS, css2sass(<<CSS))
|
236
230
|
\\:focus
|
237
231
|
a: b
|
238
|
-
|
239
232
|
\\:foo
|
240
233
|
bar: baz
|
241
234
|
SASS
|
@@ -244,6 +237,94 @@ SASS
|
|
244
237
|
CSS
|
245
238
|
end
|
246
239
|
|
240
|
+
# Error reporting
|
241
|
+
|
242
|
+
def test_error_reporting
|
243
|
+
css2sass("foo")
|
244
|
+
assert(false, "Expected exception")
|
245
|
+
rescue Sass::SyntaxError => err
|
246
|
+
assert_equal(1, err.sass_line)
|
247
|
+
assert_equal('Invalid CSS after "foo": expected "{", was ""', err.message)
|
248
|
+
end
|
249
|
+
|
250
|
+
def test_error_reporting_in_line
|
251
|
+
css2sass("foo\nbar }\nbaz")
|
252
|
+
assert(false, "Expected exception")
|
253
|
+
rescue Sass::SyntaxError => err
|
254
|
+
assert_equal(2, err.sass_line)
|
255
|
+
assert_equal('Invalid CSS after "bar ": expected "{", was "}"', err.message)
|
256
|
+
end
|
257
|
+
|
258
|
+
def test_error_truncate_after
|
259
|
+
css2sass("#{"a" * 16}foo")
|
260
|
+
assert(false, "Expected exception")
|
261
|
+
rescue Sass::SyntaxError => err
|
262
|
+
assert_equal(1, err.sass_line)
|
263
|
+
assert_equal('Invalid CSS after "...aaaaaaaaaaaafoo": expected "{", was ""', err.message)
|
264
|
+
end
|
265
|
+
|
266
|
+
def test_error_truncate_was
|
267
|
+
css2sass("foo }foo#{"a" * 15}")
|
268
|
+
assert(false, "Expected exception")
|
269
|
+
rescue Sass::SyntaxError => err
|
270
|
+
assert_equal(1, err.sass_line)
|
271
|
+
assert_equal('Invalid CSS after "foo ": expected "{", was "}fooaaaaaaaaaaa..."', err.message)
|
272
|
+
end
|
273
|
+
|
274
|
+
def test_error_doesnt_truncate_after_when_elipsis_would_add_length
|
275
|
+
css2sass("#{"a" * 15}foo")
|
276
|
+
assert(false, "Expected exception")
|
277
|
+
rescue Sass::SyntaxError => err
|
278
|
+
assert_equal(1, err.sass_line)
|
279
|
+
assert_equal('Invalid CSS after "aaaaaaaaaaaaaaafoo": expected "{", was ""', err.message)
|
280
|
+
end
|
281
|
+
|
282
|
+
def test_error_doesnt_truncate_was_when_elipsis_would_add_length
|
283
|
+
css2sass("foo }foo#{"a" * 14}")
|
284
|
+
assert(false, "Expected exception")
|
285
|
+
rescue Sass::SyntaxError => err
|
286
|
+
assert_equal(1, err.sass_line)
|
287
|
+
assert_equal('Invalid CSS after "foo ": expected "{", was "}fooaaaaaaaaaaaaaa"', err.message)
|
288
|
+
end
|
289
|
+
|
290
|
+
def test_error_gets_rid_of_trailing_newline_for_after
|
291
|
+
css2sass("foo \n ")
|
292
|
+
assert(false, "Expected exception")
|
293
|
+
rescue Sass::SyntaxError => err
|
294
|
+
assert_equal(2, err.sass_line)
|
295
|
+
assert_equal('Invalid CSS after "foo": expected "{", was ""', err.message)
|
296
|
+
end
|
297
|
+
|
298
|
+
def test_error_gets_rid_of_trailing_newline_for_was
|
299
|
+
css2sass("foo \n }foo")
|
300
|
+
assert(false, "Expected exception")
|
301
|
+
rescue Sass::SyntaxError => err
|
302
|
+
assert_equal(2, err.sass_line)
|
303
|
+
assert_equal('Invalid CSS after "foo": expected "{", was "}foo"', err.message)
|
304
|
+
end
|
305
|
+
|
306
|
+
# Encodings
|
307
|
+
|
308
|
+
unless Haml::Util.ruby1_8?
|
309
|
+
def test_encoding_error
|
310
|
+
css2sass("foo\nbar\nb\xFEaz".force_encoding("utf-8"))
|
311
|
+
assert(false, "Expected exception")
|
312
|
+
rescue Sass::SyntaxError => e
|
313
|
+
assert_equal(3, e.sass_line)
|
314
|
+
assert_equal('Invalid UTF-8 character "\xFE"', e.message)
|
315
|
+
end
|
316
|
+
|
317
|
+
def test_ascii_incompatible_encoding_error
|
318
|
+
template = "foo\nbar\nb_z".encode("utf-16le")
|
319
|
+
template[9] = "\xFE".force_encoding("utf-16le")
|
320
|
+
css2sass(template)
|
321
|
+
assert(false, "Expected exception")
|
322
|
+
rescue Sass::SyntaxError => e
|
323
|
+
assert_equal(3, e.sass_line)
|
324
|
+
assert_equal('Invalid UTF-16LE character "\xFE"', e.message)
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
247
328
|
private
|
248
329
|
|
249
330
|
def css2sass(string, opts={})
|
@@ -0,0 +1,319 @@
|
|
1
|
+
hsl(0, 100%, 50%)
|
2
|
+
hsl(60, 100%, 50%)
|
3
|
+
hsl(120, 100%, 50%)
|
4
|
+
hsl(180, 100%, 50%)
|
5
|
+
hsl(240, 100%, 50%)
|
6
|
+
hsl(300, 100%, 50%)
|
7
|
+
====
|
8
|
+
rgb(255, 0, 0)
|
9
|
+
rgb(255, 255, 0)
|
10
|
+
rgb(0, 255, 0)
|
11
|
+
rgb(0, 255, 255)
|
12
|
+
rgb(0, 0, 255)
|
13
|
+
rgb(255, 0, 255)
|
14
|
+
|
15
|
+
hsl(-360, 100%, 50%)
|
16
|
+
hsl(-300, 100%, 50%)
|
17
|
+
hsl(-240, 100%, 50%)
|
18
|
+
hsl(-180, 100%, 50%)
|
19
|
+
hsl(-120, 100%, 50%)
|
20
|
+
hsl(-60, 100%, 50%)
|
21
|
+
====
|
22
|
+
rgb(255, 0, 0)
|
23
|
+
rgb(255, 255, 0)
|
24
|
+
rgb(0, 255, 0)
|
25
|
+
rgb(0, 255, 255)
|
26
|
+
rgb(0, 0, 255)
|
27
|
+
rgb(255, 0, 255)
|
28
|
+
|
29
|
+
hsl(360, 100%, 50%)
|
30
|
+
hsl(420, 100%, 50%)
|
31
|
+
hsl(480, 100%, 50%)
|
32
|
+
hsl(540, 100%, 50%)
|
33
|
+
hsl(600, 100%, 50%)
|
34
|
+
hsl(660, 100%, 50%)
|
35
|
+
====
|
36
|
+
rgb(255, 0, 0)
|
37
|
+
rgb(255, 255, 0)
|
38
|
+
rgb(0, 255, 0)
|
39
|
+
rgb(0, 255, 255)
|
40
|
+
rgb(0, 0, 255)
|
41
|
+
rgb(255, 0, 255)
|
42
|
+
|
43
|
+
hsl(6120, 100%, 50%)
|
44
|
+
hsl(-9660, 100%, 50%)
|
45
|
+
hsl(99840, 100%, 50%)
|
46
|
+
hsl(-900, 100%, 50%)
|
47
|
+
hsl(-104880, 100%, 50%)
|
48
|
+
hsl(2820, 100%, 50%)
|
49
|
+
====
|
50
|
+
rgb(255, 0, 0)
|
51
|
+
rgb(255, 255, 0)
|
52
|
+
rgb(0, 255, 0)
|
53
|
+
rgb(0, 255, 255)
|
54
|
+
rgb(0, 0, 255)
|
55
|
+
rgb(255, 0, 255)
|
56
|
+
|
57
|
+
hsl(0, 100%, 50%)
|
58
|
+
hsl(12, 100%, 50%)
|
59
|
+
hsl(24, 100%, 50%)
|
60
|
+
hsl(36, 100%, 50%)
|
61
|
+
hsl(48, 100%, 50%)
|
62
|
+
hsl(60, 100%, 50%)
|
63
|
+
hsl(72, 100%, 50%)
|
64
|
+
hsl(84, 100%, 50%)
|
65
|
+
hsl(96, 100%, 50%)
|
66
|
+
hsl(108, 100%, 50%)
|
67
|
+
hsl(120, 100%, 50%)
|
68
|
+
====
|
69
|
+
rgb(255, 0, 0)
|
70
|
+
rgb(255, 51, 0)
|
71
|
+
rgb(255, 102, 0)
|
72
|
+
rgb(255, 153, 0)
|
73
|
+
rgb(255, 204, 0)
|
74
|
+
rgb(255, 255, 0)
|
75
|
+
rgb(204, 255, 0)
|
76
|
+
rgb(153, 255, 0)
|
77
|
+
rgb(102, 255, 0)
|
78
|
+
rgb(51, 255, 0)
|
79
|
+
rgb(0, 255, 0)
|
80
|
+
|
81
|
+
hsl(120, 100%, 50%)
|
82
|
+
hsl(132, 100%, 50%)
|
83
|
+
hsl(144, 100%, 50%)
|
84
|
+
hsl(156, 100%, 50%)
|
85
|
+
hsl(168, 100%, 50%)
|
86
|
+
hsl(180, 100%, 50%)
|
87
|
+
hsl(192, 100%, 50%)
|
88
|
+
hsl(204, 100%, 50%)
|
89
|
+
hsl(216, 100%, 50%)
|
90
|
+
hsl(228, 100%, 50%)
|
91
|
+
hsl(240, 100%, 50%)
|
92
|
+
====
|
93
|
+
rgb(0, 255, 0)
|
94
|
+
rgb(0, 255, 51)
|
95
|
+
rgb(0, 255, 102)
|
96
|
+
rgb(0, 255, 153)
|
97
|
+
rgb(0, 255, 204)
|
98
|
+
rgb(0, 255, 255)
|
99
|
+
rgb(0, 204, 255)
|
100
|
+
rgb(0, 153, 255)
|
101
|
+
rgb(0, 102, 255)
|
102
|
+
rgb(0, 51, 255)
|
103
|
+
rgb(0, 0, 255)
|
104
|
+
|
105
|
+
hsl(240, 100%, 50%)
|
106
|
+
hsl(252, 100%, 50%)
|
107
|
+
hsl(264, 100%, 50%)
|
108
|
+
hsl(276, 100%, 50%)
|
109
|
+
hsl(288, 100%, 50%)
|
110
|
+
hsl(300, 100%, 50%)
|
111
|
+
hsl(312, 100%, 50%)
|
112
|
+
hsl(324, 100%, 50%)
|
113
|
+
hsl(336, 100%, 50%)
|
114
|
+
hsl(348, 100%, 50%)
|
115
|
+
hsl(360, 100%, 50%)
|
116
|
+
====
|
117
|
+
rgb(0, 0, 255)
|
118
|
+
rgb(51, 0, 255)
|
119
|
+
rgb(102, 0, 255)
|
120
|
+
rgb(153, 0, 255)
|
121
|
+
rgb(204, 0, 255)
|
122
|
+
rgb(255, 0, 255)
|
123
|
+
rgb(255, 0, 204)
|
124
|
+
rgb(255, 0, 153)
|
125
|
+
rgb(255, 0, 102)
|
126
|
+
rgb(255, 0, 51)
|
127
|
+
rgb(255, 0, 0)
|
128
|
+
|
129
|
+
hsl(0, 20%, 50%)
|
130
|
+
hsl(0, 60%, 50%)
|
131
|
+
hsl(0, 100%, 50%)
|
132
|
+
====
|
133
|
+
rgb(153, 102, 102)
|
134
|
+
rgb(204, 51, 51)
|
135
|
+
rgb(255, 0, 0)
|
136
|
+
|
137
|
+
hsl(60, 20%, 50%)
|
138
|
+
hsl(60, 60%, 50%)
|
139
|
+
hsl(60, 100%, 50%)
|
140
|
+
====
|
141
|
+
rgb(153, 153, 102)
|
142
|
+
rgb(204, 204, 51)
|
143
|
+
rgb(255, 255, 0)
|
144
|
+
|
145
|
+
hsl(120, 20%, 50%)
|
146
|
+
hsl(120, 60%, 50%)
|
147
|
+
hsl(120, 100%, 50%)
|
148
|
+
====
|
149
|
+
rgb(102, 153, 102)
|
150
|
+
rgb(51, 204, 51)
|
151
|
+
rgb(0, 255, 0)
|
152
|
+
|
153
|
+
hsl(180, 20%, 50%)
|
154
|
+
hsl(180, 60%, 50%)
|
155
|
+
hsl(180, 100%, 50%)
|
156
|
+
====
|
157
|
+
rgb(102, 153, 153)
|
158
|
+
rgb(51, 204, 204)
|
159
|
+
rgb(0, 255, 255)
|
160
|
+
|
161
|
+
hsl(240, 20%, 50%)
|
162
|
+
hsl(240, 60%, 50%)
|
163
|
+
hsl(240, 100%, 50%)
|
164
|
+
====
|
165
|
+
rgb(102, 102, 153)
|
166
|
+
rgb(51, 51, 204)
|
167
|
+
rgb(0, 0, 255)
|
168
|
+
|
169
|
+
hsl(300, 20%, 50%)
|
170
|
+
hsl(300, 60%, 50%)
|
171
|
+
hsl(300, 100%, 50%)
|
172
|
+
====
|
173
|
+
rgb(153, 102, 153)
|
174
|
+
rgb(204, 51, 204)
|
175
|
+
rgb(255, 0, 255)
|
176
|
+
|
177
|
+
hsl(0, 100%, 0%)
|
178
|
+
hsl(0, 100%, 10%)
|
179
|
+
hsl(0, 100%, 20%)
|
180
|
+
hsl(0, 100%, 30%)
|
181
|
+
hsl(0, 100%, 40%)
|
182
|
+
hsl(0, 100%, 50%)
|
183
|
+
hsl(0, 100%, 60%)
|
184
|
+
hsl(0, 100%, 70%)
|
185
|
+
hsl(0, 100%, 80%)
|
186
|
+
hsl(0, 100%, 90%)
|
187
|
+
hsl(0, 100%, 100%)
|
188
|
+
====
|
189
|
+
rgb(0, 0, 0)
|
190
|
+
rgb(51, 0, 0)
|
191
|
+
rgb(102, 0, 0)
|
192
|
+
rgb(153, 0, 0)
|
193
|
+
rgb(204, 0, 0)
|
194
|
+
rgb(255, 0, 0)
|
195
|
+
rgb(255, 51, 51)
|
196
|
+
rgb(255, 102, 102)
|
197
|
+
rgb(255, 153, 153)
|
198
|
+
rgb(255, 204, 204)
|
199
|
+
rgb(255, 255, 255)
|
200
|
+
|
201
|
+
hsl(60, 100%, 0%)
|
202
|
+
hsl(60, 100%, 10%)
|
203
|
+
hsl(60, 100%, 20%)
|
204
|
+
hsl(60, 100%, 30%)
|
205
|
+
hsl(60, 100%, 40%)
|
206
|
+
hsl(60, 100%, 50%)
|
207
|
+
hsl(60, 100%, 60%)
|
208
|
+
hsl(60, 100%, 70%)
|
209
|
+
hsl(60, 100%, 80%)
|
210
|
+
hsl(60, 100%, 90%)
|
211
|
+
hsl(60, 100%, 100%)
|
212
|
+
====
|
213
|
+
rgb(0, 0, 0)
|
214
|
+
rgb(51, 51, 0)
|
215
|
+
rgb(102, 102, 0)
|
216
|
+
rgb(153, 153, 0)
|
217
|
+
rgb(204, 204, 0)
|
218
|
+
rgb(255, 255, 0)
|
219
|
+
rgb(255, 255, 51)
|
220
|
+
rgb(255, 255, 102)
|
221
|
+
rgb(255, 255, 153)
|
222
|
+
rgb(255, 255, 204)
|
223
|
+
rgb(255, 255, 255)
|
224
|
+
|
225
|
+
hsl(120, 100%, 0%)
|
226
|
+
hsl(120, 100%, 10%)
|
227
|
+
hsl(120, 100%, 20%)
|
228
|
+
hsl(120, 100%, 30%)
|
229
|
+
hsl(120, 100%, 40%)
|
230
|
+
hsl(120, 100%, 50%)
|
231
|
+
hsl(120, 100%, 60%)
|
232
|
+
hsl(120, 100%, 70%)
|
233
|
+
hsl(120, 100%, 80%)
|
234
|
+
hsl(120, 100%, 90%)
|
235
|
+
hsl(120, 100%, 100%)
|
236
|
+
====
|
237
|
+
rgb(0, 0, 0)
|
238
|
+
rgb(0, 51, 0)
|
239
|
+
rgb(0, 102, 0)
|
240
|
+
rgb(0, 153, 0)
|
241
|
+
rgb(0, 204, 0)
|
242
|
+
rgb(0, 255, 0)
|
243
|
+
rgb(51, 255, 51)
|
244
|
+
rgb(102, 255, 102)
|
245
|
+
rgb(153, 255, 153)
|
246
|
+
rgb(204, 255, 204)
|
247
|
+
rgb(255, 255, 255)
|
248
|
+
|
249
|
+
hsl(180, 100%, 0%)
|
250
|
+
hsl(180, 100%, 10%)
|
251
|
+
hsl(180, 100%, 20%)
|
252
|
+
hsl(180, 100%, 30%)
|
253
|
+
hsl(180, 100%, 40%)
|
254
|
+
hsl(180, 100%, 50%)
|
255
|
+
hsl(180, 100%, 60%)
|
256
|
+
hsl(180, 100%, 70%)
|
257
|
+
hsl(180, 100%, 80%)
|
258
|
+
hsl(180, 100%, 90%)
|
259
|
+
hsl(180, 100%, 100%)
|
260
|
+
====
|
261
|
+
rgb(0, 0, 0)
|
262
|
+
rgb(0, 51, 51)
|
263
|
+
rgb(0, 102, 102)
|
264
|
+
rgb(0, 153, 153)
|
265
|
+
rgb(0, 204, 204)
|
266
|
+
rgb(0, 255, 255)
|
267
|
+
rgb(51, 255, 255)
|
268
|
+
rgb(102, 255, 255)
|
269
|
+
rgb(153, 255, 255)
|
270
|
+
rgb(204, 255, 255)
|
271
|
+
rgb(255, 255, 255)
|
272
|
+
|
273
|
+
hsl(240, 100%, 0%)
|
274
|
+
hsl(240, 100%, 10%)
|
275
|
+
hsl(240, 100%, 20%)
|
276
|
+
hsl(240, 100%, 30%)
|
277
|
+
hsl(240, 100%, 40%)
|
278
|
+
hsl(240, 100%, 50%)
|
279
|
+
hsl(240, 100%, 60%)
|
280
|
+
hsl(240, 100%, 70%)
|
281
|
+
hsl(240, 100%, 80%)
|
282
|
+
hsl(240, 100%, 90%)
|
283
|
+
hsl(240, 100%, 100%)
|
284
|
+
====
|
285
|
+
rgb(0, 0, 0)
|
286
|
+
rgb(0, 0, 51)
|
287
|
+
rgb(0, 0, 102)
|
288
|
+
rgb(0, 0, 153)
|
289
|
+
rgb(0, 0, 204)
|
290
|
+
rgb(0, 0, 255)
|
291
|
+
rgb(51, 51, 255)
|
292
|
+
rgb(102, 102, 255)
|
293
|
+
rgb(153, 153, 255)
|
294
|
+
rgb(204, 204, 255)
|
295
|
+
rgb(255, 255, 255)
|
296
|
+
|
297
|
+
hsl(300, 100%, 0%)
|
298
|
+
hsl(300, 100%, 10%)
|
299
|
+
hsl(300, 100%, 20%)
|
300
|
+
hsl(300, 100%, 30%)
|
301
|
+
hsl(300, 100%, 40%)
|
302
|
+
hsl(300, 100%, 50%)
|
303
|
+
hsl(300, 100%, 60%)
|
304
|
+
hsl(300, 100%, 70%)
|
305
|
+
hsl(300, 100%, 80%)
|
306
|
+
hsl(300, 100%, 90%)
|
307
|
+
hsl(300, 100%, 100%)
|
308
|
+
====
|
309
|
+
rgb(0, 0, 0)
|
310
|
+
rgb(51, 0, 51)
|
311
|
+
rgb(102, 0, 102)
|
312
|
+
rgb(153, 0, 153)
|
313
|
+
rgb(204, 0, 204)
|
314
|
+
rgb(255, 0, 255)
|
315
|
+
rgb(255, 51, 255)
|
316
|
+
rgb(255, 102, 255)
|
317
|
+
rgb(255, 153, 255)
|
318
|
+
rgb(255, 204, 255)
|
319
|
+
rgb(255, 255, 255)
|