Skip to content

Commit

Permalink
vote color update
Browse files Browse the repository at this point in the history
  • Loading branch information
z0ccc committed Sep 19, 2023
1 parent 0763b1c commit 7d58bb9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/components/VoteButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ const VoteButton = ({ vote, voteType, handleClick, size }) => {
'svg > path': {
fill:
vote !== voteType ? 'button' : voteType === 1 ? 'orange' : 'purple',
stroke:
vote !== voteType ? 'button' : voteType === 1 ? 'orange' : 'purple',
},
}}
onClick={() => handleClick(voteType)}
Expand Down
2 changes: 1 addition & 1 deletion src/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const theme = {
primaryText: '#202122',
secondaryText: '#818283',
background: '#fff',
button: '#e6e6e6',
button: '#cfcfcf',
orange: '#ff8a5e',
purple: '#9293FE',
error: '#eb3b5a',
Expand Down

0 comments on commit 7d58bb9

Please sign in to comment.