added: font family in settings

This commit is contained in:
quenousimporte 2024-01-09 11:09:57 +01:00
parent 8504adb3f0
commit e1acbbcda6
2 changed files with 2 additions and 3 deletions

View File

@ -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)
{

View File

@ -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;