Skip to content

Commit

Permalink
Merge pull request #20 from croossin/roo/feature/line-number-color
Browse files Browse the repository at this point in the history
Update line color
  • Loading branch information
croossin authored Dec 31, 2023
2 parents 662833c + 91f3428 commit 2166714
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/change-line-color.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@roo-app/react-code-block": patch
---

Made the line numbers lighter in both light and dark mode as well as a 14px font.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function CodeBlock({
{showLineNumbers && (
<span
className={clsx(
"select-none",
"select-none text-gray-400 dark:text-gray-500 text-sm my-auto",
shouldHighlight ? "-ml-1 mr-5" : "mr-4"
)}
>
Expand Down

0 comments on commit 2166714

Please sign in to comment.