Skip to content

Commit 385c3f9

Browse files
committed
changed button text/changed button text color
1 parent da1af07 commit 385c3f9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/cards/AlliesCard/AlliesCard.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function AlliesCard() {
4949
darkMode ? "dark" : "light"
5050
}AllieDarkButton`}
5151
>
52-
Dark Mode
52+
{darkMode ? "Light Mode" : "Dark Mode"}
5353
</button>
5454
</div>
5555
</div>

src/cards/AlliesCard/AlliesCard.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
.allieDarkButton {
7171
border-radius: 2rem;
7272
font-size: 0.8rem;
73-
width: 5rem;
73+
width: auto;
7474
height: 1.5rem;
7575
}
7676

@@ -92,4 +92,5 @@
9292

9393
.darkAllieDarkButton:hover {
9494
background-color: rgb(51, 206, 226);
95+
color: black;
9596
}

0 commit comments

Comments
 (0)