Closed (won't fix)
Project:
Basic
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2013 at 16:13 UTC
Updated:
26 Dec 2015 at 14:39 UTC
Jump to comment: Most recent
Comments
Comment #1
SteveK commentedPossibly... You can also use "sass-convert" to convert the existing SASS files to SCSS.
See" sass-convert --help" for further information and options.
Comment #2
caponey commentedjust 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.
Comment #3
stone_d commentedhmm - i just thought there is an option to use "scss" by click.
Thanks guys!
Comment #4
aaki commentedThe way would be:
Comment #5
CatherineOmega commentedIf 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.
Comment #6
SteveK commentedpostponing 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.
Comment #7
responsiveconsulting commentedHi, 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.
Comment #8
rv0 commentedJust 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
Comment #9
lil.destro commentedGoing to close this since there doesn't seem to be many requests for the feature.
Comment #10
daniel wentsch commentedAs 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?
Comment #11
doxigo commentedThumbs up for SCSS
Comment #12
cosmin-hm commentedI'm not sure how many requests are enough, but SCSS looke better for me too.
Comment #13
SteveK commentedRevisiting 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.
Comment #14
doxigo commentedwell 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.
Comment #15
mrchristophy commentedI also would like this please!
Comment #16
dm66 commentedTo 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