Skip to content

Commit

Permalink
Merge pull request blockscout#30 from mantlenetworkio/albert/theme
Browse files Browse the repository at this point in the history
update home page theme color
  • Loading branch information
Jaycelv committed Nov 28, 2022
2 parents 45cfced + 81a5d5a commit 6c81dff
Show file tree
Hide file tree
Showing 9 changed files with 1,166 additions and 15 deletions.
2 changes: 1 addition & 1 deletion apps/block_scout_web/assets/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ $fa-font-path: "~@fortawesome/fontawesome-free/webfonts";
// Font Awesome
@import "components/_fontawesome_icon";

@import "theme/dark-theme";
@import "theme/mantle-theme";

@import "theme/custom_contracts/dark-forest-theme";
@import "theme/custom_contracts/circles-theme";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ $dashboard-banner-chart-axis-font-color-alt: #333;
.dashboard-banner-network-plain-container {
align-items: center;
align-self: flex-end;
background-color: $dashboard-banner-network-plain-container-background-color;
background-color: transparent;
border-top-left-radius: 10px;
display: flex;
height: $dashboard-banner-network-plain-container-height;
Expand Down Expand Up @@ -234,7 +234,7 @@ $dashboard-banner-chart-axis-font-color-alt: #333;
}

&::after {
background-color: $dashboard-banner-network-plain-container-background-color;
background-color: transparent;
bottom: 0;
content: "";
display: block;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.fontawesome-icon {
background-color: $footer-text-color;
background-color: #fff;

&.github {
-webkit-mask: url(../static/images/icons/fontawesome/github.svg) no-repeat center;
Expand Down
6 changes: 3 additions & 3 deletions apps/block_scout_web/assets/css/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ $footer-logo-height: 28px !default;
$footer-logo-width: auto !default;

.footer {
background: $footer-background-color;
color: $footer-text-color;
background: #091312;
color: #fff;
font-size: 12px;
line-height: 1.67;
margin: 0;
Expand Down Expand Up @@ -62,7 +62,7 @@ $footer-logo-width: auto !default;
}

.footer-link {
color: $footer-link-color;
color: #fff;

&:hover {
color: $footer-link-color;
Expand Down
2 changes: 1 addition & 1 deletion apps/block_scout_web/assets/css/components/_navbar.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Default variables
$header-background-color: #fff !default;
$header-links-color: #828ba0 !default;
$header-links-color: #21413F !default;
$header-links-color-active: #333 !default;
$header-icon-color: $header-links-color !default;
$header-icon-color-hover: $secondary !default;
Expand Down
2 changes: 1 addition & 1 deletion apps/block_scout_web/assets/css/main-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@
// Font Awesome
@import "components/_fontawesome_icon";

@import "theme/dark-theme";
@import "theme/mantle-theme";
4 changes: 2 additions & 2 deletions apps/block_scout_web/assets/css/theme/_base_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ $colors: map-merge(
);

$primary: $indigo !default;
$dark-primary: #9b62ff !default;
$dark-primary-alternate: #9b62ff !default;
$dark-primary: #65B3AE !default;
$dark-primary-alternate: #65B3AE !default;
$secondary: #7dd79f !default;
$dark-secondary: #87e1a9 !default;
$tertiary: $purple !default;
Expand Down

0 comments on commit 6c81dff

Please sign in to comment.