Skip to content

Commit

Permalink
chore: change halving color to mainnet primary
Browse files Browse the repository at this point in the history
  • Loading branch information
PainterPuppets committed Oct 2, 2023
1 parent bb615b8 commit 67f8a33
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 24 deletions.
Binary file modified src/assets/ckb_base_issuance_trend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/halving_banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/halving_banner_success.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/halving_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/halving_success_ani.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/halving_success_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 5 additions & 9 deletions src/components/Banner/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ $backgroudColor: #232323;

.halvingBannerSuccess {
background-size: cover;
background-position: center !important;

@media (min-width: 750px) {
background-size: 250% !important;
}
background-position: center;
}

.halvingBannerWrapper {
Expand Down Expand Up @@ -74,19 +70,19 @@ $backgroudColor: #232323;
text-transform: capitalize;

&.linear {
background: linear-gradient(45deg, rgb(183, 129, 219), rgba(133, 69, 178, 1), rgb(183, 129, 219));
background: linear-gradient(45deg, rgb(130, 203, 140), rgb(121, 122, 121), rgb(172, 221, 181));
background-clip: text;
-webkit-text-fill-color: transparent;
}

&.success {
transform: rotate(-2deg);
text-shadow: 1px 1px 1px rgba(172, 54, 244, 1), -0.5px -0.5px 1px white;
text-shadow: 1px 1px 1px var(--primary-color), -0.5px -0.5px 1px white;
color: rgb(28, 28, 28);
margin-top: -12px;

@media (min-width: 750px) {
text-shadow: 1px 1px 1px rgba(172, 54, 244, 1), -1px -1px 1px white;
text-shadow: 1px 1px 1px var(--primary-color), -1px -1px 1px white;
}
}

Expand All @@ -107,7 +103,7 @@ $backgroudColor: #232323;
padding: 8px 16px;
user-select: none;
text-transform: capitalize;
background: linear-gradient(180deg, rgba(172, 54, 244, 1), rgba(138, 25, 207, 1));
background: linear-gradient(180deg, #00cc9b, #008365);

@media (min-width: 750px) {
padding: 16px 24px;
Expand Down
30 changes: 15 additions & 15 deletions src/pages/Halving/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
flex-direction: row;

.digtialClockNumber {
border: 1px solid rgba(57, 21, 86, 1);
border: 1px solid #004938;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
width: 64px;
height: 72px;
background: linear-gradient(rgba(49, 24, 65, 1), rgba(18, 18, 18, 1), rgba(46, 30, 54, 1));
background: linear-gradient(#003a2d, #001d16, #003a2d);
position: relative;
margin-bottom: 4px;
&::after {
content: ' ';
width: 100%;
height: 1px;
background-color: rgba(69, 46, 87, 1);
background-color: #004938;
position: absolute;
z-index: 0;
}
Expand Down Expand Up @@ -59,7 +59,7 @@
.digtialClockText {
font-size: 12px;
font-weight: 500;
color: rgba(154, 44, 236, 1);
color: var(--primary-color);
text-align: center;
}

Expand Down Expand Up @@ -94,13 +94,13 @@
:global {
.ant-progress-inner {
background-color: transparent;
border: 1px solid rgba(154, 44, 236, 1);
border: 1px solid var(--primary-color);
}
}
}

.halvingProgressMarks {
color: rgba(154, 44, 236, 1);
color: var(--primary-color);
display: flex;
justify-content: space-evenly;
span {
Expand All @@ -114,7 +114,7 @@
left: calc(50% - 1px);
display: flex;
align-items: center;
background-color: rgba(154, 44, 236, 1);
background-color: var(--primary-color);
}
}
}
Expand All @@ -139,15 +139,15 @@
display: table-header-group;
vertical-align: middle;
border-color: inherit;
background-color: rgba(47, 42, 49, 1);
background-color: #00291f;
}
tr {
text-transform: capitalize;
&:nth-child(1n) {
background-color: rgba(38, 33, 40, 1);
background-color: #003d2f;
}
&:nth-child(2n) {
background-color: rgba(47, 42, 49, 1);
background-color: #00291f;
}
}
th {
Expand All @@ -165,7 +165,7 @@
padding-top: 32px;
padding-bottom: 128px;
color: white;
background-color: rgba(32, 32, 32, 1);
background-color: rgba(5, 22, 6, 1);
background-position: bottom;
background-size: 100% auto;
background-repeat: no-repeat;
Expand Down Expand Up @@ -214,7 +214,7 @@
padding: 8px 16px;
border-radius: 4px;
border: 0;
background: linear-gradient(180deg, rgba(172, 54, 244, 1), rgba(138, 25, 207, 1));
background: linear-gradient(180deg, #00cc9b, #008365);
}

.halvingPanelTitle {
Expand Down Expand Up @@ -275,7 +275,7 @@

.panel {
color: rgba(240, 240, 240, 1);
background: rgba(34, 27, 40, 1);
background: #001d16;
display: flex;
flex-direction: column;
border-radius: 12px;
Expand All @@ -297,7 +297,7 @@
}

.blockquote {
background-color: rgba(47, 42, 49, 1);
background-color: #00291f;
padding: 16px;
border-radius: 16px;
}
Expand Down Expand Up @@ -343,7 +343,7 @@
}

.textPrimary {
color: rgba(154, 44, 236, 1);
color: var(--primary-color);
}

.textCenter {
Expand Down

0 comments on commit 67f8a33

Please sign in to comment.