_variables.scss compilation error on v10.0.1

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
info@smart-jack.com
Posts: 6
Joined: 23 Sep 2019, 10:25

09 Dec 2020, 17:12

The file src/assets/sass/theme/_variables.scss is not compiling. I tried compiling my theme with

Code: Select all

./node_modules/.bin/node-sass src/assets/theme/theme-blue.scss src/assets/theme/theme-blue.css
but got this error:

Code: Select all

{
  "status": 1,
  "file": "src/assets/sass/theme/_variables.scss",
  "line": 1,
  "column": 16,
  "message": "overloaded function `rgba` given wrong number of arguments",
  "formatted": "Error: overloaded function `rgba` given wrong number of arguments\n        on line 1 of src/assets/sass/theme/_variables.scss\n        from line 1 of src/assets/sass/theme/_theme.scss\n        from line 6 of src/assets/theme/theme-blue.scss\n>> $emphasis-high:rgba(0,0,0.87);\n\n   ---------------^\n"
}
I had to correct the first line from

Code: Select all

$emphasis-high:rgba(0,0,0.87);
to

Code: Select all

$emphasis-high:rgba(0,0,0,0.87);
Last edited by info@smart-jack.com on 02 Jan 2021, 13:46, edited 1 time in total.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

10 Dec 2020, 19:47

Thanks a lot for your report! Fixed now.

Best Regards,

Post Reply

Return to “Sapphire - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests