Skip to content

Commit 9d3b116

Browse files
committed
Make all text muted color
1 parent dabffb5 commit 9d3b116

File tree

7 files changed

+29
-32
lines changed

7 files changed

+29
-32
lines changed

front/src/features/calendar/CustomCalendarHeader.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ const CustomCalendarHeader = ({ calendarRef, title, viewRange }: Props) => {
6767
<Heading
6868
fontSize="4xl"
6969
fontWeight="semibold"
70-
color="fg.muted"
7170
justifySelf="start"
7271
ml="2px"
7372
>

front/src/features/calendar/DesktopCalendarEventPopover.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,18 @@ const DesktopCalendarEventPopover = (props: Props) => {
7070
</HoverCard.Arrow>
7171
<Box>
7272
<Link
73-
color="white"
73+
color="fg"
7474
fontSize="14px"
7575
mb="7px"
7676
href={`${ROUTES.SHOW}/${showId}`}
7777
onClick={handleClickTitle}
7878
>
7979
<Text lineClamp={1}>{showName}</Text>
8080
</Link>
81-
<Text color="white" fontSize="lg" fontWeight="600" mb="3px">
81+
<Text color="fg" fontSize="lg" fontWeight="600" mb="3px">
8282
{seasonAndEpisodeNumbersFull}
8383
</Text>
84-
<Text color="white" fontSize="sm" fontStyle="italic" mb="8px">
84+
<Text color="fg" fontSize="sm" fontStyle="italic" mb="8px">
8585
{!isMulipleEvent && episodeName}
8686
</Text>
8787

@@ -93,9 +93,9 @@ const DesktopCalendarEventPopover = (props: Props) => {
9393
alignSelf="center"
9494
as={TbBoxMultiple}
9595
boxSize="14px"
96-
color="white"
96+
color="fg"
9797
/>
98-
<Text color="white" fontSize="13px" fontWeight="500">
98+
<Text color="fg" fontSize="13px" fontWeight="500">
9999
{`${multipleEventSpanAmount} episodes`}
100100
</Text>
101101
</Flex>
@@ -106,9 +106,9 @@ const DesktopCalendarEventPopover = (props: Props) => {
106106
alignSelf="center"
107107
as={HiOutlineVideoCamera}
108108
boxSize="14px"
109-
color="white"
109+
color="fg"
110110
/>
111-
<Text color="white" fontSize="13px" fontWeight="500">
111+
<Text color="fg" fontSize="13px" fontWeight="500">
112112
{network}
113113
</Text>
114114
</Flex>
@@ -119,9 +119,9 @@ const DesktopCalendarEventPopover = (props: Props) => {
119119
alignSelf="center"
120120
as={IoIosTimer}
121121
boxSize="14px"
122-
color="white"
122+
color="fg"
123123
/>
124-
<Text color="white" fontSize="13px" fontWeight="500">
124+
<Text color="fg" fontSize="13px" fontWeight="500">
125125
{runtime} mins
126126
</Text>
127127
</Flex>
@@ -130,7 +130,7 @@ const DesktopCalendarEventPopover = (props: Props) => {
130130
) : null}
131131

132132
{overview && !isMulipleEvent && (
133-
<Text color="white" fontSize="sm" mt="9px">
133+
<Text color="fg" fontSize="sm" mt="9px">
134134
{overview}
135135
</Text>
136136
)}

front/src/features/following/Show.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,19 +66,12 @@ const Show = (props: Props) => {
6666
onClick={onShowClick}
6767
textAlign="center"
6868
textDecoration={isImageHovered ? 'underline' : 'none'}
69-
textUnderlineOffset="2px"
7069
_hover={{
7170
textDecoration: 'underline',
7271
}}
7372
href={`${ROUTES.SHOW}/${id}`}
7473
>
75-
<Heading
76-
as="button"
77-
cursor="pointer"
78-
fontSize="md"
79-
lineClamp={1}
80-
color="fg.muted"
81-
>
74+
<Heading as="button" cursor="pointer" fontSize="md" lineClamp={1}>
8275
{name}
8376
</Heading>
8477
</Link>

front/src/features/search/PopularShow.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,11 @@ const PopularShow = ({ show }: Props) => {
7070
onClick={onShowClick}
7171
m="0 auto"
7272
textDecoration={isImageHovered ? 'underline' : 'none'}
73-
textUnderlineOffset="2px"
7473
_hover={{
7574
textDecoration: 'underline',
7675
}}
7776
>
78-
<Heading
79-
as="button"
80-
cursor="pointer"
81-
fontSize="md"
82-
lineClamp={1}
83-
color="fg.muted"
84-
>
77+
<Heading as="button" cursor="pointer" fontSize="md" lineClamp={1}>
8578
{name}
8679
</Heading>
8780
</Link>

front/src/features/show/EpisodesTable.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ const EpisodesTable = ({ episodes }: Props) => {
2222
id: 'episodeNumber',
2323
accessorKey: 'episodeNumber',
2424
size: 40,
25-
header: () => <Text>#</Text>,
25+
header: () => <Text color="fg.muted">#</Text>,
2626
},
2727
{
2828
id: 'name',
2929
accessorKey: 'name',
3030
size: 100,
31-
header: () => <Text>Title</Text>,
31+
header: () => <Text color="fg.muted">Title</Text>,
3232
},
3333
{
3434
id: 'airDate',
3535
size: 80,
3636
accessorFn: row =>
3737
row.airDate && dayjs(row.airDate).format('MMMM D, YYYY'),
38-
header: () => <Text>Air Date</Text>,
38+
header: () => <Text color="fg.muted">Air Date</Text>,
3939
},
4040
{
4141
id: 'voteAverage',
@@ -44,7 +44,11 @@ const EpisodesTable = ({ episodes }: Props) => {
4444
style: { textAlign: 'center' },
4545
},
4646
accessorFn: row => row.voteAverage,
47-
header: () => <Text textAlign="center">Rating</Text>,
47+
header: () => (
48+
<Text color="fg.muted" textAlign="center">
49+
Rating
50+
</Text>
51+
),
4852
cell: ({ row }) => (
4953
<Text textAlign="center">{row.original.voteAverage}</Text>
5054
),

front/src/features/show/ShowDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const ShowDetails = () => {
3939
return (
4040
<Box w="100%">
4141
<DelayedSkeleton isLoading={isLoading}>
42-
<Heading as="h3" fontSize="3xl" mb="7px" color="fg.muted">
42+
<Heading as="h3" fontSize="3xl" mb="7px">
4343
{name}{' '}
4444
{yearsActive && (
4545
<chakra.span fontSize="2xl" fontWeight="600">

front/src/theme/theme.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,18 @@ const customConfig = defineConfig({
1111
},
1212
body: {
1313
backgroundColor: 'bg.muted',
14+
color: 'fg.muted',
1415
},
1516
},
1617

1718
theme: {
19+
recipes: {
20+
heading: {
21+
base: {
22+
color: 'fg.muted',
23+
},
24+
},
25+
},
1826
tokens: {
1927
fonts: {
2028
heading: { value: '"DM Sans", sans-serif' },

0 commit comments

Comments
 (0)