use prism-tomorrow.css
This commit is contained in:
@ -0,0 +1,20 @@
|
||||
@media (min-width: 600px) {}
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["atrule", [
|
||||
["rule", "@media"],
|
||||
["punctuation", "("],
|
||||
["property", ["min-width"]],
|
||||
["punctuation", ":"],
|
||||
" 600px",
|
||||
["punctuation", ")"]
|
||||
]],
|
||||
["punctuation", "{"],
|
||||
["punctuation", "}"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for at-rules.
|
@ -0,0 +1,13 @@
|
||||
true
|
||||
false
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["boolean", "true"],
|
||||
["boolean", "false"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for booleans.
|
@ -0,0 +1,19 @@
|
||||
//
|
||||
// foobar
|
||||
/**/
|
||||
/* foo
|
||||
bar */
|
||||
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["comment", "//"],
|
||||
["comment", "// foobar"],
|
||||
["comment", "/**/"],
|
||||
["comment", "/* foo\r\nbar */"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for comments.
|
@ -0,0 +1,28 @@
|
||||
@if @else if @else
|
||||
@for @each @while
|
||||
@import @extend
|
||||
@debug @warn @mixin
|
||||
@include @function
|
||||
@return @content
|
||||
|
||||
@for $i from 1 through 3
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "@if"], ["keyword", "@else if"], ["keyword", "@else"],
|
||||
["keyword", "@for"], ["keyword", "@each"], ["keyword", "@while"],
|
||||
["keyword", "@import"], ["keyword", "@extend"],
|
||||
["keyword", "@debug"], ["keyword", "@warn"], ["keyword", "@mixin"],
|
||||
["keyword", "@include"], ["keyword", "@function"],
|
||||
["keyword", "@return"], ["keyword", "@content"],
|
||||
|
||||
["keyword", "@for"],
|
||||
["variable", "$i"],
|
||||
["keyword", "from"],
|
||||
" 1 ",
|
||||
["keyword", "through"],
|
||||
" 3"
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
@ -0,0 +1,11 @@
|
||||
null
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["null", "null"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for null.
|
@ -0,0 +1,38 @@
|
||||
4 - 2;
|
||||
4 + 2;
|
||||
4 * 2;
|
||||
4 / 2;
|
||||
4 % 2;
|
||||
4 == 2;
|
||||
4 != 2;
|
||||
4 < 2;
|
||||
4 <= 2;
|
||||
4 > 2;
|
||||
4 >= 2;
|
||||
true and false
|
||||
false or true
|
||||
not true
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
"4 ", ["operator", "-"], " 2", ["punctuation", ";"],
|
||||
"\r\n4 ", ["operator", "+"], " 2", ["punctuation", ";"],
|
||||
"\r\n4 ", ["operator", "*"], " 2", ["punctuation", ";"],
|
||||
"\r\n4 ", ["operator", "/"], " 2", ["punctuation", ";"],
|
||||
"\r\n4 ", ["operator", "%"], " 2", ["punctuation", ";"],
|
||||
"\r\n4 ", ["operator", "=="], " 2", ["punctuation", ";"],
|
||||
"\r\n4 ", ["operator", "!="], " 2", ["punctuation", ";"],
|
||||
"\r\n4 ", ["operator", "<"], " 2", ["punctuation", ";"],
|
||||
"\r\n4 ", ["operator", "<="], " 2", ["punctuation", ";"],
|
||||
"\r\n4 ", ["operator", ">"], " 2", ["punctuation", ";"],
|
||||
"\r\n4 ", ["operator", ">="], " 2", ["punctuation", ";"],
|
||||
|
||||
["boolean", "true"], ["operator", "and"], ["boolean", "false"],
|
||||
["boolean", "false"], ["operator", "or"], ["boolean", "true"],
|
||||
["operator", "not"], ["boolean", "true"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for operators.
|
@ -0,0 +1,15 @@
|
||||
%foobar
|
||||
%foo-bar
|
||||
%foo_bar
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["placeholder", "%foobar"],
|
||||
["placeholder", "%foo-bar"],
|
||||
["placeholder", "%foo_bar"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for placeholders.
|
@ -0,0 +1,23 @@
|
||||
$bg: background;
|
||||
$color: color;
|
||||
div {
|
||||
$bg: none;
|
||||
background-#{$color}: blue;
|
||||
#{$bg}-repeat: no-repeat;
|
||||
}
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["property", [["variable", "$bg"]]], ["punctuation", ":"], " background", ["punctuation", ";"],
|
||||
["property", [["variable", "$color"]]], ["punctuation", ":"], " color", ["punctuation", ";"],
|
||||
["selector", ["div "]], ["punctuation", "{"],
|
||||
["property", [["variable", "$bg"]]], ["punctuation", ":"], " none", ["punctuation", ";"],
|
||||
["property", ["background-", ["variable", "#{$color}"]]], ["punctuation", ":"], " blue", ["punctuation", ";"],
|
||||
["property", [["variable", "#{$bg}"], "-repeat"]], ["punctuation", ":"], " no-repeat", ["punctuation", ";"],
|
||||
["punctuation", "}"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for properties.
|
@ -0,0 +1,23 @@
|
||||
a {}
|
||||
p, div {}
|
||||
#foobar .foo {}
|
||||
&:hover {}
|
||||
&-sidebar {}
|
||||
#context a%extreme {}
|
||||
#{$selector}:before {}
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["selector", ["a "]], ["punctuation", "{"], ["punctuation", "}"],
|
||||
["selector", ["p, div "]], ["punctuation", "{"], ["punctuation", "}"],
|
||||
["selector", ["#foobar .foo "]], ["punctuation", "{"], ["punctuation", "}"],
|
||||
["selector", [["parent", "&"], ":hover "]], ["punctuation", "{"], ["punctuation", "}"],
|
||||
["selector", [["parent", "&"], "-sidebar "]], ["punctuation", "{"], ["punctuation", "}"],
|
||||
["selector", ["#context a", ["placeholder", "%extreme"]]], ["punctuation", "{"], ["punctuation", "}"],
|
||||
["selector", [["variable", "#{$selector}"], ":before "]], ["punctuation", "{"], ["punctuation", "}"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for selectors.
|
@ -0,0 +1,21 @@
|
||||
$foo: "bar" !default;
|
||||
@extend .baz !optional;
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["property", [["variable", "$foo"]]],
|
||||
["punctuation", ":"],
|
||||
["string", "\"bar\""],
|
||||
["statement", "!default"],
|
||||
["punctuation", ";"],
|
||||
|
||||
["keyword", "@extend"],
|
||||
" .baz ",
|
||||
["statement", "!optional"],
|
||||
["punctuation", ";"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for statements.
|
@ -0,0 +1,19 @@
|
||||
url('foo.png')
|
||||
font-url('foo.ttf')
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["url", "url"],
|
||||
["punctuation", "("],
|
||||
["string", "'foo.png'"],
|
||||
["punctuation", ")"],
|
||||
["url", "font-url"],
|
||||
["punctuation", "("],
|
||||
["string", "'foo.ttf'"],
|
||||
["punctuation", ")"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for URLs.
|
@ -0,0 +1,21 @@
|
||||
$foo
|
||||
$foo-bar
|
||||
$foo_bar
|
||||
#{$foo}
|
||||
#{$foo-bar}
|
||||
#{$foo_bar}
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["variable", "$foo"],
|
||||
["variable", "$foo-bar"],
|
||||
["variable", "$foo_bar"],
|
||||
["variable", "#{$foo}"],
|
||||
["variable", "#{$foo-bar}"],
|
||||
["variable", "#{$foo_bar}"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for variables.
|
Reference in New Issue
Block a user