Topic: Theme - customize $colors

alesg free asked 4 years ago


Is there a way to provide custom colors outside the node_modules? Every time when you update the MDB package, you have to manually update the colors. If there is a way to do that, please provide an example. I also work a lot with ionic fw, and there changing the theme is as easy as updating the $colors map in your src/theme/variables.scss (application layer).

Thank's.

Aleš


Damian Gemza staff commented 4 years ago

Dear @alesg

Could you please describe, what do you want to achieve exactly? Do you want to overwrite one of our defined colors, or you need to add the new color to $colors?

Best Regards,

Damian


alesg free commented 4 years ago

I'd like to change (overwrite) the colors in node_modules\ng-uikit-pro-standard\assets\scss\core to apply company colors.

See below..


alesg free answered 4 years ago


I'd like to change (overwrite) the colors in node_modules\ng-uikit-pro-standard\assets\scss\core to apply company colors.

enter image description here


Damian Gemza staff answered 4 years ago


Dear @alesg

For now, the only way to achieve this is to create custom skin in which you'll modify those colors.

Please take a look at our Skins Documentation.

Best Regards,

Damian



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

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.0.0
  • Device: desktop
  • Browser: crome
  • OS: windows
  • Provided sample code: No
  • Provided link: No