use prism-tomorrow.css

This commit is contained in:
CyC2018
2018-12-19 14:09:39 +08:00
parent 0f00bcacaf
commit e9e604e6a7
1747 changed files with 100462 additions and 0 deletions

View File

@ -0,0 +1,35 @@
@mixin foobar
@media (min-width: 600px)
@include foobar
=foobar
+foobar
----------------------------------------------------
[
["atrule-line", [
["atrule", "@mixin"],
" foobar"
]],
["atrule-line", [
["atrule", "@media"],
" (min-width: 600px)"
]],
["atrule-line", [
["atrule", "@include"],
" foobar"
]],
["atrule-line", [
["atrule", "="],
"foobar"
]],
["atrule-line", [
["atrule", "+"],
"foobar"
]]
]
----------------------------------------------------
Checks for at-rules.

View File

@ -0,0 +1,23 @@
//
// foobar
/*
/* foo
bar
/* foo
bar
baz
----------------------------------------------------
[
["comment", "//"],
["comment", "// foobar"],
["comment", "/*"],
["comment", "/* foo\r\n\tbar"],
["comment", "/* foo\r\n\t bar\r\n\t baz"]
]
----------------------------------------------------
Checks for comments.

View File

@ -0,0 +1,47 @@
foo: bar
color: $color !important
-moz-border-radius: 10px
transition-timing-function: ease-in-out
:color #{$color}
:font-size 0.5em + 3em
----------------------------------------------------
[
["property-line", [
["property", "foo"],
["punctuation", ":"],
" bar"
]],
["property-line", [
["property", "color"],
["punctuation", ":"],
["variable", "$color"],
["important", "!important"]
]],
["property-line", [
["property", "-moz-border-radius"],
["punctuation", ":"],
" 10px"
]],
["property-line", [
["property", "transition-timing-function"],
["punctuation", ":"],
" ease-in-out"
]],
["property-line", [
["punctuation", ":"],
["property", "color"],
["variable", "#{$color}"]
]],
["property-line", [
["punctuation", ":"],
["property", "font-size"],
" 0.5em ", ["operator", "+"], " 3em"
]]
]
----------------------------------------------------
Checks for properties.

View File

@ -0,0 +1,24 @@
div, span
.foo .bar + div
#foobar .baz:first-child
div,
.bar
#foo,
.bar,
.baz
----------------------------------------------------
[
["selector", "div, span"],
["selector", ".foo .bar + div"],
["selector", "#foobar .baz:first-child"],
["selector", "div,\r\n .bar"],
["selector", "#foo,\r\n\t\t.bar,\r\n\t\t.baz"]
]
----------------------------------------------------
Checks for selectors.

View File

@ -0,0 +1,29 @@
$width: 5em
$foo: $bar + $baz
$bar: #{$baz}
----------------------------------------------------
[
["variable-line", [
["variable", "$width"],
["punctuation", ":"],
" 5em"
]],
["variable-line", [
["variable", "$foo"],
["punctuation", ":"],
["variable", "$bar"],
["operator", "+"],
["variable", "$baz"]
]],
["variable-line", [
["variable", "$bar"],
["punctuation", ":"],
["variable", "#{$baz}"]
]]
]
----------------------------------------------------
Checks for variable declarations.