feat(ui): light mode and new theming system (#1468)
This commit is contained in:
@@ -32,19 +32,31 @@ import {DomSanitizer, SafeHtml} from '@angular/platform-browser';
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--icon-display-color, currentColor);
|
||||
}
|
||||
|
||||
.svg-icon-inline {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.svg-icon-inline :deep(svg) {
|
||||
.svg-icon-inline ::ng-deep svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Tint only paths without explicit paint so user-uploaded multi-colour SVGs survive. */
|
||||
.svg-icon-inline ::ng-deep svg:not([fill]),
|
||||
.svg-icon-inline ::ng-deep path:not([fill]) {
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
.svg-icon-inline ::ng-deep path[stroke]:not([stroke="none"]) {
|
||||
stroke: currentColor;
|
||||
}
|
||||
`],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user