Introducing Theme Studio for Essential JS 2 | Syncfusion Blogs
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (173).NET Core  (29).NET MAUI  (203)Angular  (107)ASP.NET  (51)ASP.NET Core  (82)ASP.NET MVC  (89)Azure  (40)Black Friday Deal  (1)Blazor  (211)BoldSign  (13)DocIO  (24)Essential JS 2  (106)Essential Studio  (200)File Formats  (65)Flutter  (132)JavaScript  (219)Microsoft  (118)PDF  (81)Python  (1)React  (98)Streamlit  (1)Succinctly series  (131)Syncfusion  (897)TypeScript  (33)Uno Platform  (3)UWP  (4)Vue  (45)Webinar  (50)Windows Forms  (61)WinUI  (68)WPF  (157)Xamarin  (161)XlsIO  (35)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (8)Business intelligence  (55)Button  (4)C#  (146)Chart  (127)Cloud  (15)Company  (443)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (63)Development  (618)Doc  (8)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (39)Extensions  (22)File Manager  (6)Gantt  (18)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (501)Mobile MVC  (9)OLAP server  (1)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (42)Performance  (12)PHP  (2)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (12)Road Map  (12)Scheduler  (52)Security  (3)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (31)Solution Services  (4)Spreadsheet  (11)SQL  (10)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (381)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (17)Web  (582)What's new  (323)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)

Introducing Theme Studio for Essential JS 2

Syncfusion is excited to announce that the theme studio for Essential JS 2 components is available now!

Previously, you may have experienced some difficulty changing a specific theme-based color after integrating Essential JS 2 components in an application. Now, you no longer need additional custom CSS style integrations to customize the theme color. We have built a new tool that can customize the Essential JS 2 component styles and generate them as a CSS file for your application. You can just download the styles and use them directly in your application to apply custom themes.

ThemeStudio preview

Figure 1: ThemeStudio preview

Features and functionalities

Let’s take a deeper look into the theme studio functionalities and what they can really do with Essential JS 2 components. We’ll look at the following topics:

  • Customizing theme colors from the theme studio.
  • Filtering a specific list of components to style.
  • Download a customized theme.
  • Import previously changed settings into the theme studio.

Customizing theme color from theme studio

The Essential JS 2 style themes are developed under the SCSS environment. Each theme has a unique common variable list. When you change the common variable color code value, it will reflect in all the Essential JS 2 components. All the Essential JS 2 component styles are derived from these theme-based common variables.

This common variable list is handled inside the theme studio application for customizing theme-based colors. We have greatly simplified theming in Essential JS 2 by allowing only essential colors to be changed; for example, only accent and primary variables are integrated in the theme studio.

Let’s see the process of customizing a theme in the theme studio.

  • Navigate to the theme studio application at https://ej2.syncfusion.com/themestudio/
  • The theme studio application page can be divided into two sections: the components preview section on the left, and the theme customization section on the right.
Components preview section and theme customization section
Figure 2: Components preview section and theme customization section
  • Click the color pickers in the theme customization section to select your desired colors.
Color picker for changing the custom color
Figure 3: Color picker for changing the custom color
  • After selecting colors with the color pickers, the Essential JS 2 components will have the newly selected colors applied to them in the components preview section.
       Customized theme output
Figure 4: Customized theme output

Filtering a specific list of components

Using the theme studio, you can apply custom themes to a list of specific components. This option is useful when you have integrated a selective list of Essential JS 2 components in your application. The theme studio will filter the selected components and customize the final output for those components’ styles alone, reducing the final output file size. Let’s look at the filtering process in the theme studio.

  • Click the Filter icon in the top right corner and select the components whose theme you want to customize.
Filter option in the header
Figure 5: Filter option in the header
  • Click the Apply button in the Filter dialog. Now, only the selected components will be rendered in the components preview section.
Filter dialog for selecting specific components
Figure 6: Filter dialog for selecting specific components
  • Now you can customize the colors in the theme customization section for the components you selected.
Customized theme output for selected components
Figure 7: Customized theme output for selected components

Download the customized theme

You can download the custom styles after customizing the theme colors. Let’s look at the process of downloading styles in the theme studio.

  • Click the Download button in the top right corner. The Download dialog will open.
Download button in the header
Figure 8: Download button in the header
  • Assign a theme name in the File Name field and click the Download button. If your application uses both Essential JS 1 and Essential JS 2 components, then select the Include compatibility CSS check box before downloading the theme. This option will generate the custom theme for Essential JS 2 compatibility styles, which are compatible as Essential JS 1 styles.
Download dialog for exporting customized theme
Figure 9: Download dialog for exporting customized theme
  • The downloaded styles will come as a zip file that contains SCSS and CSS files for the selected Essential JS 2 components. The current settings are stored in the settings.json file.
Final output of customized theme files
Figure 10: Final output of customized theme files

Import previously changed settings into the theme studio

When you want to change your application theme and UI design in the future, you won’t need to customize the Essential JS 2 components from scratch in the theme studio. Just import the old settings.json file to review and update your stored settings in the theme studio application.

Let’s check out the process of importing themes in the theme studio.

  • Click the Import icon in the top right corner.
Import option in the header
Figure 11: Import option in the header
  • The Import Theme dialog will open. Click the Browse button and select a settings.json file you exported previously.
Import dialog for importing settings.json file
Figure 12: Import dialog for importing settings.json file
  • Click the Import button.
After importing settings.json file
Figure 13: After importing settings.json file
  • The stored data will be reflected in the theme studio application. Now you can change the theme colors based on your latest design and export the theme again.
The previous customized settings restored
Figure 14: The previous customized settings restored
 
  • The exported file will contain your latest changes. You can just replace the older custom style with the newer one to refresh your application.

Summary

In this blog, we have learned how to customize the Essential JS 2 theme styles in the theme studio application and how to use its main functionalities. Feel free to use the theme studio application any time, and refer to the theming and themestudio documentation for more details about Essential JS 2 theming and its customization.

      If you have any questions or require clarifications, please let us know in the comments section below. You can also contact us through our support forum or Direct-Trac. We are happy to assist you!

If you like this blog post, we think you’ll also like the following free e-books:

Tags:

Share this post:

Comments (2)

Where do you put the generated file in an Angular project? And how do you apply it?

Hi Gez,

Thanks for your interest in Syncfusion products.

You can copy/paste the generated CSS file in your Angular project and add its relative path reference to the “styles” option in angular.json file to apply it. Please refer the below Angular CLI getting started documentation for further details.

https://ej2.syncfusion.com/angular/documentation/getting-started/angular-cli.html#adding-css-reference

Regards,
Ajith R

Comments are closed.

Popular Now

Be the first to get updates

Subscribe RSS feed

Be the first to get updates

Subscribe RSS feed