Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ—ƒ Adds enableMaterialDesignIcons option to appConfig

Alicia Sykes7ba5cc23b7dc
diff --git a/docs/configuring.md b/docs/configuring.md
index 71356c3d..8f3a7cbc 100644
--- a/docs/configuring.md
+++ b/docs/configuring.md
@@ -91,7 +91,8 @@ The following file provides a reference of all supported configuration options.
**`statusCheckInterval`** | `boolean` | _Optional_ | The number of seconds between checks. If set to `0` then service will only be checked on initial page load, which is usually the desired functionality. If value is less than `10` you may experience a hit in performance. Defaults to `0`
**`webSearch`** | `object` | _Optional_ | Configuration options for the web search feature, set your default search engine, opening method or disable web search. See [`webSearch`](#appconfigwebsearch-optional)
**`backgroundImg`** | `string` | _Optional_ | Path to an optional full-screen app background image. This can be either remote (http) or local (/). Note that this will slow down initial load
-**`enableFontAwesome`** | `boolean` | _Optional_ | Where `true` is enabled, if left blank font-awesome will be enabled only if required by 1 or more icons
+**`enableFontAwesome`** | `boolean` | _Optional_ | If set to `true` font-awesome will be loaded, if set to `false` they will not be. if left blank font-awesome will be enabled only if required by 1 or more icons
+**`enableMaterialDesignIcons`** | `boolean` | _Optional_ | If set to `true` mdi icons will be loaded, if set to `false` they will not be. Where `true` is enabled, if left blank material design icons will be enabled only if required by 1 or more icons
**`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)
diff --git a/src/utils/ConfigSchema.json b/src/utils/ConfigSchema.json
index dab1e454..198821b5 100644
--- a/src/utils/ConfigSchema.json
+++ b/src/utils/ConfigSchema.json
@@ -284,7 +284,13 @@
"title": "Enable Font-Awesome?",
"type": "boolean",
"default": true,
- "description": "Should load font-awesome assets"
+ "description": "If true, font-awesome will be loaded, if false they will not be. If left empty, icons will only be loaded if needed"
+ },
+ "enableMaterialDesignIcons": {
+ "title": "Enable Font-Awesome?",
+ "type": "boolean",
+ "default": false,
+ "description": "If true, material-design-icons will be loaded, if false they will not be. If left empty, icons will only be loaded if needed"
},
"fontAwesomeKey": {
"title": "Font-Awesome API Key",