custom styles

Hutton pro asked 2 years ago

Have just updated from version 7 to 9.

There was previously a custom styles scss (node_modules\ng-uikit-pro-standard\assets\scss_custom-styles.scss) file in the package which could be used to override styling as part of the SASS processing however this no longer appears to be there.

Am i missing something? This was a very useful file as it allowed reuse of SASS variables which the src/styles.scss file does not.

Thanks


Konrad Stępień staff answered 2 years ago

Hi @Hutton,

Changes to files in the folder node_modules are very bad practice. A better way is to override our styles in your global styles.scss file. But if you want more customization, please look at the skins.

More information about it you can find here: https://mdbootstrap.com/docs/angular/css/skins/

Best, Konrad.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 9.2.0
  • Device: pc
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No