Skip to content

Commit 065d453

Browse files
committed
Use main font variable where possible
1 parent 1a061c6 commit 065d453

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

public/css/select2-overrides.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
color: var(--SmartThemeBodyColor);
5858
border: 1px solid var(--SmartThemeBorderColor);
5959
border-radius: 7px;
60-
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
60+
font-family: var(--mainFontFamily);
6161
padding: 3px 5px;
6262
}
6363

@@ -85,7 +85,7 @@
8585
color: var(--SmartThemeBodyColor);
8686
border: 1px solid var(--SmartThemeBorderColor);
8787
border-radius: 7px;
88-
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
88+
font-family: var(--mainFontFamily);
8989
padding: 3px 5px;
9090
}
9191

@@ -266,4 +266,4 @@ span.select2.select2-container .select2-selection__choice__remove:hover {
266266

267267
.select2_multi_sameline+span.select2-container.select2-container--focus .select2-selection--multiple .select2-search--inline {
268268
height: unset;
269-
}
269+
}

public/style.css

+6-5
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ body .panelControlBar {
802802
}
803803

804804
.font-family-reset {
805-
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
805+
font-family: var(--mainFontFamily);
806806
font-size: var(--mainFontSize);
807807
font-weight: 400;
808808
}
@@ -951,7 +951,7 @@ body .panelControlBar {
951951
color: var(--SmartThemeBodyColor);
952952
font-size: 12px;
953953
padding: 0;
954-
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
954+
font-family: var(--mainFontFamily);
955955
font-weight: 400;
956956
}
957957

@@ -1131,7 +1131,7 @@ textarea {
11311131
border-radius: 5px;
11321132
color: var(--SmartThemeBodyColor);
11331133
font-size: var(--mainFontSize);
1134-
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
1134+
font-family: var(--mainFontFamily);
11351135
padding: 5px 10px;
11361136
max-height: 90vh;
11371137
max-height: 90svh;
@@ -1144,6 +1144,7 @@ textarea.autoSetHeight {
11441144

11451145
input,
11461146
select {
1147+
font-family: var(--mainFontFamily);
11471148
font-size: var(--mainFontSize);
11481149
color: var(--SmartThemeBodyColor);
11491150
}
@@ -1160,7 +1161,7 @@ select {
11601161
border: 0;
11611162
box-shadow: none;
11621163
padding: 6px;
1163-
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
1164+
font-family: var(--mainFontFamily);
11641165
margin: 0;
11651166
text-shadow: 0px 0px calc(var(--shadowWidth) * 1px) var(--SmartThemeShadowColor);
11661167
flex: 1;
@@ -2103,7 +2104,7 @@ textarea::placeholder {
21032104
color: var(--SmartThemeBodyColor);
21042105
border: 1px solid var(--SmartThemeBorderColor);
21052106
border-radius: 5px;
2106-
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
2107+
font-family: var(--mainFontFamily);
21072108
padding: 3px 5px;
21082109
width: 100%;
21092110
margin: 5px 0;

0 commit comments

Comments
 (0)