Skip to content

Commit

Permalink
chore: add settings list component
Browse files Browse the repository at this point in the history
  • Loading branch information
slavenai committed Sep 19, 2024
1 parent a71b8e6 commit 80b6e05
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples-standalone/coffee-warehouse/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import 'hammerjs';
import '@progress/kendo-angular-intl/locales/en/all';
import '@progress/kendo-angular-intl/locales/es/all';
import '@progress/kendo-angular-intl/locales/fr/all';
import { SettingsListComponent } from './components/accessibility-menu/settings-list/settings-list.component';

@NgModule({
declarations: [
Expand All @@ -58,7 +59,8 @@ import '@progress/kendo-angular-intl/locales/fr/all';
HeaderComponent,
InfoComponent,
TeamComponent,
NumericTextboxButtonsComponent
NumericTextboxButtonsComponent,
SettingsListComponent
],
imports: [
BrowserModule,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<form class="k-form k-form-md">
<fieldset>
<legend>Accessibility Settings</legend>

<kendo-label text="Text size:"></kendo-label>
<kendo-numerictextbox></kendo-numerictextbox>

<kendo-label text="Color theme:"></kendo-label>
<kendo-buttongroup>
<kendo-button [toggleable]="true">Contrast</kendo-button>
<kendo-button [toggleable]="true">Dark</kendo-button>
</kendo-buttongroup>

<kendo-label text="Font:"></kendo-label>
<kendo-buttongroup>
<kendo-button [toggleable]="true" (click)="changeFont('legible')">Legible Font</kendo-button>
<kendo-button [toggleable]="true" (click)="changeFont('dyslexia')">Dyslexia Font</kendo-button>
</kendo-buttongroup>

<kendo-button [toggleable]="true">Underiline Links</kendo-button>
<kendo-button [toggleable]="true">Pause Animation</kendo-button>
<kendo-button [toggleable]="true">Large Size Widgets</kendo-button>

<kendo-label text="Line Height:"></kendo-label>
<kendo-numerictextbox></kendo-numerictextbox>

<kendo-label text="Letter Spacing:"></kendo-label>
<kendo-numerictextbox></kendo-numerictextbox>
</fieldset>
</form>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { Component } from '@angular/core';

@Component({
selector: 'app-settings-list-component',
templateUrl: './settings-list.component.html'
})
export class SettingsListComponent {
public changeFont(fontType: string): void {

}
}

0 comments on commit 80b6e05

Please sign in to comment.