Ghosting colors for loading videos is now customizable in an internal config, allowing dark mode to have different colors for the ghosting

This commit is contained in:
Isaac Abadi
2020-08-22 18:55:24 -04:00
parent 919e2a649a
commit c9016f446d
4 changed files with 11 additions and 4 deletions

View File

@@ -37,7 +37,7 @@
</ng-container>
<ng-container *ngIf="!normal_files_received && loading_files && loading_files.length > 0">
<div *ngFor="let file of loading_files; let i = index" class="mb-2 mt-2" [ngClass]="[ postsService.card_size === 'small' ? 'col-2 small-col' : '', postsService.card_size === 'medium' ? 'col-6 col-lg-4 medium-col' : '', postsService.card_size === 'large' ? 'col-12 large-col' : '' ]">
<app-unified-file-card [index]="i" [card_size]="postsService.card_size" [file_obj]="null" [loading]="true"></app-unified-file-card>
<app-unified-file-card [index]="i" [card_size]="postsService.card_size" [loading]="true" [theme]="postsService.theme"></app-unified-file-card>
</div>
</ng-container>
</div>