Skip to content

Commit 986ded6

Browse files
committed
fix: update font settings and sizes in inspector CSS
1 parent 8f1a1ff commit 986ded6

1 file changed

Lines changed: 17 additions & 19 deletions

File tree

src/view/frontend/web/css/inspector.css

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
========================================================================== */
1414

1515
:root {
16-
--mageforge-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
16+
--mageforge-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
17+
--mageforge-font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Consolas', monospace;
1718
--mageforge-color-blue: #3b82f6;
1819
--mageforge-color-blue-dark: #2563eb;
1920
--mageforge-color-green: #10b981;
@@ -43,7 +44,7 @@
4344

4445
.mageforge-inspector {
4546
font-family: var(--mageforge-font-family);
46-
font-size: 15px;
47+
font-size: 16px;
4748
line-height: 1.5;
4849
}
4950

@@ -94,8 +95,8 @@
9495
display: flex;
9596
align-items: center;
9697
gap: 8px;
97-
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
98-
font-size: 12px;
98+
font-family: var(--mageforge-font-family);
99+
font-size: 14px;
99100
font-weight: 600;
100101
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2);
101102
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
@@ -130,7 +131,7 @@
130131
color: white;
131132
padding: 16px;
132133
border-radius: 12px;
133-
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
134+
font-family: var(--mageforge-font-family);
134135
font-size: 11px;
135136
line-height: 1.6;
136137
pointer-events: auto;
@@ -289,7 +290,7 @@
289290
.mageforge-inspector-info-badge {
290291
min-width: 280px;
291292
max-width: calc(100vw - 40px);
292-
font-size: 10px;
293+
font-size: 10pxrem;
293294
}
294295

295296
.mageforge-inspector-float-button {
@@ -328,7 +329,7 @@
328329
.mageforge-code-inline {
329330
background: rgba(100, 116, 139, 0.1);
330331
padding: 2px 6px;
331-
border-radius: 4px;
332+
border-radiusvar(--mageforge-font-mono)
332333
font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Consolas', monospace;
333334
font-size: 11px;
334335
color: var(--mageforge-color-slate-200);
@@ -513,7 +514,7 @@
513514
border: 1px solid var(--mageforge-border-glass); /* ~8% opacity */
514515
width: 100%;
515516
box-sizing: border-box;
516-
font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
517+
font-family: var(--mageforge-font-mono);
517518
pointer-events: auto;
518519
}
519520

@@ -539,30 +540,27 @@
539540
/* ============================================================================
540541
Alerts & Notifications
541542
========================================================================== */
542-
.mageforge-inheritance-note {
543-
background: rgba(251, 191, 36, 0.1);
544-
border: 1px solid rgba(251, 191, 36, 0.3);
543+
.mageforge-inheritance-note,
544+
.mageforge-warning-box {
545545
border-radius: 8px;
546546
padding: 10px 12px;
547547
margin-bottom: 16px;
548548
font-size: 11px;
549-
color: var(--mageforge-color-yellow);
550549
display: flex;
551550
align-items: center;
552551
gap: 8px;
553552
}
554553

554+
.mageforge-inheritance-note {
555+
background: rgba(251, 191, 36, 0.1);
556+
border: 1px solid rgba(251, 191, 36, 0.3);
557+
color: var(--mageforge-color-yellow);
558+
}
559+
555560
.mageforge-warning-box {
556561
background: rgba(239, 68, 68, 0.1);
557562
border: 1px solid rgba(239, 68, 68, 0.3);
558-
border-radius: 8px;
559-
padding: 10px 12px;
560-
margin-bottom: 16px;
561-
font-size: 11px;
562563
color: var(--mageforge-color-red-light);
563-
display: flex;
564-
align-items: center;
565-
gap: 8px;
566564
}
567565

568566
.mageforge-no-data {

0 commit comments

Comments
 (0)