Page 1 of 1

how to reference a color in css based on ionic standard color names

Posted: Mon Apr 17, 2017 2:03 am
by Frank7390035

I'd like to use the color "royal" in various elements in the app using CSS. How do I reference this color without using the HTML code (which I don't know)?

Thnaks


how to reference a color in css based on ionic standard color names

Posted: Tue Apr 18, 2017 5:53 pm
by Serhii Kulibaba

Hello Frank,

Please use a CSS class "royal" for labels, checkboxex, radio components, "button-royal" for buttons and "toggle-royal" for toggles