Skip to content

Instantly share code, notes, and snippets.

@turt2live
Last active December 15, 2018 09:12
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save turt2live/f7e33017e72a83905f7f6acae31f4143 to your computer and use it in GitHub Desktop.
Save turt2live/f7e33017e72a83905f7f6acae31f4143 to your computer and use it in GitHub Desktop.

Setting a default color scheme (tint) for Riot on your account

Caution: This requires some amount of technical knowledge about how matrix/riot works.

For reference, the original grey color scheme in Riot had a primary color of #595959 and a secondary color of #ececec

  1. Open the developer tools by typing /devtools
  2. Click the "Explore Account Data" button
  3. Click the "im.vector.web.settings" button (if you don't have this button, use the instructions below instead)
  4. Click "Edit"
  5. Edit the JSON to include this data structure, replacing the color values as desired (these ones are not a good choice):
    "roomColor": {
        "primary_color": "#6587AA",
        "secondary_color": "#EF507B"
    }
    
  6. Click "Send"
  7. Close the developer tools

If you don't have the im.vector.web.settings button described above then:

  1. Click "back" to get back to the first page
  2. Click "Send Account Data"
  3. For the Event Type, type im.vector.web.settings
  4. For the content use this (replacing the color values as desired):
    {
        "roomColor": {
            "primary_color": "#6587AA",
            "secondary_color": "#EF507B"
        }
    }
    
  5. Click "Send"
  6. Close the developer tools

Please visit #riot:matrix.org for more information about Granular Settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment