Skip to content

The open-source app everyone uses to manage agents at work

Increase monospace font size and add dark mode background for inline code

dotta0b9f00346b04
diff --git a/ui/src/index.css b/ui/src/index.css
index 2b3e6171af..ea0e6e59bf 100644
--- a/ui/src/index.css
+++ b/ui/src/index.css
@@ -415,7 +415,7 @@
.paperclip-mdxeditor-content code {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
- font-size: 0.78em;
+ font-size: 1.1em;
}
.paperclip-mdxeditor-content pre {
@@ -433,7 +433,7 @@
.paperclip-mdxeditor .cm-editor {
background-color: #1e1e2e !important;
color: #cdd6f4 !important;
- font-size: 0.78em;
+ font-size: 1.1em;
}
.paperclip-mdxeditor .cm-gutters {
@@ -513,14 +513,14 @@
color: #cdd6f4 !important;
padding: 0.5rem 0.65rem !important;
margin: 0.4rem 0 !important;
- font-size: 0.78em !important;
+ font-size: 1.1em !important;
overflow-x: auto;
white-space: pre;
}
.paperclip-markdown code {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
- font-size: 0.78em;
+ font-size: 1.1em;
}
.paperclip-markdown pre code {
@@ -543,6 +543,10 @@
font-weight: 500;
}
+.dark .prose :not(pre) > code {
+ background-color: #ffffff0f;
+}
+
.paperclip-markdown {
color: var(--foreground);
font-size: 0.9375rem;