feat(ui): light mode and new theming system (#1468)

This commit is contained in:
Alex
2026-05-26 01:07:33 -04:00
committed by GitHub
parent 3211d7818a
commit 22ff6d8e90
131 changed files with 2816 additions and 3391 deletions
@@ -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
})