diff --git a/src/core/components/mod-icon/mod-icon.ts b/src/core/components/mod-icon/mod-icon.ts index b616f5070..3428e0026 100644 --- a/src/core/components/mod-icon/mod-icon.ts +++ b/src/core/components/mod-icon/mod-icon.ts @@ -354,6 +354,11 @@ export class CoreModIconComponent implements OnInit, OnChanges { scripts[i].parentNode?.removeChild(scripts[i]); } + // Has own styles, do not apply colors. + if (doc.documentElement.getElementsByTagName('style').length > 0) { + this.isBranded = true; + } + // Recursively remove attributes starting with on. const removeAttributes = (element: Element): void => { Array.from(element.attributes).forEach((attr) => {