From 34f572c4d58c1d15500932d1ce5810b5915c492c Mon Sep 17 00:00:00 2001 From: Welton Felix Date: Sun, 6 Aug 2023 20:46:19 -0300 Subject: [PATCH] Corrige erros de linting --- src/components/HomeSections/HeroHeader/styles.ts | 3 ++- src/components/HomeSections/Section/styles.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/HomeSections/HeroHeader/styles.ts b/src/components/HomeSections/HeroHeader/styles.ts index 0cabaf6..02cfe7b 100644 --- a/src/components/HomeSections/HeroHeader/styles.ts +++ b/src/components/HomeSections/HeroHeader/styles.ts @@ -11,7 +11,8 @@ export const Container = styled.div` display: flex; - background: ${(props) => + background: + ${(props) => props.theme === darkTheme ? 'linear-gradient(90deg, rgba(0, 0, 0, 0.69) 0%, rgba(0, 0, 0, 0.46) 100%)' : 'linear-gradient(90deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.25) 100%)'}, diff --git a/src/components/HomeSections/Section/styles.ts b/src/components/HomeSections/Section/styles.ts index c711b7c..a70d619 100644 --- a/src/components/HomeSections/Section/styles.ts +++ b/src/components/HomeSections/Section/styles.ts @@ -8,7 +8,8 @@ export const Container = styled.div` width: 100vw !important; max-width: 100%; - background: ${(props) => (props.$accent ? props.theme.sectionAccent : 'none')}; + background: ${(props) => + props.$accent ? props.theme.sectionAccent : 'none'}; `; export const Content = styled.div`