How can set default theme color

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
DBDev1
Posts: 3
Joined: 22 May 2019, 08:38

23 May 2019, 15:34

How can set default theme color

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

24 May 2019, 10:06

Hi,
There are some ways to set default color;
Firstly you can change stylesheet in index.html (line 12) ;

Code: Select all

  <link id="theme-css" rel="stylesheet" type="text/css" href="assets/theme/blue/theme-accent.css"> // you can set other */theme-*.css
Secondly you can add theme stylesheet in angular.json(line 24) like;

Code: Select all

"styles": [
    "node_modules/primeng/resources/primeng.min.css",
    //other style files
    "src/assets/theme/cyan/theme-accent.css",
     "src/styles.scss"
],

Post Reply

Return to “Babylon - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests