Topic: How to change base font color for light and dark theme?

Lawman priority asked 1 year ago


Mdbootstrap has opportunity to change base color font?

Example: Standard text body for light theme - black. For dark -white. What if i want use for light theme -dark blue and for light theme any light color different from white?

How to change globally palette?



Unfortunately it is not possible to define other variables than colors primary and secondary for our theming functions. But we are currently working on a update after which customization of various global parameters should be much easier.


eventodyssey priority commented 1 month ago

Hi Arkadiusz, Do you have any update on defining theme colors beyond just primary/secondary, or a suggestion on how we should override the MDB dark theme colors?


Arkadiusz Idzikowski staff commented 1 month ago

We have already finished working on the new theming system, but we still have a lot of work to do to prepare the new version, so I cannot give an approximate release date yet (changes in theming system will be probably released in the v7.0.0 with support for Angular 18).

I'm afraid the best way to modify the other colors in the current version would be to override specific CSS classes or CSS/SCSS variables.



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: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 5.0.0
  • Device: Desctope
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No