Merge pull request #12731 from vector-im/travis/theme-poc

Add docs and flag for custom theme support
This commit is contained in:
Travis Ralston 2020-03-13 09:48:03 -06:00 committed by GitHub
commit 8e2eab21ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -98,3 +98,12 @@ person is online.
This adds padlocks to room list tiles and room header for invite only rooms. This adds padlocks to room list tiles and room header for invite only rooms.
This feature flag (unlike most) is enabled by default. This feature flag (unlike most) is enabled by default.
## Custom themes (`feature_custom_themes`)
Custom themes are possible through Riot's [theme support](./theming.md), though
normally these themes need to be defined in the config for Riot. This labs flag
adds an ability for end users to add themes themselves by using a URL to the JSON
theme definition.
For some sample themes, check out [aaronraimist/riot-web-themes](https://github.com/aaronraimist/riot-web-themes).

View File

@ -24,7 +24,8 @@
"feature_invite_only_padlocks": "enable", "feature_invite_only_padlocks": "enable",
"feature_event_indexing": "disable", "feature_event_indexing": "disable",
"feature_bridge_state": "labs", "feature_bridge_state": "labs",
"feature_presence_in_room_list": "labs" "feature_presence_in_room_list": "labs",
"feature_custom_themes": "labs"
}, },
"welcomeUserId": "@riot-bot:matrix.org", "welcomeUserId": "@riot-bot:matrix.org",
"piwik": { "piwik": {