Skip to content

Commit dcd238f

Browse files
travisk-codesveksen
authored andcommitted
Toggle Home text color for light mode
1 parent 3212d3d commit dcd238f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-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;

0 commit comments

Comments
 (0)