Skip to content

Commit

Permalink
Merge pull request #13406 from vector-im/bwindels/customthemechanges
Browse files Browse the repository at this point in the history
Update docs with custom theming changes
bwindels authored Apr 28, 2020
2 parents 7b6a303 + 5c77b03 commit 678f419
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/theming.md
Original file line number Diff line number Diff line change
@@ -54,7 +54,9 @@ eg. in config.json:
"timeline-background-color": "#ffffff",
"timeline-text-color": "#2e2f32",
"timeline-text-secondary-color": "#61708b",
"timeline-highlights-color": "#f3f8fd"
"timeline-highlights-color": "#f3f8fd",
"username-colors": ["#ff0000", ...]
"avatar-background-colors": ["#cc0000", ...]
}
}, {
"name": "Deep Purple",
@@ -78,3 +80,7 @@ eg. in config.json:
]
}
```

`username-colors` is expected to contain 8 colors. `avatar-background-colors` is expected to contain 3 colors. Both values are optional and have fallbacks from the built-in theme.

These are exposed as `--username-colors_0`, ... and `--avatar-background-colors_0`, ... respectively in CSS.

0 comments on commit 678f419

Please sign in to comment.