Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] $color: theme-color("primary") is not a color. #58

Open
alexandergallardo opened this issue Aug 24, 2024 · 1 comment
Open

[ERROR] $color: theme-color("primary") is not a color. #58

alexandergallardo opened this issue Aug 24, 2024 · 1 comment

Comments

@alexandergallardo
Copy link

Hi,

I have this error when run ng serve

✘ [ERROR] $color: theme-color("primary") is not a color.

166 │ $link-hover-color: darken($link-color, 15%) !default;
│ ^^^^^^^^^^^^^^^^^^^^^^^^

src\scss_bootstrap-variables.scss 166:29 @import
src\scss\adminlte.scss 11:9 @import
src\styles.scss 10:9 root stylesheet [plugin angular-sass]

angular:styles/global:styles:1:8:
  1 │ @import 'src/styles.scss';
    ╵         ~~~~~~~~~~~~~~~~~
@geordym
Copy link

geordym commented Sep 19, 2024

Hello bro, you can try to unistall the @ng-bootstrap/ng-bootstrap to fix that, and then use npm update or delete node_module and use npm install, i was having the same problem and is because install the @ng-bootstrap/ng-bootstrap 5.0 and this override the functions required in the scss, i unistall that and fixed, i was using the NgbModal and starting my problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants