Use main font variable where possible

This commit is contained in:
Cohee 2024-06-17 00:25:08 +03:00
parent 1a061c6ae5
commit 065d453477
2 changed files with 9 additions and 8 deletions

View File

@ -57,7 +57,7 @@
color: var(--SmartThemeBodyColor);
border: 1px solid var(--SmartThemeBorderColor);
border-radius: 7px;
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
font-family: var(--mainFontFamily);
padding: 3px 5px;
}
@ -85,7 +85,7 @@
color: var(--SmartThemeBodyColor);
border: 1px solid var(--SmartThemeBorderColor);
border-radius: 7px;
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
font-family: var(--mainFontFamily);
padding: 3px 5px;
}
@ -266,4 +266,4 @@ span.select2.select2-container .select2-selection__choice__remove:hover {
.select2_multi_sameline+span.select2-container.select2-container--focus .select2-selection--multiple .select2-search--inline {
height: unset;
}
}

View File

@ -802,7 +802,7 @@ body .panelControlBar {
}
.font-family-reset {
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
font-family: var(--mainFontFamily);
font-size: var(--mainFontSize);
font-weight: 400;
}
@ -951,7 +951,7 @@ body .panelControlBar {
color: var(--SmartThemeBodyColor);
font-size: 12px;
padding: 0;
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
font-family: var(--mainFontFamily);
font-weight: 400;
}
@ -1131,7 +1131,7 @@ textarea {
border-radius: 5px;
color: var(--SmartThemeBodyColor);
font-size: var(--mainFontSize);
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
font-family: var(--mainFontFamily);
padding: 5px 10px;
max-height: 90vh;
max-height: 90svh;
@ -1144,6 +1144,7 @@ textarea.autoSetHeight {
input,
select {
font-family: var(--mainFontFamily);
font-size: var(--mainFontSize);
color: var(--SmartThemeBodyColor);
}
@ -1160,7 +1161,7 @@ select {
border: 0;
box-shadow: none;
padding: 6px;
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
font-family: var(--mainFontFamily);
margin: 0;
text-shadow: 0px 0px calc(var(--shadowWidth) * 1px) var(--SmartThemeShadowColor);
flex: 1;
@ -2103,7 +2104,7 @@ textarea::placeholder {
color: var(--SmartThemeBodyColor);
border: 1px solid var(--SmartThemeBorderColor);
border-radius: 5px;
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
font-family: var(--mainFontFamily);
padding: 3px 5px;
width: 100%;
margin: 5px 0;