From 98bd9513667eff421219d17045fe9d95ad9aa59a Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 13 Mar 2020 09:34:16 -0600 Subject: [PATCH] Add docs and flag for custom theme support --- docs/labs.md | 9 +++++++++ riot.im/develop/config.json | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/labs.md b/docs/labs.md index 0f88d898c0..f7c0822a42 100644 --- a/docs/labs.md +++ b/docs/labs.md @@ -98,3 +98,12 @@ person is online. This adds padlocks to room list tiles and room header for invite only rooms. 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). diff --git a/riot.im/develop/config.json b/riot.im/develop/config.json index b31fad8324..e236b55f52 100644 --- a/riot.im/develop/config.json +++ b/riot.im/develop/config.json @@ -24,7 +24,8 @@ "feature_invite_only_padlocks": "enable", "feature_event_indexing": "disable", "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", "piwik": {