Rename app configurator to theme configurator

This commit is contained in:
aditya.chandel
2025-01-12 14:02:33 -07:00
parent d29d59c299
commit 4bcb5f4fc0
5 changed files with 6 additions and 6 deletions
@@ -50,7 +50,7 @@
<button type="button" class="topbar-item config-item" enterActiveClass="animate-scalein" enterFromClass="hidden" leaveActiveClass="animate-fadeout" leaveToClass="hidden" pStyleClass="@next" [hideOnOutsideClick]="true">
<i class="pi pi-palette"></i>
</button>
<app-configurator></app-configurator>
<app-theme-configurator></app-theme-configurator>
</li>
</ul>
</div>
@@ -13,9 +13,9 @@ import {NgClass, NgIf} from '@angular/common';
import {EventService} from '../../../shared/websocket/event.service';
import {LogNotification} from '../../../shared/websocket/model/log-notification.model';
import {Button} from 'primeng/button';
import {AppConfiguratorComponent} from '../../../shared/components/configurator/configurator.component';
import {StyleClass} from 'primeng/styleclass';
import {Divider} from 'primeng/divider';
import {ThemeConfiguratorComponent} from '../theme-configurator/theme-configurator.component';
@Component({
selector: 'app-topbar',
@@ -29,7 +29,7 @@ import {Divider} from 'primeng/divider';
BookSearcherComponent,
NgIf,
Button,
AppConfiguratorComponent,
ThemeConfiguratorComponent,
StyleClass,
NgClass,
Divider
@@ -31,15 +31,15 @@ const presets = {
};
@Component({
selector: 'app-configurator',
selector: 'app-theme-configurator',
standalone: true,
templateUrl: './configurator.component.html',
templateUrl: './theme-configurator.component.html',
host: {
class: 'config-panel hidden'
},
imports: [CommonModule, FormsModule, InputSwitchModule, ButtonModule, RadioButtonModule, SelectButton, ToggleSwitchModule]
})
export class AppConfiguratorComponent {
export class ThemeConfiguratorComponent {
get ripple() {
return this.config.ripple();