Use array|null for the wordmark/tagline type

Per Thiemo's comments at Id2712e2af3d8f33fd4.
Follow up to Ie33f8edf075f1216881428ec6aa29c.

Change-Id: Idea3dede510e0e46265a2f55665b99ef5c0029c3
This commit is contained in:
Tim Starling 2022-06-17 12:11:27 +10:00
parent bd87be3650
commit 463577cdbc
2 changed files with 4 additions and 4 deletions

View file

@ -213,13 +213,13 @@ config-schema:
The `2x` key is a path to the 2x version of square logo
The `svg` key is a path to the svg version of square logo
The `icon` key is a path to the version of the logo without wordmark and tagline
The `wordmark` key may be false or an array with the following fields
The `wordmark` key may be null or an array with the following fields
- `src` path to wordmark version
- `1x` path to svg wordmark version (if you want to
support browsers with SVG support with an SVG logo)
- `width` width of the logo in pixels
- `height` height of the logo in pixels
The `tagline` key may be false or array with the following fields
The `tagline` key may be null or array with the following fields
- `src` path to tagline image
- `width` width of the tagline in pixels
- `height` height of the tagline in pixels

View file

@ -512,13 +512,13 @@ class MainConfigSchema {
* The `2x` key is a path to the 2x version of square logo
* The `svg` key is a path to the svg version of square logo
* The `icon` key is a path to the version of the logo without wordmark and tagline
* The `wordmark` key may be false or an array with the following fields
* The `wordmark` key may be null or an array with the following fields
* - `src` path to wordmark version
* - `1x` path to svg wordmark version (if you want to
* support browsers with SVG support with an SVG logo)
* - `width` width of the logo in pixels
* - `height` height of the logo in pixels
* The `tagline` key may be false or array with the following fields
* The `tagline` key may be null or array with the following fields
* - `src` path to tagline image
* - `width` width of the tagline in pixels
* - `height` height of the tagline in pixels