Custom skin not affecting pills


Topic: Custom skin not affecting pills

David Griffiths asked a week ago

Expected behavior Adding a custom skin as detailed in https://mdbootstrap.com/docs/angular/css/skins/ should apply the skin to pills.

Actual behavior Setting pills to 'pills-primary' does not provide the pill in the primary color of my skin, but instead is the standard primary colour of rgb(66, 133, 244). However if I define in the node_modules/ng-uikit-pro-standard/assets/scss/pro/_variables.scss file then it works.

Resources (screenshots, code snippets etc.) We are using the Pro version


If you use custom skin, please add this import at the end of the import list from our 'add custom skin' section. We will update the documentation.

@import "~ng-uikit-pro-standard/assets/scss/angular/pro/skins";

David Griffiths commented 7 days ago

Thanks very much for the quick response. That works.


Please insert min. 20 characters.
Status

Resolved

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: Angular
  • MDB Version: 7.5.1
  • Device: Macbook Pro
  • Browser: Chrome
  • OS: MacOS
  • Provided sample code: No
  • Provided link: Yes
Tags