Skip to content

Commit a47217a

Browse files
author
ComputelessComputer
committed
switch editor font from IBM Plex Mono to IBM Plex Sans
1 parent 94a95d2 commit a47217a

7 files changed

Lines changed: 16 additions & 12 deletions

File tree

bun.lock

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"dependencies": {
1717
"@fontsource/instrument-serif": "^5.2.8",
1818
"@ibm/plex-mono": "^1.1.0",
19+
"@ibm/plex-sans": "^1.1.0",
1920
"@json-render/core": "^0.6.1",
2021
"@json-render/react": "^0.6.1",
2122
"@tailwindcss/typography": "^0.5.19",
@@ -39,11 +40,11 @@
3940
"@tiptap/pm": "^3.19.0",
4041
"@tiptap/react": "^3.19.0",
4142
"@tiptap/starter-kit": "^3.19.0",
42-
"usehooks-ts": "^3.1.1",
4343
"lucide-react": "^0.564.0",
4444
"nanoid": "^5.1.6",
4545
"react": "^19.1.0",
4646
"react-dom": "^19.1.0",
47+
"usehooks-ts": "^3.1.1",
4748
"zod": "^4.3.6"
4849
},
4950
"devDependencies": {

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/App.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@plugin "@tailwindcss/typography";
33

44
@theme {
5-
--font-sans: "IBM Plex Mono", monospace;
5+
--font-sans: "IBM Plex Sans", sans-serif;
66
--font-mono: "IBM Plex Mono", monospace;
77
}
88

src/components/editor/Editor.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
border-radius: 4px;
2222
background: transparent;
2323
color: #d1d5db;
24-
font-family: 'IBM Plex Mono', monospace;
24+
font-family: 'IBM Plex Sans', sans-serif;
2525
font-size: 13px;
2626
font-weight: 600;
2727
cursor: pointer;
@@ -111,7 +111,7 @@
111111
.widget-prompt {
112112
font-size: 12px;
113113
color: #9ca3af;
114-
font-family: 'IBM Plex Mono', monospace;
114+
font-family: 'IBM Plex Sans', sans-serif;
115115
overflow: hidden;
116116
text-overflow: ellipsis;
117117
white-space: nowrap;
@@ -133,7 +133,7 @@
133133
background: #ffffff;
134134
color: #6b7280;
135135
font-size: 12px;
136-
font-family: 'IBM Plex Mono', monospace;
136+
font-family: 'IBM Plex Sans', sans-serif;
137137
cursor: pointer;
138138
transition: all 0.15s;
139139
}
@@ -197,14 +197,14 @@
197197
font-weight: 600;
198198
color: #ef4444;
199199
margin: 0 0 6px 0;
200-
font-family: 'IBM Plex Mono', monospace;
200+
font-family: 'IBM Plex Sans', sans-serif;
201201
}
202202

203203
.widget-error-message {
204204
font-size: 12px;
205205
color: #9ca3af;
206206
margin: 0;
207-
font-family: 'IBM Plex Mono', monospace;
207+
font-family: 'IBM Plex Sans', sans-serif;
208208
}
209209

210210
/* Widget loading state */
@@ -243,13 +243,13 @@
243243
font-size: 13px;
244244
font-weight: 500;
245245
color: #6b7280;
246-
font-family: 'IBM Plex Mono', monospace;
246+
font-family: 'IBM Plex Sans', sans-serif;
247247
}
248248

249249
.widget-loading-prompt {
250250
font-size: 12px;
251251
color: #9ca3af;
252-
font-family: 'IBM Plex Mono', monospace;
252+
font-family: 'IBM Plex Sans', sans-serif;
253253
max-width: 300px;
254254
text-align: center;
255255
overflow: hidden;

src/components/editor/extensions/widget/registry.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const barColors = {
2727
accent: "#7c3aed",
2828
};
2929

30-
const font = "'IBM Plex Mono', monospace";
30+
const font = "'IBM Plex Sans', sans-serif";
3131

3232
export const { registry, } = defineRegistry(widgetCatalog, {
3333
components: {

src/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import ReactDOM from "react-dom/client";
3-
import "@ibm/plex-mono/css/ibm-plex-mono-all.css";
3+
import "@ibm/plex-sans/css/ibm-plex-sans-all.css";
44
import "@fontsource/instrument-serif/latin.css";
55
import "@fontsource/instrument-serif/latin-italic.css";
66
import "../vendor/hyprnote/packages/tiptap/styles.css";

0 commit comments

Comments
 (0)