1.

How will you add a custom color to the existing list of colors in Ionic?

Answer»

Every IONIC project comes with a SET of pre-installed colours. This is how those colours are programmed:

  • Navigate to the project/src/theme/variables.scss folder in your Ionic project.
  • There will be a variable named $colours here that will hold the names of the VARIOUS colours as well as their hexadecimal COLOUR codes.
  • Color codes for DEFAULT colours can be changed, and new colour names and hexadecimal codes can be added.


Discussion

No Comment Found