Skip to content

Commit ab9e29d

Browse files
committed
fix signal access in fonts-form template
1 parent f8c6e2f commit ab9e29d

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

src/components/forms/advanced-form/advanced-form.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ import { KittyVersionService } from '../../../services/kitty-version.service';
111111
</div>
112112
</div>
113113
114-
@if (advancedMode()) {
114+
@if (helper.advancedMode()) {
115115
<div class="bg-kitty-surface rounded-lg p-6 border border-kitty-border">
116116
<h3 class="text-lg font-semibold text-kitty-text mb-4">System & Network</h3>
117117

src/components/forms/fonts-form/fonts-form.component.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ import { KittyVersionService } from '../../../services/kitty-version.service';
3333
<button
3434
type="button"
3535
(click)="selectFont(font.family)"
36-
[class.bg-kitty-primary]="fonts.font_family === font.family"
37-
[class.text-kitty-dark]="fonts.font_family === font.family"
38-
[class.bg-kitty-surface-light]="fonts.font_family !== font.family"
39-
[class.text-kitty-text]="fonts.font_family !== font.family"
36+
[class.bg-kitty-primary]="fonts().font_family === font.family"
37+
[class.text-kitty-dark]="fonts().font_family === font.family"
38+
[class.bg-kitty-surface-light]="fonts().font_family !== font.family"
39+
[class.text-kitty-text]="fonts().font_family !== font.family"
4040
class="px-3 py-2 rounded-lg text-xs font-mono hover:bg-kitty-primary hover:text-kitty-dark transition-colors border border-kitty-border"
4141
[title]="font.description"
4242
>{{ font.name }}</button>
@@ -53,10 +53,10 @@ import { KittyVersionService } from '../../../services/kitty-version.service';
5353
<button
5454
type="button"
5555
(click)="selectFont(font.family)"
56-
[class.bg-kitty-primary]="fonts.font_family === font.family"
57-
[class.text-kitty-dark]="fonts.font_family === font.family"
58-
[class.bg-kitty-surface-light]="fonts.font_family !== font.family"
59-
[class.text-kitty-text]="fonts.font_family !== font.family"
56+
[class.bg-kitty-primary]="fonts().font_family === font.family"
57+
[class.text-kitty-dark]="fonts().font_family === font.family"
58+
[class.bg-kitty-surface-light]="fonts().font_family !== font.family"
59+
[class.text-kitty-text]="fonts().font_family !== font.family"
6060
class="px-2 py-1.5 rounded text-xs font-mono hover:bg-kitty-primary hover:text-kitty-dark transition-colors border border-kitty-border"
6161
[title]="font.description"
6262
>{{ font.name }}</button>

src/components/forms/tab-bar-form/tab-bar-form.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ import { KittyVersionService } from '../../../services/kitty-version.service';
5959
</div>
6060
</div>
6161
62-
@if (advancedMode()) {
62+
@if (helper.advancedMode()) {
6363
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
6464
<div class="form-group">
6565
<label class="block text-sm font-medium text-kitty-text mb-2">Alignment</label>

0 commit comments

Comments
 (0)