Theme no found sass

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
fensefernando
Posts: 10
Joined: 24 Jun 2015, 22:46
Contact:

08 Jul 2022, 00:53

Hi!

I run this command, for generete own theme. But not found.

sass --update src/assets/theme/mytheme/theme.scss:src/assets/theme/mytheme/theme.css

Show error

error src/assets/layout/styles/theme/designer/components/input/_autocomplete.scss (Line 15: Invalid CSS after "... padding: math": expected ";", was ".div(nth($input...")

Mi code theme.scss is

$primaryColor: #6ebc3b !default;
$primaryLightColor: scale-color($primaryColor, $lightness: 60%) !default;
$primaryDarkColor: scale-color($primaryColor, $lightness: -10%) !default;
$primaryDarkerColor: scale-color($primaryColor, $lightness: -20%) !default;
$primaryTextColor: #ffffff !default;
$primary500:#6ebc3b !default;

$highlightBg: #EFF6FF !default;
$highlightTextColor: $primaryDarkerColor !default;

@import '../_variables';
@import '../../designer/_components';
@import '../_extensions';


Any suggest?

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

08 Jul 2022, 13:40

Hi,

Please use dart sass instead of ruby sass. Ruby sass is deprecated.
https://sass-lang.com/install

Best Regards,

fensefernando
Posts: 10
Joined: 24 Jun 2015, 22:46
Contact:

08 Jul 2022, 19:57

You need update apollong documentation.

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

13 Jul 2022, 23:15

Thanks a lot! We'll update it asap.

Best Regads,

Post Reply

Return to “Apollo - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests