Skip to content

Commit

Permalink
pass window colors
Browse files Browse the repository at this point in the history
  • Loading branch information
heapwolf committed Mar 25, 2024
1 parent b30493a commit b3c162c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ class AppView extends Tonic {
title: preview.title,
titleBarStyle: preview.titleBarStyle, // ie 'hiddenInset'
trafficLightPosition: preview.trafficLightPosition, // ie '10x26'
backgroundColorDark: 'rgba(46, 46, 46, 1)',
backgroundColorLight: 'rgba(255, 255, 255, 1)',
aspectRatio: preview.aspectRatio, // ie '9:19.5'
width: Math.floor(width / scale),
height: Math.floor(height / scale)
Expand Down

0 comments on commit b3c162c

Please sign in to comment.