feat: adiciona variaveis de cores e fonte #7

Merged
emmanuelvitor merged 1 commits from feature/variaveiCoresSass into development 2023-02-09 02:15:22 +00:00
6 changed files with 37 additions and 32 deletions

View File

@ -9,7 +9,7 @@
/* Grid breakpoints */ /* Grid breakpoints */
.newsletter { .newsletter {
background: #000000; background: #000000;
color: #fff; color: #ffffff;
margin: 64px 0; margin: 64px 0;
} }
@media (max-width: 1024px) { @media (max-width: 1024px) {
@ -40,13 +40,13 @@
font-size: 0; font-size: 0;
} }
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) .label::before { .newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) .label::before {
font-family: "Open Sans", sans-serif; font-family: "Open Sans";
content: "Assine nossa newsletter"; content: "Assine nossa newsletter";
font-weight: 400; font-weight: 400;
font-size: 24px; font-size: 24px;
line-height: 38px; line-height: 38px;
text-align: center; text-align: center;
color: #FFFFFF; color: #ffffff;
padding-bottom: 4px; padding-bottom: 4px;
} }
@media (max-width: 1920px) { @media (max-width: 1920px) {
@ -56,7 +56,7 @@
} }
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) .label::after { .newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) .label::after {
content: "Receba ofertas e novidades por e-mail"; content: "Receba ofertas e novidades por e-mail";
font-family: "Open Sans", sans-serif; font-family: "Open Sans";
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;
@ -86,7 +86,7 @@
color: #929292; color: #929292;
} }
.newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input)::placeholder { .newsletter :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-inputGroup) :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input)::placeholder {
font-family: "Open Sans", sans-serif; font-family: "Open Sans";
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;

View File

@ -34,7 +34,7 @@
} }
:global(.vtex-product-summary-2-x-brandName) { :global(.vtex-product-summary-2-x-brandName) {
font-family: "Open Sans"; font-family: $font-family;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;
@ -58,14 +58,14 @@
padding-top: 0 !important; padding-top: 0 !important;
padding-bottom: 0 !important; padding-bottom: 0 !important;
font-family: 'Open Sans'; font-family: $font-family;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
text-align: center; text-align: center;
text-decoration-line: line-through; text-decoration-line: line-through;
color: #BABABA; color: $color-gray9;
@media (max-width:767px) { @media (max-width:767px) {
font-size: 12px; font-size: 12px;
@ -79,7 +79,7 @@
} }
.price_sellingPrice { .price_sellingPrice {
font-family: 'Open Sans'; font-family: $font-family;
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 700;
font-size: 24px; font-size: 24px;
@ -93,4 +93,4 @@
} }
} }
} }

View File

@ -1,19 +1,19 @@
.container--m3-shipping-simulator-title { .container--m3-shipping-simulator-title {
.paragraph { .paragraph {
font-family: 'Open Sans'; font-family: $font-family;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
color: #929292; color: $color-gray6;
text-transform: uppercase; text-transform: uppercase;
margin-bottom: 8px; margin-bottom: 8px;
} }
} }
.paragraph--m3-shelf-related-title { .paragraph--m3-shelf-related-title {
font-family: 'Open Sans'; font-family: $font-family;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 24px; font-size: 24px;
@ -21,7 +21,7 @@
text-align: center; text-align: center;
color: #575757; color: $color-black3;
@media (max-width:768px) { @media (max-width:768px) {
font-size: 20px; font-size: 20px;

View File

@ -1,6 +1,6 @@
.newsletter { .newsletter {
background: $color-black; background: $color-black;
color: #fff; color: $color-white;
margin: 64px 0; margin: 64px 0;
@ -30,13 +30,13 @@
font-size: 0; font-size: 0;
&::before { &::before {
font-family: 'Open Sans', sans-serif; font-family: $font-family;
content: "Assine nossa newsletter"; content: "Assine nossa newsletter";
font-weight: 400; font-weight: 400;
font-size: 24px; font-size: 24px;
line-height: 38px; line-height: 38px;
text-align: center; text-align: center;
color: #FFFFFF; color: $color-white;
padding-bottom: 4px; padding-bottom: 4px;
@media (max-width:1920px) { @media (max-width:1920px) {
@ -46,13 +46,13 @@
&::after { &::after {
content: "Receba ofertas e novidades por e-mail"; content: "Receba ofertas e novidades por e-mail";
font-family: 'Open Sans', sans-serif; font-family: $font-family;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;
line-height: 25px; line-height: 25px;
text-align: center; text-align: center;
color: #929292; color: $color-gray6;
@media (max-width:1024px) { @media (max-width:1024px) {
font-size: 16px; font-size: 16px;
@ -63,7 +63,7 @@
} }
:global(.vtex-store-components-3-x-inputGroup) { :global(.vtex-store-components-3-x-inputGroup) {
border-bottom: 1px solid #929292; border-bottom: 1px solid $color-gray6;
@media (max-width:1024px) { @media (max-width:1024px) {
display: flex; display: flex;
@ -77,16 +77,16 @@
:global(.vtex-styleguide-9-x-input) { :global(.vtex-styleguide-9-x-input) {
background: transparent; background: transparent;
color: #929292; color: $color-gray6;
&::placeholder { &::placeholder {
font-family: 'Open Sans', sans-serif; font-family: $font-family;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;
line-height: 25px; line-height: 25px;
color: #929292; color: $color-gray6;
@media (max-width:1024px) { @media (max-width:1024px) {
font-size: 12px; font-size: 12px;
@ -112,7 +112,7 @@
width: 100%; width: 100%;
max-width: 84px; max-width: 84px;
height: 32px; height: 32px;
border-bottom: 3px solid #BFBFBF; border-bottom: 3px solid $color-gray8;
} }
} }
} }
@ -129,7 +129,7 @@
font-weight: 400; font-weight: 400;
font-size: 24px; font-size: 24px;
line-height: 32px; line-height: 32px;
color: #575757; color: $color-black3;
} }
.content { .content {
@ -139,7 +139,7 @@
font-weight: 400; font-weight: 400;
font-size: 16px; font-size: 16px;
line-height: 22px; line-height: 22px;
color: #929292; color: $color-gray6;
max-width: 632px; max-width: 632px;
// max-width: 632px !important; // max-width: 632px !important;

View File

@ -27,7 +27,7 @@
:global(.vtex-button) { :global(.vtex-button) {
:global(.vtex-button__label) { :global(.vtex-button__label) {
font-family: 'Open Sans'; font-family: $font-family;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: 18px;
@ -37,14 +37,14 @@
align-items: center; align-items: center;
text-align: center; text-align: center;
color: #BFBFBF; color: $COLOR-GRAY8;
text-transform: capitalize; text-transform: capitalize;
} }
} }
} }
.listItem--m3-tab-list-item-product { .listItem--m3-tab-list-item-product {
background: #fff; background: $color-white;
border: none !important; border: none !important;
width: 114px; width: 114px;
@ -52,12 +52,12 @@
.listItemActive--m3-tab-list-item-product, .listItemActive--m3-tab-list-item-product,
.listItemActive { .listItemActive {
background: #fff; background: $color-white;
border: none !important; border: none !important;
:global(.vtex-button) { :global(.vtex-button) {
background-color: #fff; background-color: $color-white;
border: none; border: none;
border-bottom: 2px solid #000000; border-bottom: 2px solid #000000;
border-radius: 0; border-radius: 0;

View File

@ -1,14 +1,19 @@
$font-family : "Open Sans"; $font-family : "Open Sans";
$color-black: #000000; $color-black: #000000;
$color-black2: #292929; $color-black2: #292929;
$color-black3: #575757;
$color-white: #fff; $color-white: #ffffff;
$color-gray: #6c6c6c; $color-gray: #6c6c6c;
$color-gray2: #7d7d7d; $color-gray2: #7d7d7d;
$color-gray3: #f0f0f0; $color-gray3: #f0f0f0;
$color-gray4: #c4c4c4; $color-gray4: #c4c4c4;
$color-gray5: #e5e5e5; $color-gray5: #e5e5e5;
$color-gray6: #929292;
$color-gray7: #AFAFAF;
$color-gray8: #BFBFBF;
$color-gray9: #BABABA;
$color-blue: #4267b2; $color-blue: #4267b2;