How can set default theme color
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
Hi,
There are some ways to set default color;
Firstly you can change stylesheet in index.html (line 12) ;
Secondly you can add theme stylesheet in angular.json(line 24) like;
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
Code: Select all
"styles": [
"node_modules/primeng/resources/primeng.min.css",
//other style files
"src/assets/theme/cyan/theme-accent.css",
"src/styles.scss"
],
-
- Information
-
Who is online
Users browsing this forum: No registered users and 9 guests