Skip to content

Commit

Permalink
adjusting labels
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrm committed Dec 8, 2023
1 parent 4570efc commit 79bc56f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/ColorPicker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,18 @@ const ColorPicker = ({
setColor(lastSelectedColor);
}}
></div>
<label>Previous</label>
<label>
{lastSelectedColor == color
? "Current"
: "Previous"}
</label>
</div>
<div className={styles.selection}>
<div
className={styles.largeSwatch}
style={{ backgroundColor: color }}
></div>
<label>New</label>
<label>{lastSelectedColor == color ? "" : "New"}</label>
</div>
</div>
<div className={styles.selection}>
Expand Down

0 comments on commit 79bc56f

Please sign in to comment.