added: font family in settings
This commit is contained in:
parent
8504adb3f0
commit
e1acbbcda6
2
main.js
2
main.js
|
@ -3,6 +3,7 @@ var defaultsettings =
|
|||
fontsize: "16px",
|
||||
lineheight: "24px",
|
||||
margins: "20%",
|
||||
fontfamily: "helvetica,system-ui",
|
||||
savedelay: 2000,
|
||||
defaultpreviewinsplit: false,
|
||||
tagautocomplete: false,
|
||||
|
@ -1319,6 +1320,7 @@ function loadsettings()
|
|||
document.body.style.lineHeight = settings.lineheight;
|
||||
document.body.style.marginLeft = settings.margins;
|
||||
document.body.style.marginRight = settings.margins;
|
||||
document.body.style.fontFamily = settings.fontfamily;
|
||||
|
||||
if (settings.titlebydefault && title.hidden)
|
||||
{
|
||||
|
|
|
@ -10,7 +10,6 @@ body {
|
|||
margin-left: 7%;
|
||||
margin-right: 7%;
|
||||
background: white;
|
||||
font-family: helvetica, system-ui;
|
||||
caret-color: var(--accent);
|
||||
color: var(--black);
|
||||
}
|
||||
|
@ -23,7 +22,6 @@ input {
|
|||
outline: none;
|
||||
border: none;
|
||||
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
color: inherit;
|
||||
|
@ -70,7 +68,6 @@ body::-webkit-scrollbar-thumb {
|
|||
|
||||
resize: none;
|
||||
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
background-color: inherit;
|
||||
|
|
Loading…
Reference in New Issue