Skip to content

Commit

Permalink
feat: added etherlink green
Browse files Browse the repository at this point in the history
  • Loading branch information
devon-n committed Nov 27, 2024
1 parent 11a6626 commit aa6d880
Show file tree
Hide file tree
Showing 8 changed files with 7,903 additions and 14 deletions.
7,887 changes: 7,887 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/assets/styles/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ $grayscale: (
--gray: #363739;
// --warning: #fb8c00;
--warning: #D1AE44;
--etherlink-green: #38FF9C;

/* Grayscale */
@each $gray, $value in $grayscale {
Expand Down
1 change: 1 addition & 0 deletions src/assets/styles/text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ $textColors: (
"green": "--green",
"red": "--red",
"yellow": "--yellow",
"etherlink-green": "--etherlink-green"
);

@each $key, $value in $textColors {
Expand Down
10 changes: 5 additions & 5 deletions src/components/ConnectWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -313,19 +313,19 @@ const {
}
& svg:first-child {
fill: var(--green);
fill: var(--etherlink-green);
transform: translateX(16px);
filter: drop-shadow(0 0px 8px var(--green));
filter: drop-shadow(0 0px 8px var(--etherlink-green));
}
& svg:last-child {
fill: var(--green);
fill: var(--etherlink-green);
transform: translateX(-16px);
filter: drop-shadow(0 0px 8px var(--green));
filter: drop-shadow(0 0px 8px var(--etherlink-green));
}
}
Expand All @@ -338,7 +338,7 @@ const {
height: 32px;
border-radius: 8px;
background: var(--green);
background: var(--etherlink-green);
cursor: pointer;
margin: 0 12px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/ExplorerLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const props = defineProps({
color: var(--txt-primary);
&:hover {
color: var(--green);
color: var(--etherlink-green);
}
}
</style>
8 changes: 4 additions & 4 deletions src/components/TransferItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const statusStyle = computed(() => {
return {color: `var(--red)`}
}
return {color: `var(--green)`, opacity: 0.8}
return {color: `var(--etherlink-green)`, opacity: 0.8}
}
return {color: `var(--blue)`}
Expand Down Expand Up @@ -199,7 +199,7 @@ const handleRemove = () => {
<Text size="16" color="black">Processing..</Text>
</Flex>
<Text v-else size="16" color="black">Finish withdrawal</Text>
</Flex>
</Flex>
Expand Down Expand Up @@ -233,7 +233,7 @@ const handleRemove = () => {
}
.img {
border-radius: 50%;
border-radius: 50%;
}
.icon_close{
Expand All @@ -257,7 +257,7 @@ const handleRemove = () => {
height: 32px;
border-radius: 8px;
background: var(--green);
background: var(--etherlink-green);
opacity: 0.85;
cursor: pointer;
Expand Down
6 changes: 3 additions & 3 deletions src/components/TransferWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ const warningDisplayed = ref(true)
</Flex>
</Flex>
</Flex>
<Flex v-if="recentTransfers.length > 0" direction="column" align="center" gap="4">
<Flex :class="$style.transfers_header" align="center" flex="start">
<Text size="16" color="tertiary">Recent transfers</Text>
Expand Down Expand Up @@ -466,7 +466,7 @@ const warningDisplayed = ref(true)
height: 32px;
border-radius: 8px;
background: var(--green);
background: var(--etherlink-green);
opacity: 0.85;
cursor: pointer;
Expand Down Expand Up @@ -495,7 +495,7 @@ const warningDisplayed = ref(true)
}
.connect_wallets {
background: var(--yellow);
background: var(--etherlink-green);
}
.transfers_header {
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/Stepper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ onMounted(() => {
}
.passed {
background-color: var(--green);
background-color: var(--etherlink-green);
animation: none;
}
Expand Down

0 comments on commit aa6d880

Please sign in to comment.