Change all buttons color to 'red'

Post Reply
vahana
Posts: 4
Joined: 25 Mar 2017, 14:04

19 Jun 2017, 14:28

Hello,

Is there a way to change all buttons color to e.g. 'red' in one place in Omega .scss file ?
Or I should add class="red-button" to all my buttons in html templates ?

Thanks in advance,
Vahan Aghavelyan

User avatar
DarthMaul
Posts: 583
Joined: 23 Nov 2015, 21:20

21 Jun 2017, 08:48

Hi,

Omega template has a red-button class actually you can use it like this;

<button pButton type="button" label="Red Button" style="margin-bottom:10px" class="red-button"></button>

Regards

Post Reply

Return to “Omega - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest