Skip to content

Commit b723d60

Browse files
author
Dominique Chuo
committed
uses ibm plex mono
1 parent 269a98d commit b723d60

File tree

6 files changed

+15
-8
lines changed

6 files changed

+15
-8
lines changed

src/components/CodeEditor/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ const CodeEditor = forwardRef<CodeEditorRef, CodeEditorProps>(
182182
editor.updateOptions({
183183
minimap: { enabled: false },
184184
fontSize: 16,
185-
fontFamily: "'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace",
185+
fontFamily: "'IBM Plex Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace",
186186
fontWeight: '500',
187187
lineNumbers: 'on',
188188
lineNumbersMinChars: 3,

src/components/InlineEditor/styles.module.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
background: #F8F8F7;
164164
border-bottom: 3px solid #383838;
165165
overflow-x: auto;
166-
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
166+
font-family: 'IBM Plex Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
167167
font-size: 16px;
168168
line-height: 1.6;
169169
}
@@ -240,7 +240,7 @@
240240
}
241241

242242
.statementPreview {
243-
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
243+
font-family: 'IBM Plex Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
244244
font-size: 11px;
245245
opacity: 0.9;
246246
flex: 1;
@@ -348,7 +348,7 @@
348348

349349
.commandBox code {
350350
flex: 1;
351-
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
351+
font-family: 'IBM Plex Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
352352
font-size: 12px;
353353
color: #1F2937;
354354
background: transparent;

src/components/ResultViewer/styles.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
.errorMessage {
6969
padding: 1rem;
7070
margin: 0;
71-
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
71+
font-family: 'IBM Plex Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
7272
font-size: 14px;
7373
color: #374151;
7474
white-space: pre-wrap;
@@ -254,7 +254,7 @@
254254
.dataCell {
255255
padding: 0.75rem 0.875rem;
256256
border-right: 1px solid #E5E5E5;
257-
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
257+
font-family: 'IBM Plex Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
258258
font-size: 14px;
259259
}
260260

static/css/_blog.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ article[itemProp="blogPost"] .markdown,
367367
border-radius: 0 !important;
368368
padding: 0.125rem 0.375rem !important;
369369
font-weight: 500 !important;
370+
font-family: 'IBM Plex Mono', monospace !important;
370371
}
371372

372373
.blog-post-content pre {
@@ -383,6 +384,7 @@ article[itemProp="blogPost"] .markdown,
383384
border: none !important;
384385
padding: 0 !important;
385386
color: white !important;
387+
font-family: 'IBM Plex Mono', monospace !important;
386388
}
387389

388390
/* Blog Post Footer */

static/css/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@
4444
/* Import Tailwind CSS with all styles consolidated */
4545
@import './tailwind.css';
4646

47+
/* Ensure IBM Plex Mono is used for all code elements */
48+
code, pre, kbd, samp, tt, .monospace {
49+
font-family: 'IBM Plex Mono', monospace !important;
50+
}
51+
4752
/* Navbar active item styling - Light mode */
4853
.navbar__link--active {
4954
color: white !important;

static/css/tailwind.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
--docusaurus-highlighted-code-line-bg: rgba(37, 99, 235, 0.08);
6363
--ifm-background-color: #F4EFEA;
6464
--ifm-background-surface-color: #FEFEFE;
65-
--ifm-font-family-monospace: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Menlo', 'Ubuntu Mono', monospace;
65+
--ifm-font-family-monospace: 'IBM Plex Mono', 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Menlo', 'Ubuntu Mono', monospace;
6666
--ifm-font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
6767
--ifm-font-color-base: #1a1a1a;
6868

@@ -1007,7 +1007,7 @@ p, span, div {
10071007

10081008
/* Font families */
10091009
--font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
1010-
--font-family-mono: 'SF Mono', Monaco, Inconsolata, 'Roboto Mono', Menlo, 'Ubuntu Mono', monospace;
1010+
--font-family-mono: 'IBM Plex Mono', 'SF Mono', Monaco, Inconsolata, 'Roboto Mono', Menlo, 'Ubuntu Mono', monospace;
10111011
}
10121012

10131013
/* Component Styles - Buttons, Cards, and General Components */

0 commit comments

Comments
 (0)