Skip to content

Commit 5385fb7

Browse files
authored
Merge pull request #336 from travisk-codes/home-text-color
Allow Home text color to toggle for light mode
2 parents 3212d3d + 9aa9699 commit 5385fb7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/components/Home/styles.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const Title = styled.h1`
3030
font-size: 88px;
3131
text-transform: uppercase;
3232
line-height: 1;
33-
color: #fff;
33+
color: ${(props) => props.theme.main.foreground};
3434
text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
3535
margin: 32px 0;
3636
max-width: 100%;
@@ -110,7 +110,7 @@ export const MenuItemLine = styled.div`
110110
width: 100%;
111111
margin-top: -3px;
112112
bottom: 0;
113-
background: #fff;
113+
background: ${(props) => props.theme.main.foreground};
114114
transition: all 0.3s;
115115
left: 0;
116116
`
@@ -120,7 +120,7 @@ export const menuItemStyles = css`
120120
align-items: center;
121121
font-size: 22px;
122122
text-decoration: none;
123-
color: #fff;
123+
color: ${(props) => props.theme.main.foreground};
124124
position: relative;
125125
transition: color 0.3s;
126126
margin: 10px 20px 5px 0;

src/components/HomePartner/styles.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export const HomePartnerWrapper = styled.div`
88
font-family: "Oxygen Mono", monospace;
99
text-transform: uppercase;
1010
font-size: 22px;
11+
color: ${(props) => props.theme.main.foreground};
1112
`
1213

1314
export const StyledJetBrainsLogo = styled(JetBrainsLogo)`

0 commit comments

Comments
 (0)