🗃 Adds defaultIcon to schema and config list (#925)

This commit is contained in:
Alicia Sykes 2022-10-30 13:53:26 +00:00
parent 3cde47c7b7
commit 9f07ba0843
2 changed files with 6 additions and 0 deletions

View File

@ -112,6 +112,7 @@ The following file provides a reference of all supported configuration options.
**`fontAwesomeKey`** | `string` | _Optional_ | If you have a font-awesome key, then you can use it here and make use of premium icons. It is a 10-digit alpha-numeric string from you're FA kit URL (e.g. `13014ae648`)
**`faviconApi`** | `enum` | _Optional_ | Only applicable if you are using favicons for item icons. Specifies which service to use to resolve favicons. Set to `local` to do this locally, without using an API. Services running locally will use this option always. Available options are: `local`, `faviconkit`, `iconhorse`, `google`, `clearbit`, `webmasterapi` and `allesedv`. Defaults to `faviconkit`. See [Icons](/docs/icons.md#favicons) for more info
**`auth`** | `object` | _Optional_ | All settings relating to user authentication. See [`auth`](#appconfigauth-optional)
**`defaultIcon`** | `string` | _Optional_ | An icon to be applied to any items, which don't already have an icon set. See [Icon Docs](/docs/icons.md#default-icon) for more info
**`layout`** | `enum` | _Optional_ | Layout for homepage, either `horizontal`, `vertical` or `auto`. Defaults to `auto`. This specifies the layout and direction of how sections are positioned on the home screen. This can also be modified and overridden from the UI.
**`iconSize`** | `enum` | _Optional_ | The size of link items / icons. Can be either `small`, `medium,` or `large`. Defaults to `medium`. This can also be set directly from the UI.
**`colCount`** | `number` | _Optional_ | The number of columns of sections displayed on the homepage, using the default view. Should be in integer between `1` and `8`. Note that by default this is applied responsively, based on current screen size, and specifying a value here will override this behavior, which may not be desirable.

View File

@ -193,6 +193,11 @@
"default": "allesedv",
"description": "Which service to use to resolve favicons. Set to local to do this locally instead"
},
"defaultIcon": {
"title": "Default Icon",
"type": "string",
"description": "An icon to apply to any items which don't yet have the icon set"
},
"layout": {
"title": "Default Layout",
"type": "string",