Background color is missing for p-toggleButton

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
tbegsr
Posts: 19
Joined: 25 Jul 2016, 18:07
Location: Suisse

30 Apr 2022, 08:08

I missing the background color for the p-toggleButton
https://www.primefaces.org/ultima-ng/#/uikit/input
If I include a color directly in a sass file it works fine but by default the color is missing

:host ::ng-deep .p-togglebutton.p-button {
background: #882f2f;
}
:host ::ng-deep .p-togglebutton.p-button.p-highlight {
background: #0909df;
}

any idea?

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

04 May 2022, 14:26

Hi,

This is by design. You can override its variables in overrides/_theme_variables.scss file.

Best Regards,

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests