Skip to content

restyle inline code to match the app theme ,for dark and light mode#655

Merged
moehdotdev merged 1 commit into
mainfrom
dev
Mar 21, 2026
Merged

restyle inline code to match the app theme ,for dark and light mode#655
moehdotdev merged 1 commit into
mainfrom
dev

Conversation

@moehdotdev

Copy link
Copy Markdown
Member

tiny visual fix — inline code blocks were using hardcoded red colors that felt out of place.


what changed

extensions.ts — inline code classnames
swapped the red background + red text for bg-secondary and text-secondary-foreground, which are proper theme tokens. also changed rounded-lg to rounded-sm since a large radius looks a bit odd on small inline elements.


why

the red styling was probably a leftover default — it didn't match the rest of the ui at all and looked jarring when code appeared inline in notes.

what's better now

  • inline code now respects the app's color theme and dark mode
  • looks consistent with the rest of the editor ui
  • no more random red that has nothing to do with errors

@vercel

vercel Bot commented Mar 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
notevo Ready Ready Preview, Comment Mar 22, 2026 9:01am

@moehdotdev moehdotdev merged commit 57e8410 into main Mar 21, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant