Skip to content

Commit 98bd951

Browse files
committed
Add docs and flag for custom theme support
1 parent 7c8363c commit 98bd951

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

‎docs/labs.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,12 @@ person is online.
9898

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

‎riot.im/develop/config.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"feature_invite_only_padlocks": "enable",
2525
"feature_event_indexing": "disable",
2626
"feature_bridge_state": "labs",
27-
"feature_presence_in_room_list": "labs"
27+
"feature_presence_in_room_list": "labs",
28+
"feature_custom_themes": "labs"
2829
},
2930
"welcomeUserId": "@riot-bot:matrix.org",
3031
"piwik": {

0 commit comments

Comments
 (0)