Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
.tiptap-editor code,
.tiptap-content code {
background-color: var(--chakra-colors-bg-code);
color: var(--chakra-colors-fg-code);
border-radius: 0.25rem;
padding: 0.2em 0.4em;
font-family: "Menlo", "Monaco", "Courier New", monospace;
Expand All @@ -95,7 +96,7 @@
.tiptap-editor pre,
.tiptap-content pre {
background-color: var(--chakra-colors-bg-code);
color: #d4d4d4;
color: var(--chakra-colors-fg-code);
padding: 0.75em 1em;
border-radius: 0.375rem;
font-family: "Menlo", "Monaco", "Courier New", monospace;
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const config = defineConfig({
value: { _light: '#F4F4F5', _dark: '#24292E' },
},
code: {
value: { _light: '#f0f0f3', _dark: '#202429' },
value: { _light: '#e4e4e7', _dark: '#202429' },
},
},
fg: {
Expand All @@ -39,6 +39,9 @@ const config = defineConfig({
muted: {
value: { _light: '{colors.gray.600}', _dark: '{colors.gray.400}' },
},
code: {
value: { _light: '{colors.gray.700}', _dark: '{colors.gray.300}' },
},
},
fbuttons: {
blue: {
Expand Down