You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to replace the svg icon for the p-checkbox globally and I am using a customized lara light theme from the Sass Themes repository. The designers have tweaked the theme and it includes a slightly modified checkbox icon.
I tried using a chckicon pTemplate within the checkbox ngtemplate and this didn't work. I tried using ::ng:deep and :host::ng:deep in the global styles.scss and this didn't work either.
I don't see any additional documentation for this type of customization. Is something like this possible without having to customize the base component source?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to replace the svg icon for the p-checkbox globally and I am using a customized lara light theme from the Sass Themes repository. The designers have tweaked the theme and it includes a slightly modified checkbox icon.
I tried using a chckicon pTemplate within the checkbox ngtemplate and this didn't work. I tried using ::ng:deep and :host::ng:deep in the global styles.scss and this didn't work either.
I don't see any additional documentation for this type of customization. Is something like this possible without having to customize the base component source?
Beta Was this translation helpful? Give feedback.
All reactions