Setting Window Properties
Last updated
Last updated
Fig uses <meta> tags to set window properties.
The fig:app
tag is mandatory. It will be the default title for your app. It also determines the location (~/.fig/apps/sample-app
) where your app saves files when using appwrite
or appread
.
<meta fig:app = "sample-app">
<meta fig:icon = "https://google.com/favicon.png">
or <meta fig:icon = "./relative/path/to/icon.png">
<meta fig:color = "#ffffff">
The value of fig:color
must be a 6 character hex color code. The '#' is optional.
<meta initial-position = "3">