Skip to content

Commit f55c5ae

Browse files
committed
update docs with custom theming changes
1 parent 7b6a303 commit f55c5ae

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎docs/theming.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ eg. in config.json:
5454
"timeline-background-color": "#ffffff",
5555
"timeline-text-color": "#2e2f32",
5656
"timeline-text-secondary-color": "#61708b",
57-
"timeline-highlights-color": "#f3f8fd"
57+
"timeline-highlights-color": "#f3f8fd",
58+
"username-colors": ["#ff0000", ...]
59+
"avatar-background-colors": ["#cc0000", ...]
5860
}
5961
}, {
6062
"name": "Deep Purple",
@@ -78,3 +80,5 @@ eg. in config.json:
7880
]
7981
}
8082
```
83+
84+
`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.

0 commit comments

Comments
 (0)