Skip to content

Commit

Permalink
chore: update letter spacing dynamically
Browse files Browse the repository at this point in the history
  • Loading branch information
slavenai committed Sep 20, 2024
1 parent 73ac9d7 commit d2f6c1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples-standalone/coffee-warehouse/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ export class AppComponent {
@HostBinding('style.--kendo-line-height')
public lineHeight = '1.2px'

@HostBinding('style.--kendo-letter-spacing-normal')
public letterSpacing = '0px'

constructor(
public msgService: MessageService,
private settingsService: SettingsService) {
Expand Down
1 change: 1 addition & 0 deletions examples-standalone/coffee-warehouse/src/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

app-root {
--kendo-font-family: 'Roboto', sans-serif;
letter-spacing: var( --kendo-letter-spacing-normal);
}

//Grid
Expand Down

0 comments on commit d2f6c1a

Please sign in to comment.