forked from matrix/element-web
update docs with custom theming changes
This commit is contained in:
parent
7b6a303999
commit
f55c5aedc1
|
@ -54,7 +54,9 @@ eg. in config.json:
|
||||||
"timeline-background-color": "#ffffff",
|
"timeline-background-color": "#ffffff",
|
||||||
"timeline-text-color": "#2e2f32",
|
"timeline-text-color": "#2e2f32",
|
||||||
"timeline-text-secondary-color": "#61708b",
|
"timeline-text-secondary-color": "#61708b",
|
||||||
"timeline-highlights-color": "#f3f8fd"
|
"timeline-highlights-color": "#f3f8fd",
|
||||||
|
"username-colors": ["#ff0000", ...]
|
||||||
|
"avatar-background-colors": ["#cc0000", ...]
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"name": "Deep Purple",
|
"name": "Deep Purple",
|
||||||
|
@ -78,3 +80,5 @@ 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.
|
||||||
|
|
Loading…
Reference in New Issue