Skip to content

Commit

Permalink
Explicitly set Framework7 theme to iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
electrikmilk committed Apr 29, 2024
1 parent f63fbfc commit bf18225
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ export class ShortcutPreview {
this.data = options.data ?? null;
this.header = options.header ?? true;
this.meta = options.meta ?? true;
this.framework7 = new Framework7();
this.framework7 = new Framework7({
theme: 'ios',
});

if (this.data) {
this.preview();
Expand Down

0 comments on commit bf18225

Please sign in to comment.