Skip to content

Commit

Permalink
Improve contrast of list decoration (#2638)
Browse files Browse the repository at this point in the history
  • Loading branch information
zenoachtig authored Dec 18, 2024
1 parent f64d507 commit 48ab59f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/mean-pears-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'gitbook': patch
---

Improve colour contrast of list item decoration
2 changes: 1 addition & 1 deletion packages/gitbook/src/components/DocumentView/ListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function ListItemPrefix(props: { block: DocumentBlockListItem; children: React.R
className={tcls(
textStyle.textSize,
textStyle.lineHeight,
'flex items-center justify-center mr-1 min-h-[1lh] min-w-6 text-dark/6 dark:text-light/5',
'flex items-center justify-center mr-1 min-h-[1lh] min-w-6 text-dark-4 dark:text-light-4',
)}
>
{props.children}
Expand Down

0 comments on commit 48ab59f

Please sign in to comment.