Articles in this section
Category / Section

How to customize Schedule's default theme using SCSS file?

1 min read

This article explains how to customize the schedule’s default theme using an SCSS file. 

Step 1: Generate and download the theme file from Theme Studio.

https://ej2.syncfusion.com/themestudio/?theme=material

Step 2: Create an Angular project with the Scheduler control. Kindly check the link below to create a project with the Scheduler.

https://ej2.syncfusion.com/angular/documentation/schedule/getting-started/?no-cache=1

Step 3: Move the downloaded file to this project.
Step 4: Rename the styles.css file into styles.scss
Step 5: Replace the below line in the styles.scss file. And in this file, we can customize the schedule’s theme variables as shown below,
$schedule-appointment-bg-color: green;
@import './assets/material.scss';

 

Step 5: Run the application, and the schedule will be rendered with the appointment's color as green.

  Sample: Override style using SCSS file

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied