Module: Sass::SCSS::RX

Defined in:
lib/sass_tumblr.rb

Constant Summary collapse

TUMBLR_TAG =

Pattern to match Tumblr tag.

/({(?:[A-Z][a-zA-Z0-9\-]*|(color|font|select|text|image):[A-Z][a-zA-Z0-9\-_ ]*)})/
TUMBLR_CUSTOM_CSS_TAG =

Handle special ‘CustomCSS’ tag as a comment, which can appear independently in CSS.

/{CustomCSS}/i
COMMENT =
/#{COMMENT.source}|#{TUMBLR_CUSTOM_CSS_TAG}/