theming of previews and sidebar

This commit is contained in:
2020-08-03 18:38:22 +00:00
parent 226f718348
commit 8bea726e98
5 changed files with 27 additions and 9 deletions

View File

@@ -38,8 +38,8 @@ class Preview extends React.Component {
render() {
const themeStyle = StaticInfos.isDarkTheme() ? darktheme : lighttheme;
return (
<div className={style.videopreview + ' ' + themeStyle.previewhover} onClick={() => this.itemClick()}>
<div className={style.previewtitle}>{this.state.name}</div>
<div className={style.videopreview + ' ' + themeStyle.secbackground + ' '+ themeStyle.preview} onClick={() => this.itemClick()}>
<div className={style.previewtitle + ' '+ themeStyle.lighttextcolor}>{this.state.name}</div>
<div className={style.previewpic}>
{this.state.previewpicture != null ?
<img className={style.previewimage}