Skip to content

Commit e09ef8b

Browse files
committed
feat: adjust font sizes in getPreview function for improved readability
Decreased font sizes for title, drop zone message and content text in the getPreview function to improve visual consistency and compactness.
1 parent 12f48eb commit e09ef8b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Notehing.editorConfig.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export function getPreview(values: NotehingPreviewProps, _isDarkMode: boolean, _
197197
{
198198
type: "Text",
199199
content: safeTitle,
200-
fontSize: 13,
200+
fontSize: 10,
201201
fontColor: tokens.titleColor,
202202
bold: true
203203
}
@@ -231,7 +231,7 @@ export function getPreview(values: NotehingPreviewProps, _isDarkMode: boolean, _
231231
{
232232
type: "Text",
233233
content: `Drop zone disabled (${values.content.widgetCount} widget(s) inside)`,
234-
fontSize: 11,
234+
fontSize: 10,
235235
fontColor: "#888888",
236236
italic: true
237237
}
@@ -252,12 +252,12 @@ export function getPreview(values: NotehingPreviewProps, _isDarkMode: boolean, _
252252
children: [
253253
{
254254
type: "Container",
255-
padding: 4,
255+
padding: 4,
256256
children: [
257257
{
258258
type: "Text",
259259
content: safeContent,
260-
fontSize: 12,
260+
fontSize: 10,
261261
fontColor: tokens.contentColor
262262
}
263263
]

0 commit comments

Comments
 (0)