Dark theme notes + photoinformation, new features and fixes

This commit is contained in:
David Ralph
2020-11-30 11:20:03 +00:00
parent 82e1d7684a
commit 727e21480d
12 changed files with 40 additions and 18 deletions

View File

@@ -27,8 +27,10 @@ export default class Notes extends React.PureComponent {
}
render() {
let classList = 'notescontainer';
if (localStorage.getItem('darkTheme') === 'true') classList += ' dark';
return (
<span id='noteContainer' className='notescontainer'>
<span id='noteContainer' className={classList}>
<div className='topbarnotes'>
<NotesIcon/>
<h3>{this.props.language.title}</h3>