Scrollbar style

I’m trying to adapt my srollbar for the global project. I write this in the app.component.css but nothing is changed, so I’have write this in the global css, but again nothing.
How can I change the scrollbar’s style?

//scrollbar
::-webkit-scrollbar {
  width: 10px !important;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.745) !important;
  border-radius: 10px !important;
}

::-webkit-scrollbar-thumb:hover {
  background: white !important;
}

npm i ion-custom-scrollbar

https://www.npmjs.com/package/ion-custom-scrollbar
I hope it will help you