mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
Merge pull request #336 from travisk-codes/home-text-color
Allow Home text color to toggle for light mode
This commit is contained in:
@@ -30,7 +30,7 @@ export const Title = styled.h1`
|
|||||||
font-size: 88px;
|
font-size: 88px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
color: #fff;
|
color: ${(props) => props.theme.main.foreground};
|
||||||
text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
|
text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
|
||||||
margin: 32px 0;
|
margin: 32px 0;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
@@ -110,7 +110,7 @@ export const MenuItemLine = styled.div`
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: -3px;
|
margin-top: -3px;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
background: #fff;
|
background: ${(props) => props.theme.main.foreground};
|
||||||
transition: all 0.3s;
|
transition: all 0.3s;
|
||||||
left: 0;
|
left: 0;
|
||||||
`
|
`
|
||||||
@@ -120,7 +120,7 @@ export const menuItemStyles = css`
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #fff;
|
color: ${(props) => props.theme.main.foreground};
|
||||||
position: relative;
|
position: relative;
|
||||||
transition: color 0.3s;
|
transition: color 0.3s;
|
||||||
margin: 10px 20px 5px 0;
|
margin: 10px 20px 5px 0;
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ export const HomePartnerWrapper = styled.div`
|
|||||||
font-family: "Oxygen Mono", monospace;
|
font-family: "Oxygen Mono", monospace;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
|
color: ${(props) => props.theme.main.foreground};
|
||||||
`
|
`
|
||||||
|
|
||||||
export const StyledJetBrainsLogo = styled(JetBrainsLogo)`
|
export const StyledJetBrainsLogo = styled(JetBrainsLogo)`
|
||||||
|
|||||||
Reference in New Issue
Block a user