fix: font settings and quote widget

This commit is contained in:
David Ralph
2021-04-08 19:52:17 +01:00
parent 5cf9bd74f4
commit 2670c917b7
17 changed files with 26 additions and 24 deletions

View File

@@ -91,12 +91,12 @@ export default class SettingsFunctions {
url = `@import url('https://fonts.googleapis.com/css2?family=${font}&display=swap');`;
}
const fontWeight = localStorage.getItem('fontWeight');
const fontWeight = localStorage.getItem('fontweight');
if (fontWeight) {
fontweight = `font-weight: ${fontWeight};`;
}
const fontStyle = localStorage.getItem('fontStyle');
const fontStyle = localStorage.getItem('fontstyle');
if (fontStyle) {
fontstyle = `font-style: ${fontStyle};`;
}