Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49338

How to add a new color to in Ionic 4+?

$
0
0

@Sweg wrote:

I am able to specify the color of an <ion-item> below:

<ion-item color="primary-contrast">

But instead of using one of the default colors, I want to use a particular hexcode.

How do I add this new color to the <ion-item>?

Do I have to add it to my variable.scss file, & if so, how? Thanks a lot!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49338

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>