Просмотр исходного кода

Update docs for Element Web and SchildiChat Web: add the instruction to change the default theme from light to dark

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4017/head
Suguru Hirahara 1 год назад
Родитель
Сommit
cbcbe33a91
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: E4F9743DAB4B7B75
2 измененных файлов: 22 добавлений и 4 удалений
  1. +11
    -2
      docs/configuring-playbook-client-element-web.md
  2. +11
    -2
      docs/configuring-playbook-client-schildichat-web.md

+ 11
- 2
docs/configuring-playbook-client-element-web.md Просмотреть файл

@@ -19,11 +19,20 @@ When setting, replace `example.com` with your own.


### Themes ### Themes


You can change the look of Element Web by pulling themes provided by the [aaronraimist/element-themes](https://github.com/aaronraimist/element-themes) project or defining your own themes manually.
#### Change the default theme

You can change the default theme from `light` to `dark`. To do so, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:

```yaml
# Controls the default theme
matrix_client_element_default_theme: 'dark'
```


#### Use themes by `element-themes` #### Use themes by `element-themes`


To pull the themes from the `element-themes` project and use them for your Element Web instance, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:
You can change the look of Element Web by pulling themes provided by the [aaronraimist/element-themes](https://github.com/aaronraimist/element-themes) project or defining your own themes manually.

To pull the themes and use them for your Element Web instance, add the following configuration to your `vars.yml` file:


```yaml ```yaml
matrix_client_element_themes_enabled: true matrix_client_element_themes_enabled: true


+ 11
- 2
docs/configuring-playbook-client-schildichat-web.md Просмотреть файл

@@ -24,11 +24,20 @@ matrix_client_schildichat_enabled: true


### Themes ### Themes


You can change the look of SchildiChat Web by pulling themes provided by the [aaronraimist/element-themes](https://github.com/aaronraimist/element-themes) project or defining your own themes manually.
#### Change the default theme

You can change the default theme from `light` to `dark`. To do so, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:

```yaml
# Controls the default theme
matrix_client_schildichat_default_theme: 'dark'
```


#### Use themes by `element-themes` #### Use themes by `element-themes`


To pull the themes from the `element-themes` project and use them for your SchildiChat Web instance, add the following configuration to your `vars.yml` file:
You can change the look of SchildiChat Web by pulling themes provided by the [aaronraimist/element-themes](https://github.com/aaronraimist/element-themes) project or defining your own themes manually.

To pull the themes and use them for your SchildiChat Web instance, add the following configuration to your `vars.yml` file:


```yaml ```yaml
matrix_client_schildichat_themes_enabled: true matrix_client_schildichat_themes_enabled: true


Загрузка…
Отмена
Сохранить