Skip to content

Commit

Permalink
fix(icons): update icons color
Browse files Browse the repository at this point in the history
  • Loading branch information
hamidroohi92 committed Sep 19, 2024
1 parent a8299de commit c515288
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
10 changes: 10 additions & 0 deletions pages/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,13 @@ label div p.leading-tight {
border-color: #ff0083 !important;
}


.VotingIcon svg:first-child path {
fill: #000;

}

.VotingIcon svg:first-child path {
fill: #ff0083;

}
6 changes: 3 additions & 3 deletions plugins/tokenVoting/pages/new.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export default function Create() {
<Icon
className={
"mt-2 !h-12 !w-10 p-2 " +
(actionType === ActionType.Signaling ? "text-primary-400" : "text-neutral-400")
(actionType === ActionType.Signaling ? "text-[#ff0083]" : "text-neutral-400")
}
icon={IconType.INFO}
size="lg"
Expand All @@ -188,7 +188,7 @@ export default function Create() {
<Icon
className={
"mt-2 !h-12 !w-10 p-2 " +
(actionType === ActionType.Withdrawal ? "text-primary-400" : "text-neutral-400")
(actionType === ActionType.Withdrawal ? "text-[#ff0083]" : "text-neutral-400")
}
icon={IconType.WITHDRAW}
size="lg"
Expand All @@ -203,7 +203,7 @@ export default function Create() {
>
<Icon
className={
"mt-2 !h-12 !w-10 p-2 " + (actionType === ActionType.Custom ? "text-primary-400" : "text-neutral-400")
"mt-2 !h-12 !w-10 p-2 " + (actionType === ActionType.Custom ? "text-[#ff0083]" : "text-neutral-400")
}
icon={IconType.BLOCKCHAIN_BLOCKCHAIN}
size="lg"
Expand Down
2 changes: 1 addition & 1 deletion plugins/tokenVoting/pages/proposal-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default function Proposals() {
</ElseIf>
<ElseIf condition={isConnected}>
<SectionView>
<Card className="w-full">
<Card className="VotingIcon w-full ">
<EmptyState
className="w-full md:w-full lg:w-full xl:w-full"
heading="There are no proposals yet"
Expand Down

0 comments on commit c515288

Please sign in to comment.