For Angular 6 check the Official documentation

Note: For @angular/cli versions older than 6.0.0-beta.6 use ng set in place of ng config.

For existing projects

In an existing angular-cli project that was set up with the default css styles you will need to do a few things:

  1. Change the default style extension to scss

Manually change in .angular-cli.json (Angular 5.x and older) or angular.json (Angular 6+) or run:

ng config defaults.styleExt=scss

if you get an error: Value cannot be found. use the command:

ng config schematics.@schematics/angular:component.styleext scss

(*source: Angular CLI SASS options)

  1. Rename your existing .css files to .scss (i.e. styles.css and app/app.component.css)

  2. Point the CLI to find styles.scss

Manually change the file extensions in apps[0].styles in angular.json

  1. Point the components to find your new style files

Change the styleUrls in your components to match your new file names

For future projects

As @Serginho mentioned you can set the style extension when running the ng new command

ng new your-project-name --style=scss

If you want to set the default for all projects you create in the future run the following command:

ng config --global defaults.styleExt=scss
Answer from Chic on Stack Overflow
🌐
Angular.love
angular.love › migrate-from-css-to-scss-stylesheets-for-an-existing-angular-project
Migrate from CSS to SCSS in existing Angular project
Now that we have achieved that, ... for any file with the .component.css reference using the shortcut Ctrl + Shift + f and replace all with Ctrl + Shift + h....
🌐
Plain English
plainenglish.io › blog › step-by-step-guide-to-upgrade-your-angular-app-from-css-to-scss
Step by Step Guide to Upgrade Angular App From CSS to SCSS
In this post, we will guide you through upgrading your Angular app from the default CSS styling format to SCSS in a step-by-step manner.
People also ask

How do I use a CSS to SCSS converter?
You can upload a CSS file or paste your CSS code into most converters. After processing the code, the converter produces equivalent SCSS code that can be copied and used in your project.
🌐
testmu.ai
testmu.ai › home › free tools › css to scss converter online
CSS to SCSS Online Converter | TestMu AI
Why would I want to use a CSS to SCSS converter?
A CSS to SCSS converter can help you organize and maintain your code more effectively, saving time and effort. The sophisticated features of SCSS can also lessen repetition and increase code reuse and modularity.
🌐
testmu.ai
testmu.ai › home › free tools › css to scss converter online
CSS to SCSS Online Converter | TestMu AI
What is a CSS to SCSS converter, and how does it work?
A CSS to SCSS converter is a tool that automates the process of transforming CSS code into SCSS format. The converter reads the CSS code and translates it into the equivalent SCSS syntax, taking into account any variables, mixins, or other SCSS-specific features.
🌐
testmu.ai
testmu.ai › home › free tools › css to scss converter online
CSS to SCSS Online Converter | TestMu AI
🌐
npm
npmjs.com › package › schematics-scss-migrate
schematics-scss-migrate - npm
In your Angular CLI project, run ng g schematics-scss-migrate:scss-migrate. This will do the following in the consuming project: Rename all the stylesheets in the src folder recursively · Alter the styleUrls in respective component classes ...
      » npm install schematics-scss-migrate
    
Published   Mar 25, 2023
Version   2.3.17
Author   Thabo Ambrose
🌐
Testmu
testmu.ai › home › free tools › css to scss converter online
CSS to SCSS Online Converter | TestMu AI
In your terminal, type "sass input.scss output.css". ... In Angular, you may convert CSS to SCSS by renaming your CSS files with the.scss extension and modifying the style URLs of your components to point to the new SCSS files.
🌐
Rabingaire
rabingaire.com.np › css-to-scss-on-existing-angular-project
CSS to SCSS on existing angular 6 project | Rabin’s Quill
August 29, 2018 - Other than that if you already had the .css file you could manually convert .css to .scss and point to a right file at component.ts by editing styleUrls key at @Component Decorator and also angular has global style file inside src folder as styles.css don’t forget to convert that into styles.scss ...
Find elsewhere
🌐
Medium
medium.com › motf-creations › migrate-from-css-to-scss-stylesheets-for-existing-angular-application-d61f8061f5b7
Migrate from CSS to SCSS stylesheets for an existing Angular application | by Thabo | Motf Creations | Medium
October 8, 2021 - Now that we have achieved that, ... for any file with the .component.css reference using the shortcut Ctrl + Shift + f and replace all with Ctrl + Shift + h....
🌐
YouTube
youtube.com › watch
How To Use Both CSS And SCSS In Angular? - Next LVL Programming - YouTube
How To Use Both CSS And SCSS In Angular? Are you looking to enhance your Angular project with advanced styling techniques? In this video, we’ll guide you thr...
Published   March 17, 2025
🌐
JavaScript in Plain English
javascript.plainenglish.io › migrate-an-angular-app-from-css-to-scss-71200d615c95
Migrate an Existing Angular Application from CSS to SCSS | by Gourav Kajal | JavaScript in Plain English
March 17, 2021 - Migrate an Existing Angular Application from CSS to SCSS A quick guide to using SCSS in an Angular application that was scaffolded to use the default stylesheet format While creating a new Angular …
🌐
Medium
paperinflames.medium.com › css-to-scss-migration-in-an-existing-project-98a8ad5c273a
CSS to SCSS migration in 1 min for existing project - PaperInFlames - Medium
August 26, 2025 - I will help you migrate an existing complex/simple project’s stylesheets from CSS to SCSS with minimal manual effort. ... Open Command Prompt in your project location(the folder where you’ve package.json file). Run the below command. ... That’s it! All the below things will be handled automatically. Addition of SCSS styles schematics to Angular.json file
🌐
Medium
zrolson.medium.com › migrate-from-css-to-scss-6882998cd3f0
Migrate from CSS to SCSS. AngularJS to Angular and more … my… | by Zach Olson | Medium
February 9, 2022 - Sass helps keep large stylesheets well-organized and makes it easy to share design within and across projects. The easiest way to migrate our project is to use a package called schematics-scss-migrate
🌐
Medium
frontendinterviewquestions.medium.com › how-to-change-css-to-scss-in-angular-ea9e51e58aa8
How to change CSS to SCSS in Angular ? | by Pravin M | Medium
October 13, 2024 - The --style=scss flag configures the project to use SCSS instead of the default CSS. If you already have an existing Angular project using CSS, you can still convert it to SCSS by following the subsequent steps.
🌐
Cookbook
tangoslee.github.io › cookbook › 2018 › 09 › 30 › change-default-style-from-css-to-scss-in-angular
Change Default Style From CSS to SCSS in Angular | Cookbook
September 30, 2018 - New project1ng new project --style=scss Existing project1ng config schematics.@schematics/angular:component.styleext scss Edit .css to .scss in angular.json 12"styles": [ "src/styles.scss", Referen
🌐
DEV Community
dev.to › stefaniefluin › how-to-structure-scss-in-an-angular-app-3376
How to Structure SCSS in an Angular App - DEV Community
April 14, 2023 - Update your angular.json file to point to the new location of your styles.scss file. Now, it's time to build out our folder scaffold. I like to follow something similar to the 7-1 Pattern but modify some of the names. Below is an example of how I lay out the style folders: My base folder contains global styles which has some general layout items, a few general default overrides (think normalize.css-type styles), and my base font size so I can use rems consistently.
🌐
GitHub
github.com › angular › angular-cli › issues › 22458
Angular generates css instead of scss in library · Issue #22458 · angular/angular-cli
January 10, 2022 - animations, common, compiler, ... rxjs 7.4.0 typescript 4.5.4 · Current workaround using --style=scss in the generate command will create a scss file in the component....
Author   PascalMainzer
🌐
Davidemanske
davidemanske.com › add-scss-support-to-angular-project
Add SCSS support to Angular Project
Provide executive leadership to the Global Program Management Office and Service Management Office, reshaping project and portfolio management processes using both waterfall and agile methodologies to succeed in the digital era.