Skip to content

Commit ddc7037

Browse files
change color of upcoming slot text in leader schedule to make it less confusing with linked slot text
1 parent b6ac64a commit ddc7037

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

src/features/LeaderSchedule/Slots/UpcomingSlotCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function UpcomingSlotBody({
9191
</Flex>
9292
<Text className={styles.pubkeyText}>{pubkey}</Text>
9393
<Flex flexGrow="1" justify="center">
94-
<Text className={styles.slot}>{slot}</Text>
94+
<Text>{slot}</Text>
9595
</Flex>
9696
<TimeTillText slot={slot} />
9797
</Flex>
@@ -116,7 +116,7 @@ function MobileUpcomingSlotBody({
116116
</Text>
117117
</Flex>
118118
<Flex justify="between">
119-
<Text className={styles.slot}>{slot}</Text>
119+
<Text>{slot}</Text>
120120
<TimeTillText slot={slot} isNarrowScreen />
121121
</Flex>
122122
</Flex>

src/features/LeaderSchedule/Slots/upcomingSlot.module.css

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,16 @@
33
border-radius: 8px;
44
border: 1px solid #1c1e2b;
55
background: #101123;
6+
color: #b2bcc9;
67

78
.name-text {
8-
color: #b2bcc9;
99
width: 240px;
1010
overflow: hidden;
1111
white-space: nowrap;
1212
text-overflow: ellipsis;
1313
}
1414

1515
.pubkey-text {
16-
color: #b2bcc9;
1716
min-width: 390px;
1817
overflow: hidden;
1918
white-space: nowrap;
@@ -33,19 +32,9 @@
3332
&.one-away {
3433
border: 1px solid #295060;
3534
background: #142432;
36-
/* opacity: 1.2 */
37-
}
38-
39-
.next-leader {
40-
color: #41b9d3;
41-
}
42-
43-
.slot {
44-
color: #72aff6;
4535
}
4636

4737
.time-till {
48-
color: #b2bcc9;
4938
min-width: 250px;
5039

5140
&.narrow-screen {

0 commit comments

Comments
 (0)