Skip to content

Commit ccab735

Browse files
minor ajdustments
1 parent 0da6c26 commit ccab735

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

Diff for: angular-v17-theme-primeng/src/app/app.component.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<div class="dark">
21
<app-header></app-header>
32
<p>Hello</p>
4-
</div>
3+

Diff for: angular-v17-theme-primeng/src/app/components/header/header.component.html

+9-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@
99
</span>
1010
</div>
1111
<div class="p-toolbar-group-end">
12-
<p-inputSwitch [(ngModel)]="checked" (click)="onThemeChange(checked ? 'light' : 'dark')"></p-inputSwitch>
12+
<p-inputSwitch [(ngModel)]="checked" (click)="onThemeChange(checked ? 'dark' : 'light')"></p-inputSwitch>
1313
</div>
1414
</p-toolbar>
15+
16+
17+
18+
19+
20+
21+
22+

0 commit comments

Comments
 (0)