Skip to content

Commit

Permalink
Code format
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Nov 1, 2023
1 parent 5f10880 commit 3b6ff1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/showcase/pages/landing/landing.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,13 +321,13 @@ export class LandingComponent implements OnInit, OnDestroy {
}

changeFont() {
if(isPlatformBrowser(this.platformId)){
if (isPlatformBrowser(this.platformId)) {
this.editor?.nativeElement.style.setProperty('--dd-font', this.selectedFont);
}
}

changeDesignerTheme(color, darker) {
if(isPlatformBrowser(this.platformId)){
if (isPlatformBrowser(this.platformId)) {
this.editor?.nativeElement.style.setProperty('--dd-primary', color);
this.editor?.nativeElement.style.setProperty('--dd-primary-darker', darker);
}
Expand Down

1 comment on commit 3b6ff1f

@vercel
Copy link

@vercel vercel bot commented on 3b6ff1f Nov 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.