ThemeDesigner - How to edit a specific theme in code mode?

Post Reply
bluesclues9
Posts: 5
Joined: 10 Jan 2021, 01:28

19 Mar 2021, 18:35

Hi,

I have purchased Theme Designer and I am trying to familiarize myself with it.
If I want to edit a specific theme (say, soho-light) in code edit mode "ng serve --configuration code", how can I do that? I saw the ThemeDesigner videos and the tutorials refer to "mytheme" but I would like to edit soho-light theme in code. Can I do that?
Does the Theme Designer load only mytheme by default?


-Sri

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

22 Mar 2021, 09:32

Hi,
No, the designer doesn't load the only mytheme, you can change the default theme in the angular.json file.
angular.json and line 59

Code: Select all

"src/sass/themes/mytheme/theme.scss" //(default code)		->		"src/sass/themes/soho/soho-light/theme.scss"//(you can use this code)
Also, We recommend that you make changes by creating a new file or copying soho variables to avoid being affected by updates.

bluesclues9
Posts: 5
Joined: 10 Jan 2021, 01:28

23 Mar 2021, 20:51

Great, I got it. thank you for the response.

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

26 Mar 2021, 12:44

Glad to hear :)

Post Reply

Return to “PrimeNG Theme Designer API”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest