Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/rouge/lexers/css.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def self.builtins
s-resize sans-serif saturation scale-down screen scroll
se-resize semi-condensed semi-expanded separate serif show
sides silent size slow slower small-caps small-caption smaller
smooth soft soft-light solid space-aroun space-between
smooth soft soft-light solid space-around space-between
space-evenly span spell-out square start static status-bar sticky
stretch sub subtract super sw-resize swap symbolic table
table-caption table-cell table-column table-column-group
Expand Down Expand Up @@ -259,6 +259,7 @@ def self.vendor_prefixes
end

state :at_rule do
rule %r/(?:<=|>=|~=|\|=|\^=|\$=|\*=|<|>|=)/, Operator
rule %r/{(?=\s*#{identifier}\s*:)/m, Punctuation, :at_stanza
rule %r/{/, Punctuation, :at_body
rule %r/;/, Punctuation, :pop!
Expand Down