Skip to main content

Tedshd's Dev note

Sass compile two spaces

Table of Contents

# Sass compile two spaces

Use Sass compile to css css lndent is 2 spaces if want 4 spaces Must modify this sass source code

sass-3.2.10/lib/sass/tree/visitors/to_css.rb
# before
tab_str = '  ' * (@tabs + node.tabs)
# after
tab_str = '    ' * (@tabs + node.tabs)

Refer - Change indentation in Sass