0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-06 20:52:40 +00:00

Themes dropdown previews

This commit is contained in:
Victor Losada Hernandez
2023-01-18 19:38:38 +01:00
parent 128b299f25
commit 45c7ac4b85
7 changed files with 37 additions and 5 deletions

View File

@@ -184,6 +184,10 @@ const MetadataEditor = createClass({
return <div className='item' key={''} onClick={()=>this.handleTheme(theme)} title={''}>
{`${theme.renderer} : ${theme.name}`}
<img src={`/themes/${theme.renderer}/${theme.path}/dropdownTexture.png`}/>
<div className='preview'>
<h6>{`${theme.name}`} preview</h6>
<img src={`/themes/${theme.renderer}/${theme.path}/dropdownPreview.jpg`}/>
</div>
</div>;
});
};