You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -389,10 +389,12 @@ Example:
389
389
390
390
```yaml
391
391
theme:
392
+
# This will be the default theme
392
393
background-color: 100 20 10
393
394
primary-color: 40 90 40
394
395
contrast-multiplier: 1.1
395
396
397
+
disable-picker: false
396
398
presets:
397
399
gruvbox-dark:
398
400
background-color: 0 0 16
@@ -421,6 +423,7 @@ If you don't want to spend time configuring your own theme, there are [several a
421
423
| contrast-multiplier | number | no | 1 |
422
424
| text-saturation-multiplier | number | no | 1 |
423
425
| custom-css-file | string | no | |
426
+
| disable-picker | bool | false | |
424
427
| presets | object | no | |
425
428
426
429
#### `light`
@@ -466,8 +469,11 @@ theme:
466
469
>
467
470
> In addition, you can also use the `css-class` property which is available on every widget to set custom class names for individual widgets.
468
471
472
+
#### `disable-picker`
473
+
When set to `true` hides the theme picker and disables the abiltity to switch between themes. All users who previously picked a non-default theme will be switched over to the default theme.
474
+
469
475
#### `presets`
470
-
Define additional theme presets that can be selected from the theme switcher on the page. For each preset, you can specify the same properties as for the default theme, such as `background-color`, `primary-color`, `positive-color`, `negative-color`, `contrast-multiplier`, etc., except for the `custom-css-file` property.
476
+
Define additional theme presets that can be selected from the theme picker on the page. For each preset, you can specify the same properties as for the default theme, such as `background-color`, `primary-color`, `positive-color`, `negative-color`, `contrast-multiplier`, etc., except for the `custom-css-file` property.
0 commit comments