Remove Ruby sass dependency from 'postman.css'
This commit is contained in:
parent
f83f83a08c
commit
64763ade01
3 changed files with 2 additions and 4 deletions
4
Rules
4
Rules
|
@ -35,9 +35,7 @@ Nanoc::Tidy
|
|||
|
||||
##
|
||||
# See packages/typescript/postman
|
||||
compile "/css/vendor/postman.scss" do
|
||||
filter :sass, syntax: :scss, style: :compact
|
||||
filter :rainpress
|
||||
compile "/css/vendor/postman.css" do
|
||||
write("/css/vendor/postman.css")
|
||||
end
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ module Utils::Inline
|
|||
def inline_css(path)
|
||||
class_name = File.basename(path, File.extname(path))
|
||||
%|<style class="css #{class_name}">| \
|
||||
"#{items[path.sub(".css", ".scss")].compiled_content}" \
|
||||
"#{items[path].compiled_content}" \
|
||||
"</style>"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue