From ad9bd24ab604d46b4073bc1894f52ae0b704cda2 Mon Sep 17 00:00:00 2001 From: Luiz Felipe Silva Date: Sun, 15 Jan 2023 16:51:31 -0300 Subject: [PATCH] =?UTF-8?q?style:=20trocado=20cor=20hexadecimal=20por=20va?= =?UTF-8?q?ri=C3=A1vel=20sass.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Header/Form.module.scss | 6 ++++-- src/components/Header/HeaderWrapper.module.scss | 8 +++++--- src/components/Header/LogoM3.tsx | 8 -------- src/components/Header/Nav.module.scss | 6 ++++-- src/components/Header/User.module.scss | 4 +++- src/pages/Header.tsx | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 src/components/Header/LogoM3.tsx diff --git a/src/components/Header/Form.module.scss b/src/components/Header/Form.module.scss index aca2fcb..71e3e74 100644 --- a/src/components/Header/Form.module.scss +++ b/src/components/Header/Form.module.scss @@ -1,3 +1,5 @@ +@import "../../styles/utils/variables.scss"; + .form { position: relative; @@ -13,7 +15,7 @@ border-radius: 5px; padding: 7px 16px 7px 16px; outline: 0; - border: 2px solid #f2f2f2; + border: 2px solid $primary-700; @media (min-width: 2500px) { height: 57px; @@ -29,7 +31,7 @@ &::placeholder { font-weight: 400; - color: #c4c4c4; + color: $primary-600; } } diff --git a/src/components/Header/HeaderWrapper.module.scss b/src/components/Header/HeaderWrapper.module.scss index 01ee583..d55884b 100644 --- a/src/components/Header/HeaderWrapper.module.scss +++ b/src/components/Header/HeaderWrapper.module.scss @@ -1,11 +1,13 @@ -.header { +@import "../../styles/utils/variables.scss"; + +.headerWrapper { display: flex; justify-content: space-between; height: 76px; align-items: center; - border-bottom: 1px solid #c4c4c4; + border-bottom: 1px solid $primary-600; padding: 0 100px; - background-color: #000000; + background-color: $black; @media (min-width: 2500px) { padding: 22px 100px; diff --git a/src/components/Header/LogoM3.tsx b/src/components/Header/LogoM3.tsx deleted file mode 100644 index 97aa835..0000000 --- a/src/components/Header/LogoM3.tsx +++ /dev/null @@ -1,8 +0,0 @@ -// Imagem -import logoM3 from "../../assets/svg/logo.svg"; - -const LogoM3 = () => { - return M3 Academy; -}; - -export { LogoM3 }; diff --git a/src/components/Header/Nav.module.scss b/src/components/Header/Nav.module.scss index 27a06ce..31726b8 100644 --- a/src/components/Header/Nav.module.scss +++ b/src/components/Header/Nav.module.scss @@ -1,6 +1,8 @@ +@import "../../styles/utils/variables.scss"; + .nav { padding: 14px 100px; - background-color: #000; + background-color: $black; text-decoration: none; @media (max-width: 1024px) { @@ -21,7 +23,7 @@ font-weight: 400; line-height: 16px; text-transform: uppercase; - color: #fff; + color: $white; text-decoration: none; transition: all 0.3s linear; diff --git a/src/components/Header/User.module.scss b/src/components/Header/User.module.scss index 74e4c79..26ebf8d 100644 --- a/src/components/Header/User.module.scss +++ b/src/components/Header/User.module.scss @@ -1,9 +1,11 @@ +@import "../../styles/utils/variables.scss"; + .user { display: flex; align-items: center; a { - color: #fff; + color: $white; font-size: 14px; font-weight: 400; line-height: 16px; diff --git a/src/pages/Header.tsx b/src/pages/Header.tsx index 30c97f9..f6d69bd 100644 --- a/src/pages/Header.tsx +++ b/src/pages/Header.tsx @@ -14,7 +14,7 @@ import styleHeaderWrapper from "../components/header/HeaderWrapper.module.scss"; const Header = () => { return (
-
+