Any plans to use SCSS instead of SASS?
I would appreciate that, since SCSS is more like CSS.

Thanks and regards,
Fab

Comments

SteveK’s picture

Possibly... You can also use "sass-convert" to convert the existing SASS files to SCSS.

See" sass-convert --help" for further information and options.

caponey’s picture

just run "sass-convert filename.sass filename.scss" and it will convert. Not sure if there is a way to convert them all at once, but it would save some time if you could.

stone_d’s picture

hmm - i just thought there is an option to use "scss" by click.
Thanks guys!

aaki’s picture

The way would be:

$> cd sites/all/themes/basic/sass
$> for file in *.sass; do fbname=`basename "$file" .sass`; newname="$fbname.scss"; sass-convert -F sass -T scss $file $newname; done
CatherineOmega’s picture

If it helps, there IS a _custom.scss file that can compile alongside all the other .sass files. That's what I've been using.

I have a few mixins that I typically use, but those are easy enough to either copy from one project to another as .sass syntax, or to import as a separate _mixins.scss file.

SteveK’s picture

Status: Active » Postponed

postponing as there haven't been many requests for this. If this is a feature requested more often, let's consider having both syntaxes used in parallel.

responsiveconsulting’s picture

Hi, just entered Drupal world with Drupal 7 & 8...why not use SCSS instead of SASS. For me being a beginner it's a bit cleaner and I get a better view with mixins etc.

rv0’s picture

Just posting here to say I'm also using scss instead of sass.
For every new project I use the commands in #4

Makes sense to me, the bourbon and neat files in the same folder are also scss

Also needs changing the @import in
_config.scss
_custom.scss
_mixins.scss
layout.scss

and maybe more places i'm missing atm

lil.destro’s picture

Issue summary: View changes
Status: Postponed » Closed (won't fix)

Going to close this since there doesn't seem to be many requests for the feature.

daniel wentsch’s picture

As I decided to use Neat & Bourbon for future projects I came across Basic. I also prefer scss syntax, though. Would you mind forking Basic and create another Bourbon&Neat starter theme from it?

doxigo’s picture

Thumbs up for SCSS

cosmin-hm’s picture

I'm not sure how many requests are enough, but SCSS looke better for me too.

SteveK’s picture

Revisiting this question, which files are you hoping to modify that are SASS but would prefer to be SCSS?

SCSS can be interchangeably used alongside SASS files (this is why there is a _custom.scss file) so there isn't any limitation to you using this syntax on your own.

doxigo’s picture

well every single sass file should have a SCSS equivalent, also I'd really appreciate it if we can have rtl files shipped with the theme, like style-rtl.scss, thank you Steve.

mrchristophy’s picture

I also would like this please!

dm66’s picture

To convert all sass files to scss run in base theme directory
sass-convert -R --from sass --to scss sass scss && cp -R sass/components scss