Change All Text Color in Ionic App


#1

Hello,

I want do change all text color on my Ionic app.
Is there any way so that I can change the text-color by setting the value of variables in “_variables.scss” file?

Thanks in advance.


#2

The easiest ways to change text color is
add a class with your color to your ionic.app.scss ex:

.firstcolor{
	color: #E34A33; }

then in your html file

<div class="item firstcolor"></div>

second way in your html
<div class="item" style="color: #E34A33;"></div>


#3

Hi,

Thanks for your reply.
I am doing same. Write class in style.css or using inline style.


#4

But I think this approach is much easier

h1, h2, h3, h4, h5, h6 { color: #1a1c1e; }