Skip to content

Commit

Permalink
fix(schedules): dark mode text color in weekly view (#2256)
Browse files Browse the repository at this point in the history
  • Loading branch information
Al11o authored Aug 7, 2024
1 parent 82a01fc commit 385311c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/features/meetings/weekly_schedules/ScheduleComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const ScheduleWeekTitle = ({
alignItems: 'center',
gap: '16px',
color: color,
[theme.breakpoints.down('desktop')]: {
[theme.breakpoints.down('md')]: {
flexDirection: 'column',
gap: '8px',
alignItems: 'flex-start',
Expand Down Expand Up @@ -319,7 +319,7 @@ const ScheduleMemberRow = ({
}}
>
{female ? <IconFemale /> : <IconMale />}
<span style={{ color: 'black' }} className="body-regular">
<span style={{ color: 'var(--black)' }} className="body-regular">
{name}
</span>
</Box>
Expand Down
14 changes: 7 additions & 7 deletions src/features/meetings/weekly_schedules/midweekMeeting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const MidweekMeeting = () => {
<SchedulePickerHeader lastUpdated={lastUpdated} />
<ScheduleGrid>
<ScheduleItemTitle>
<ScheduleWeekTitle color="black">
<ScheduleWeekTitle color="var(--black)">
<Box>
8 November 2023 |{' '}
<Box
Expand Down Expand Up @@ -69,8 +69,8 @@ const MidweekMeeting = () => {
</ScheduleMembers>
</ScheduleItemTitle>
<ScheduleItem>
<ScheduleTitle color="black">
<IconSong />
<ScheduleTitle color="var(--black)">
<IconSong color="var(--black)" />
Song 109 – “Jehovah’s Warm Appeal: “Be Wise, My Son”
</ScheduleTitle>
<ScheduleMembers>
Expand All @@ -87,8 +87,8 @@ const MidweekMeeting = () => {
/>
<ScheduleItem>
<Box>
<ScheduleTitle color="black">
<IconSong />
<ScheduleTitle color="var(--black)">
<IconSong color="var(--black)" />
Song 109 – “Jehovah’s Warm Appeal: “Be Wise, My Son”
</ScheduleTitle>
</Box>
Expand Down Expand Up @@ -201,8 +201,8 @@ const MidweekMeeting = () => {
</ScheduleMembers>
</ScheduleItem>
<ScheduleItem>
<ScheduleTitle color="black">
<IconSong />
<ScheduleTitle color="var(--black)">
<IconSong color="var(--black)" />
Song 109 – “Jehovah’s Warm Appeal: “Be Wise, My Son”
</ScheduleTitle>

Expand Down
16 changes: 9 additions & 7 deletions src/features/meetings/weekly_schedules/weekendMeeting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ const WeekendMeeting = () => {
<SchedulePickerHeader lastUpdated={lastUpdated} />
<ScheduleGrid>
<ScheduleItemTitle>
<ScheduleWeekTitle color="black">8 November 2023</ScheduleWeekTitle>
<ScheduleWeekTitle color="var(--black)">
8 November 2023
</ScheduleWeekTitle>
<ScheduleMembers>
<ScheduleMemberRow
type={t('tr_chairman') + ':'}
Expand All @@ -43,8 +45,8 @@ const WeekendMeeting = () => {
</ScheduleMembers>
</ScheduleItemTitle>
<ScheduleItem>
<ScheduleTitle color="black">
<IconSong />
<ScheduleTitle color="var(--black)">
<IconSong color="var(--black)" />
Song 109 – “Jehovah’s Warm Appeal: “Be Wise, My Son”
</ScheduleTitle>
<ScheduleMembers>
Expand Down Expand Up @@ -79,8 +81,8 @@ const WeekendMeeting = () => {
/>

<ScheduleItem>
<ScheduleTitle color="black">
<IconSong />
<ScheduleTitle color="var(--black)">
<IconSong color="var(--black)" />
Song 109 – “Jehovah’s Warm Appeal: “Be Wise, My Son”
</ScheduleTitle>
</ScheduleItem>
Expand All @@ -105,8 +107,8 @@ const WeekendMeeting = () => {
</ScheduleMembers>
</ScheduleItem>
<ScheduleItem>
<ScheduleTitle color="black">
<IconSong />
<ScheduleTitle color="var(--black)">
<IconSong color="var(--black)" />
Song 109 – “Jehovah’s Warm Appeal: “Be Wise, My Son”
</ScheduleTitle>
<ScheduleMembers>
Expand Down

0 comments on commit 385311c

Please sign in to comment.