Skip to content

Commit

Permalink
fix: contract timeline label contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfreska committed Feb 20, 2024
1 parent ce05740 commit bbbe56a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changeset/rare-pots-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'hostd': patch
'renterd': patch
'@siafoundation/design-system': patch
---

The contract timeline labels have been darkened to increase contrast and readability.
2 changes: 1 addition & 1 deletion libs/design-system/src/app/ContractTimeline/Labels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function RelativeLabel({
>
<Text
size="10"
color={variant === 'primary' ? 'contrast' : 'verySubtle'}
color="contrast"
dir={align === 'start' ? 'rtl' : 'ltr'}
weight={variant === 'primary' ? 'semibold' : 'regular'}
ellipsis
Expand Down

0 comments on commit bbbe56a

Please sign in to comment.