Add theme selector

This commit is contained in:
aditya.chandel
2024-12-16 21:53:25 -07:00
parent 696649a24f
commit 61e9580409
13 changed files with 144 additions and 21 deletions
@@ -1,5 +1,6 @@
<div class="dashboard">
<div *ngIf="isLibrariesEmpty; else dashboardScroller">
<div class="dashboard-no-library" *ngIf="isLibrariesEmpty; else dashboardScroller">
<h1 class="no-library-header">
Looks like you haven't added a library yet. Let's add one!
</h1>
@@ -12,6 +12,10 @@
color: var(--text-color);
}
.dashboard-no-library {
margin-top: 3rem;
}
.dashboard .p-dialog {
max-width: 90%;
}
@@ -10,12 +10,12 @@ import {DashboardScrollerComponent} from '../dashboard-scroller/dashboard-scroll
@Component({
selector: 'app-home-page',
templateUrl: './dashboard.component.html',
styleUrls: ['./dashboard.component.scss'],
imports: [
Button,
NgIf,
DashboardScrollerComponent
],
styleUrls: ['./dashboard.component.scss'],
providers: [DialogService],
})
export class DashboardComponent {