mirror of https://github.com/Lissy93/dashy.git
🗃️ Adds new attribute 'customColors' under appConfig
This commit is contained in:
parent
97f3e3c747
commit
1f40a12ac2
|
@ -65,6 +65,7 @@ To disallow any changes from being written to disk via the UI config editor, set
|
||||||
**`iconSize`** | `string` | _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.
|
**`iconSize`** | `string` | _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.
|
||||||
**`theme`** | `string` | _Optional_ | The default theme for first load (you can change this later from the UI)
|
**`theme`** | `string` | _Optional_ | The default theme for first load (you can change this later from the UI)
|
||||||
**`cssThemes`** | `string[]` | _Optional_ | An array of custom theme names which can be used in the theme switcher dropdown
|
**`cssThemes`** | `string[]` | _Optional_ | An array of custom theme names which can be used in the theme switcher dropdown
|
||||||
|
**`customColors`** | `object`| _Optional_ | Enables you to apply a custom color palette to any given theme. Use the theme name (lowercase) as the key, for an object including key-value-pairs, with the color variable name as keys, and 6-digit hex code as value. See [Theming](/docs/theming.md#modifying-theme-colors) for more info
|
||||||
**`externalStyleSheet`** | `string` or `string[]` | _Optional_ | Either a URL to an external stylesheet or an array or URLs, which can be applied as themes within the UI
|
**`externalStyleSheet`** | `string` or `string[]` | _Optional_ | Either a URL to an external stylesheet or an array or URLs, which can be applied as themes within the UI
|
||||||
**`customCss`** | `string` | _Optional_ | Raw CSS that will be applied to the page. This can also be set from the UI. Please minify it first.
|
**`customCss`** | `string` | _Optional_ | Raw CSS that will be applied to the page. This can also be set from the UI. Please minify it first.
|
||||||
**`hideComponents`** | `object` | _Optional_ | A list of key page components (header, footer, search, settings, etc) that are present by default, but can be removed using this option. See [`appConfig.hideComponents`](#appconfighideComponents-optional)
|
**`hideComponents`** | `object` | _Optional_ | A list of key page components (header, footer, search, settings, etc) that are present by default, but can be removed using this option. See [`appConfig.hideComponents`](#appconfighideComponents-optional)
|
||||||
|
|
|
@ -166,6 +166,10 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"customColors": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "Set a custom color palette for any theme"
|
||||||
|
},
|
||||||
"externalStyleSheet": {
|
"externalStyleSheet": {
|
||||||
"description": "URL or URLs of external stylesheets to add to dropdown/ load",
|
"description": "URL or URLs of external stylesheets to add to dropdown/ load",
|
||||||
"type": [
|
"type": [
|
||||||
|
|
Loading…
Reference in New Issue