Skip to content

Commit

Permalink
Объявляю переменную для более светлого цвета текста и применяю
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksimDoronin committed Dec 6, 2024
1 parent 3abf0b2 commit a621298
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion source/styles/blocks/contacts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
.contacts__address {
@include font($primary-font, 14px, 20px);
font-style: normal;
color: $fifth-color;
color: $secondary-color;
}
2 changes: 1 addition & 1 deletion source/styles/blocks/example.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

.example__desc {
@include font($primary-font, 12px, 12px);
color: $fifth-color;
color: $secondary-color;
}

.example__info-row .example__desc {
Expand Down
2 changes: 1 addition & 1 deletion source/styles/blocks/features.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@

.features__desc {
@include font;
color: $fifth-color;
color: $secondary-color;
}
2 changes: 1 addition & 1 deletion source/styles/blocks/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@

.footer__copyright {
@include font($primary-font, 16px, 20px);
color: $fifth-color;
color: $secondary-color;
}
4 changes: 2 additions & 2 deletions source/styles/blocks/product-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

.product-card__desc {
@include font($primary-font, 12px, 16px);
color: $fifth-color;
color: $secondary-color;
}

.product-card--all .product-card__title {
Expand All @@ -23,5 +23,5 @@

.product-card--all .product-card__button {
background-color: $eleventh-color;
color: $fifth-color;
color: $secondary-color;
}
2 changes: 1 addition & 1 deletion source/styles/blocks/programms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

.programms__text {
@include font;
color: $fifth-color;
color: $secondary-color;
}

.programms__link {
Expand Down
2 changes: 1 addition & 1 deletion source/styles/blocks/sub-products.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@

.sub-products__desc {
@include font($primary-font, 14px, 14px);
color: $fifth-color;
color: $secondary-color;
}
6 changes: 3 additions & 3 deletions source/styles/common/variables.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* здесь используйте глобальные переменные */
/* цвета */
$body-color: #000000;
$body-bg: #ffffff;
$body-color: #000000; // Передний план (цвет) по умолчанию, включая компоненты
$body-bg: #ffffff; // Фон(цвет) по умолчанию, включая компоненты
$secondary-color: #444444; // Цвет более светлого текста
$third-color: #111111;
$fourth-color: #222222;
$fifth-color: #444444;
$sixth-color: #666666;
$seventh-color: #cdcdcd;
$eighth-color: #d3d3d3;
Expand Down

0 comments on commit a621298

Please sign in to comment.