We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f040c63 commit 16c9a61Copy full SHA for 16c9a61
src/pages/Main/Intro/Intro.styled.tsx
@@ -6,7 +6,10 @@ export const Container = styled.div<{ $isMobile: boolean; $isTablet: boolean }>`
6
align-items: flex-start;
7
justify-content: center;
8
height: ${({ $isMobile, $isTablet }) => ($isMobile ? "80vh" : $isTablet ? "100vh" : "110vh")};
9
- background: linear-gradient(90deg, #28723F, #A2E9B8);
+ background: ${({ $isMobile }) => (
10
+ $isMobile ? "linear-gradient(90deg, #28723F, #75e298)"
11
+ : "linear-gradient(90deg, #28723F, #A2E9B8)"
12
+ )};
13
padding: ${({ $isMobile }) => ($isMobile ? "0px" : "50px")};
14
color: white;
15
`;
0 commit comments