Преглед изворни кода

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 година
родитељ
комит
cbcbe33a91
No known key found for this signature in database GPG Key ID: 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

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`

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
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

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`

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
matrix_client_schildichat_themes_enabled: true


Loading…
Откажи
Сачувај