File tree Expand file tree Collapse file tree 5 files changed +9
-0
lines changed
Expand file tree Collapse file tree 5 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ const StyledLink = styled(GatsbyLink)`
1313 props . primary ? "var(--white)" : "var(--peach)" } ;
1414 color: ${ ( props ) => ( props . primary ? "var(--black)" : "var(--white)" ) } ;
1515 text-decoration: none;
16+ transition: var(--transition);
1617 &:hover {
1718 cursor: pointer;
1819 background-color: var(--light-peach);
Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ export const SubmitButton = styled.button`
4747 background-color: var(--white);
4848 color: var(--black);
4949 text-decoration: none;
50+ transition: var(--transition);
51+
5052 &:hover {
5153 cursor: pointer;
5254 background-color: var(--light-peach);
Original file line number Diff line number Diff line change @@ -114,6 +114,10 @@ export const SocialsList = styled.ul`
114114 margin: 40px auto;
115115 padding-left: 0;
116116
117+ a {
118+ transition: var(--transition);
119+ }
120+
117121 a:hover,
118122 a:focus {
119123 filter: brightness(1.4);
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ export const ProjectLink = styled(Link)`
2525 top: 0;
2626 left: 0;
2727 border-radius: 15px;
28+ transition: var(--transition);
2829 }
2930 &:hover,
3031 &:focus {
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ const GlobalStyle = createGlobalStyle`
99 --dark-grey: hsl(264, 5%, 20%);
1010 --light-grey: hsl(210, 17%, 95%);
1111 --site-container: 1111px;
12+ --transition: all 0.3s ease-in-out;
1213 }
1314 html {
1415 box-sizing: border-box;
You can’t perform that action at this time.
0 commit comments