Skip to content

Commit 4df4088

Browse files
committed
improve fonts rendering
1 parent cb1689a commit 4df4088

8 files changed

Lines changed: 64 additions & 63 deletions

File tree

src/visualizer/gui/rmlui/resources/components.rcss

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ form {
1212

1313
body {
1414
font-family: Inter;
15-
font-size: 11dp;
15+
font-size: 12dp;
1616
display: flex;
1717
flex-direction: column;
1818
width: 100%;
@@ -21,7 +21,7 @@ body {
2121
}
2222

2323
body.docked-panel {
24-
font-size: 11dp;
24+
font-size: 12dp;
2525
left: 0;
2626
right: 0;
2727
top: 0;
@@ -50,7 +50,7 @@ body.docked-panel {
5050

5151
#title-text {
5252
flex: 1;
53-
font-size: 11dp;
53+
font-size: 12dp;
5454
font-weight: 600;
5555
min-width: 0;
5656
line-height: 30dp;
@@ -184,7 +184,7 @@ input[type="range"] sliderarrowinc {
184184
/* ── Form: Text Input ───────────────────────────────────── */
185185

186186
input[type="text"] {
187-
font-size: 11dp;
187+
font-size: 12dp;
188188
color: #cdd6f4;
189189
background-color: #313244;
190190
border-width: 1dp;
@@ -210,7 +210,7 @@ button:focus-visible,
210210
/* ── Form: Select ───────────────────────────────────────── */
211211

212212
select {
213-
font-size: 11dp;
213+
font-size: 12dp;
214214
color: #cdd6f4;
215215
background-color: #313244;
216216
border-width: 1dp;
@@ -235,7 +235,7 @@ selectbox {
235235

236236
selectbox option {
237237
padding: 2dp 6dp;
238-
font-size: 10dp;
238+
font-size: 11dp;
239239
transition: background-color 0.1s quadratic-out;
240240
}
241241

@@ -286,7 +286,7 @@ progress fill {
286286
left: 0;
287287
right: 0;
288288
text-align: center;
289-
font-size: 11dp;
289+
font-size: 12dp;
290290
color: #cdd6f4;
291291
}
292292

@@ -303,13 +303,13 @@ progress fill {
303303
display: flex;
304304
align-items: center;
305305
color: #cdd6f4;
306-
font-size: 11dp;
306+
font-size: 12dp;
307307
}
308308

309309
.prop-label {
310310
min-width: 80dp;
311311
text-align: left;
312-
font-size: 11dp;
312+
font-size: 12dp;
313313
color: #cdd6f4;
314314
margin-left: 4dp;
315315
flex-shrink: 0;
@@ -339,7 +339,7 @@ progress fill {
339339
display: inline-block;
340340
width: 45dp;
341341
text-align: right;
342-
font-size: 11dp;
342+
font-size: 12dp;
343343
color: #a6adc8;
344344
margin-left: 4dp;
345345
flex-shrink: 0;
@@ -356,7 +356,7 @@ progress fill {
356356
font-weight: bold;
357357
color: #cdd6f4;
358358
cursor: pointer;
359-
font-size: 10dp;
359+
font-size: 11dp;
360360
border-width: 0;
361361
border-top-width: 4dp;
362362
border-radius: 0;
@@ -373,7 +373,7 @@ progress fill {
373373
.section-arrow {
374374
display: inline-block;
375375
width: 10dp;
376-
font-size: 10dp;
376+
font-size: 11dp;
377377
color: #cdd6f4;
378378
text-align: center;
379379
transform: rotate(0deg);
@@ -433,7 +433,7 @@ progress fill {
433433
.color-comp {
434434
display: inline-block;
435435
min-width: 30dp;
436-
font-size: 11dp;
436+
font-size: 12dp;
437437
color: #a6adc8;
438438
background-color: #313244;
439439
border-width: 1dp;
@@ -446,7 +446,7 @@ progress fill {
446446

447447
.color-hex {
448448
width: 70dp;
449-
font-size: 11dp;
449+
font-size: 12dp;
450450
padding: 2dp 4dp;
451451
color: #cdd6f4;
452452
background-color: #313244;
@@ -488,7 +488,7 @@ progress fill {
488488
padding: 4dp 12dp;
489489
cursor: pointer;
490490
color: #cdd6f4;
491-
font-size: 10dp;
491+
font-size: 11dp;
492492
width: 100%;
493493
text-align: left;
494494
background-color: transparent;
@@ -507,14 +507,14 @@ progress fill {
507507

508508
.context-menu-item.submenu-item {
509509
padding-left: 20dp;
510-
font-size: 11dp;
510+
font-size: 12dp;
511511
}
512512

513513
.context-menu-label {
514514
display: block;
515515
padding: 4dp 12dp;
516516
color: #a6adc8;
517-
font-size: 11dp;
517+
font-size: 12dp;
518518
}
519519

520520
.context-menu-separator {
@@ -537,7 +537,7 @@ progress fill {
537537
}
538538

539539
.section-label {
540-
font-size: 11dp;
540+
font-size: 12dp;
541541
margin-bottom: 4dp;
542542
margin-top: 6dp;
543543
}
@@ -547,7 +547,7 @@ progress fill {
547547
.btn {
548548
display: inline-block;
549549
padding: 2dp 8dp;
550-
font-size: 10dp;
550+
font-size: 11dp;
551551
color: #cdd6f4;
552552
background-color: #45475a;
553553
border-width: 1dp;
@@ -721,7 +721,7 @@ progress fill {
721721

722722
.text-disabled {
723723
color: #a6adc8;
724-
font-size: 11dp;
724+
font-size: 12dp;
725725
padding: 0 0 0 2dp;
726726
}
727727

@@ -741,7 +741,7 @@ progress fill {
741741
display: block;
742742
padding: 8dp 6dp;
743743
color: #a6adc8;
744-
font-size: 10dp;
744+
font-size: 11dp;
745745
}
746746

747747
/* ── Custom Diagram Elements ──────────────────────────── */
@@ -778,7 +778,7 @@ crf-curve {
778778
padding: 0 0 1dp 0;
779779
text-align: center;
780780
line-height: 16dp;
781-
font-size: 10dp;
781+
font-size: 11dp;
782782
border-width: 1dp;
783783
margin-left: 2dp;
784784
flex-shrink: 0;
@@ -806,7 +806,7 @@ crf-curve {
806806

807807
.status-text {
808808
display: block;
809-
font-size: 10dp;
809+
font-size: 11dp;
810810
padding: 2dp 0;
811811
}
812812

src/visualizer/gui/rmlui/resources/menubar.rcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ div {
44

55
body {
66
font-family: Inter;
7-
font-size: 11dp;
7+
font-size: 12dp;
88
width: 100%;
99
display: flex;
1010
flex-direction: column;

src/visualizer/gui/rmlui/resources/plugin_marketplace.rcss

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.mp-warning-text {
66
display: block;
77
color: #f9e2af;
8-
font-size: 11dp;
8+
font-size: 12dp;
99
margin-bottom: 4dp;
1010
}
1111

@@ -87,7 +87,7 @@
8787
}
8888

8989
.mp-format-item {
90-
font-size: 11dp;
90+
font-size: 12dp;
9191
padding: 1dp 0 1dp 18dp;
9292
}
9393

@@ -141,7 +141,7 @@
141141
}
142142

143143
.status-item {
144-
font-size: 9dp;
144+
font-size: 10dp;
145145
margin-right: 16dp;
146146
letter-spacing: 0.5dp;
147147
}
@@ -166,12 +166,12 @@
166166
}
167167

168168
.card-name {
169-
font-size: 11dp;
169+
font-size: 12dp;
170170
font-weight: bold;
171171
}
172172

173173
.card-version {
174-
font-size: 11dp;
174+
font-size: 12dp;
175175
margin-left: 6dp;
176176
}
177177

@@ -183,29 +183,29 @@
183183
}
184184

185185
.card-metrics {
186-
font-size: 10dp;
186+
font-size: 11dp;
187187
display: block;
188188
margin-top: 2dp;
189189
}
190190

191191
.card-tags {
192-
font-size: 10dp;
192+
font-size: 11dp;
193193
display: block;
194194
}
195195

196196
.card-local {
197-
font-size: 10dp;
197+
font-size: 11dp;
198198
display: block;
199199
}
200200

201201
.card-status {
202-
font-size: 11dp;
202+
font-size: 12dp;
203203
display: block;
204204
margin-top: 2dp;
205205
}
206206

207207
.card-error {
208-
font-size: 11dp;
208+
font-size: 12dp;
209209
display: block;
210210
}
211211

@@ -227,7 +227,7 @@
227227

228228
.card-buttons .btn {
229229
flex: 1;
230-
font-size: 11dp;
230+
font-size: 12dp;
231231
padding: 2dp 4dp;
232232
}
233233

@@ -239,7 +239,7 @@
239239
}
240240

241241
.card-startup-label {
242-
font-size: 10dp;
242+
font-size: 11dp;
243243
}
244244

245245
/* ── Card feedback ────────────────────────────────────── */
@@ -255,7 +255,7 @@
255255
}
256256

257257
.card-progress-text {
258-
font-size: 10dp;
258+
font-size: 11dp;
259259
display: block;
260260
}
261261

@@ -288,7 +288,7 @@
288288

289289
.confirm-message {
290290
display: block;
291-
font-size: 10dp;
291+
font-size: 11dp;
292292
text-align: center;
293293
margin-bottom: 8dp;
294294
}

src/visualizer/gui/rmlui/resources/right_panel.rcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ body {
33
width: 100%;
44
height: 100%;
55
font-family: Inter;
6-
font-size: 10dp;
6+
font-size: 11dp;
77
nav: auto;
88
}
99

src/visualizer/gui/rmlui/resources/scene_tree.rcss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
body {
55
font-family: Inter;
6-
font-size: 11dp;
6+
font-size: 12dp;
77
color: #cdd6f4;
88
left: 0;
99
right: 0;
@@ -75,7 +75,7 @@ body {
7575
.scene-chip {
7676
display: inline-block;
7777
padding: 2dp 7dp;
78-
font-size: 9dp;
78+
font-size: 10dp;
7979
color: #cdd6f4;
8080
background-color: #313244;
8181
border-width: 1dp;
@@ -109,7 +109,7 @@ body {
109109

110110
#filter-input {
111111
flex: 1;
112-
font-size: 10dp;
112+
font-size: 11dp;
113113
color: #cdd6f4;
114114
background-color: transparent;
115115
border-width: 0;
@@ -228,7 +228,7 @@ body {
228228
.expand-toggle {
229229
display: inline;
230230
width: 12dp;
231-
font-size: 10dp;
231+
font-size: 11dp;
232232
color: #a6adc8;
233233
cursor: pointer;
234234
text-align: center;
@@ -307,7 +307,7 @@ body {
307307
.node-icon {
308308
display: inline;
309309
width: 16dp;
310-
font-size: 11dp;
310+
font-size: 12dp;
311311
text-align: center;
312312
margin-right: 4dp;
313313
}
@@ -349,7 +349,7 @@ body {
349349
display: inline;
350350
width: 150dp;
351351
padding: 2dp 4dp;
352-
font-size: 10dp;
352+
font-size: 11dp;
353353
color: #cdd6f4;
354354
background-color: #313244;
355355
border-width: 1dp;
@@ -361,7 +361,7 @@ body {
361361
display: block;
362362
min-height: 24dp;
363363
padding: 4dp 6dp;
364-
font-size: 11dp;
364+
font-size: 12dp;
365365
cursor: pointer;
366366
}
367367

0 commit comments

Comments
 (0)