0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 00:22:47 +00:00

Make DMG style use CSS variables

This commit is contained in:
Trevor Buckner
2022-05-15 22:45:59 -04:00
parent 96e704234c
commit 1f82dbe8ee
3 changed files with 9 additions and 10 deletions

View File

@@ -140,7 +140,7 @@ const MetadataEditor = createClass({
});
};
const currentTheme = Themes[this.props.metadata.renderer][this.props.metadata.theme];
const currentTheme = Themes[`${_.upperFirst(this.props.metadata.renderer)}`][this.props.metadata.theme];
let dropdown;
if(this.props.metadata.renderer == 'legacy') {