Pay with
@if (canPayWithCashapp) {
-

+
![]()
}
@if (canPayWithApplePay) {
@if (canPayWithCashapp) {
}
-

+
}
@if (canPayWithGooglePay) {
@if (canPayWithCashapp || canPayWithApplePay) {
}
-

+
}
@if (canPayWithCardOnFile) {
diff --git a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.scss b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.scss
index c54612429..9bbc76bb9 100644
--- a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.scss
+++ b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.scss
@@ -45,15 +45,15 @@
.rate {
font-size: 0.9em;
.symbol {
- color: white;
+ color: var(--fg);
}
}
}
}
.btn-border {
- border: solid 1px black;
- background-color: #0c4a87;
+ border: solid 1px color-mix(in srgb, var(--primary) 68%, black);
+ background-color: color-mix(in srgb, var(--primary) 77%, black);
}
.feerate.active {
@@ -172,11 +172,11 @@
}
.table-background {
- background-color: var(--bg);
+ background-color: var(--stat-box-bg);
}
.checkout-text {
- color: rgb(186, 186, 186);
+ color: var(--transparent-fg);
font-size: 14px;
}
diff --git a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts
index 53e2c1caf..8cebc26cb 100644
--- a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts
+++ b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts
@@ -13,6 +13,7 @@ import { EnterpriseService } from '@app/services/enterprise.service';
import { ApiService } from '@app/services/api.service';
import { isDevMode } from '@angular/core';
import { StorageService } from '@app/services/storage.service';
+import { ThemeService } from '../../services/theme.service';
export type PaymentMethod = 'balance' | 'bitcoin' | 'cashapp' | 'applePay' | 'googlePay' | 'cardOnFile';
@@ -133,6 +134,9 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
loadingBtcpayInvoice = false;
invoice = undefined;
+ themeStateSubscription: Subscription;
+ loadedTheme = 'default';
+
constructor(
public stateService: StateService,
private apiService: ApiService,
@@ -142,7 +146,8 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
private cd: ChangeDetectorRef,
private authService: AuthServiceMempool,
private enterpriseService: EnterpriseService,
- private storageService: StorageService
+ private storageService: StorageService,
+ private themeService: ThemeService,
) {
this.isProdDomain = this.stateService.isProdDomain;
@@ -183,6 +188,14 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
this.conversions = conversions;
}
);
+
+ this.themeStateSubscription = this.themeService.themeState$.subscribe((state) => {
+ if (state.loading) {
+ return;
+ }
+ this.loadedTheme = state.theme;
+ this.cd.markForCheck();
+ });
}
ngOnDestroy(): void {
@@ -192,6 +205,9 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
if (this.authSubscription$) {
this.authSubscription$.unsubscribe();
}
+ if (this.themeStateSubscription) {
+ this.themeStateSubscription.unsubscribe();
+ }
}
ngOnChanges(changes: SimpleChanges): void {
@@ -1092,6 +1108,10 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
return Date.now() - this.timePaid;
}
+ get isLightMode(): boolean {
+ return this.loadedTheme === 'nymkappa';
+ }
+
@HostListener('window:resize', ['$event'])
onResize(): void {
this.isMobile = window.innerWidth <= 767.98;
diff --git a/frontend/src/app/components/accelerate-checkout/accelerate-fee-graph.component.scss b/frontend/src/app/components/accelerate-checkout/accelerate-fee-graph.component.scss
index 919fdec4a..4322fd75c 100644
--- a/frontend/src/app/components/accelerate-checkout/accelerate-fee-graph.component.scss
+++ b/frontend/src/app/components/accelerate-checkout/accelerate-fee-graph.component.scss
@@ -50,7 +50,7 @@
right: 0;
top: 0;
left: -4.5em;
- border-top: dashed white 1.5px;
+ border-top: dashed var(--fg) 1.5px;
.fee-rate {
width: 100%;
@@ -68,7 +68,7 @@
}
.rate .symbol {
- color: white;
+ color: var(--fg);
}
}
}
diff --git a/frontend/src/app/components/acceleration-timeline/acceleration-timeline-tooltip.component.html b/frontend/src/app/components/acceleration-timeline/acceleration-timeline-tooltip.component.html
index fb4549c50..522359607 100644
--- a/frontend/src/app/components/acceleration-timeline/acceleration-timeline-tooltip.component.html
+++ b/frontend/src/app/components/acceleration-timeline/acceleration-timeline-tooltip.component.html
@@ -21,26 +21,26 @@
| Fee |
- {{ accelerationInfo.fee | number }} sats |
+ {{ accelerationInfo.fee | number }} sats |
= 0 || accelerationInfo.feeDelta">
| Out-of-band fees |
@if (accelerationInfo.status === 'accelerated') {
- {{ accelerationInfo.feeDelta | number }} sats |
+ {{ accelerationInfo.feeDelta | number }} sats |
} @else {
- {{ accelerationInfo.bidBoost | number }} sats |
+ {{ accelerationInfo.bidBoost | number }} sats |
}
@if (accelerationInfo.status === 'seen') {
| Fee rate |
- |
+ |
} @else if (accelerationInfo.status === 'accelerated' || accelerationInfo.status === 'mined') {
Accelerated fee rate |
@if (accelerationInfo.status === 'accelerated') {
- |
+ |
} @else {
- |
+ |
}
}
@@ -48,12 +48,14 @@
Accelerated by |
-
+
|
diff --git a/frontend/src/app/components/acceleration-timeline/acceleration-timeline-tooltip.component.scss b/frontend/src/app/components/acceleration-timeline/acceleration-timeline-tooltip.component.scss
index a8c4cd5cf..1ad826621 100644
--- a/frontend/src/app/components/acceleration-timeline/acceleration-timeline-tooltip.component.scss
+++ b/frontend/src/app/components/acceleration-timeline/acceleration-timeline-tooltip.component.scss
@@ -1,7 +1,7 @@
.acceleration-tooltip {
position: fixed;
z-index: 3;
- background: color-mix(in srgb, var(--active-bg) 95%, transparent);
+ background: color-mix(in srgb, #11131f 95%, transparent);
border-radius: 4px;
box-shadow: 1px 1px 10px rgba(0,0,0,0.5);
color: var(--tooltip-grey);
@@ -26,15 +26,6 @@
vertical-align: top;
}
- .pool-logo {
- width: 22px;
- height: 22px;
- position: relative;
- top: -1px;
- margin-right: 4px;
- margin-bottom: 4px;
- }
-
.oobFees {
color: #905cf4;
}
diff --git a/frontend/src/app/components/acceleration-timeline/acceleration-timeline.component.scss b/frontend/src/app/components/acceleration-timeline/acceleration-timeline.component.scss
index 2bd46199a..d05afa3d0 100644
--- a/frontend/src/app/components/acceleration-timeline/acceleration-timeline.component.scss
+++ b/frontend/src/app/components/acceleration-timeline/acceleration-timeline.component.scss
@@ -171,7 +171,7 @@
width: 100%;
height: 100%;
border-radius: 50%;
- background: white;
+ background: var(--fg);
z-index: 1;
}
@@ -224,7 +224,7 @@
.badge.badge-waiting {
opacity: 0.5;
background-color: var(--grey);
- color: white;
+ color: var(--nav-icon);
}
.badge.badge-accelerated {
diff --git a/frontend/src/app/components/acceleration/acceleration-fees-graph/acceleration-fees-graph.component.ts b/frontend/src/app/components/acceleration/acceleration-fees-graph/acceleration-fees-graph.component.ts
index 5ece2284d..d27d7db1b 100644
--- a/frontend/src/app/components/acceleration/acceleration-fees-graph/acceleration-fees-graph.component.ts
+++ b/frontend/src/app/components/acceleration/acceleration-fees-graph/acceleration-fees-graph.component.ts
@@ -225,7 +225,7 @@ export class AccelerationFeesGraphComponent implements OnInit, OnChanges, OnDest
name: this.totalBidBoostLabel,
inactiveColor: 'rgb(110, 112, 121)',
textStyle: {
- color: 'white',
+ color: 'var(--fg)',
},
itemStyle: {
color: '#FFB300',
@@ -236,7 +236,7 @@ export class AccelerationFeesGraphComponent implements OnInit, OnChanges, OnDest
name: this.acceleratedLabel,
inactiveColor: 'rgb(110, 112, 121)',
textStyle: {
- color: 'white',
+ color: 'var(--fg)',
},
icon: 'roundRect',
},
diff --git a/frontend/src/app/components/acceleration/acceleration-stats/acceleration-stats.component.scss b/frontend/src/app/components/acceleration/acceleration-stats/acceleration-stats.component.scss
index 733116776..e93898d97 100644
--- a/frontend/src/app/components/acceleration/acceleration-stats/acceleration-stats.component.scss
+++ b/frontend/src/app/components/acceleration/acceleration-stats/acceleration-stats.component.scss
@@ -55,7 +55,7 @@
top: 0px;
}
.fee-text{
- border-bottom: 1px solid #ffffff1c;
+ border-bottom: 1px solid var(--border-subtle);
width: fit-content;
margin: auto;
line-height: 1.45;
diff --git a/frontend/src/app/components/acceleration/accelerations-list/accelerations-list.component.html b/frontend/src/app/components/acceleration/accelerations-list/accelerations-list.component.html
index 47d653f78..e6763a9a8 100644
--- a/frontend/src/app/components/acceleration/accelerations-list/accelerations-list.component.html
+++ b/frontend/src/app/components/acceleration/accelerations-list/accelerations-list.component.html
@@ -52,9 +52,9 @@
@if (acceleration.minedByPoolUniqueId && pools[acceleration.minedByPoolUniqueId]) {
-
-
- {{ pools[acceleration.minedByPoolUniqueId].name }}
+
+
} @else {
~
diff --git a/frontend/src/app/components/acceleration/accelerations-list/accelerations-list.component.scss b/frontend/src/app/components/acceleration/accelerations-list/accelerations-list.component.scss
index 9d695ce38..06e1ca48c 100644
--- a/frontend/src/app/components/acceleration/accelerations-list/accelerations-list.component.scss
+++ b/frontend/src/app/components/acceleration/accelerations-list/accelerations-list.component.scss
@@ -83,14 +83,6 @@ tr, td, th {
@media (max-width: 700px) {
display: none;
}
-
- .pool-logo {
- width: 18px;
- height: 18px;
- position: relative;
- top: -1px;
- margin-right: 2px;
- }
}
.status {
@@ -189,7 +181,7 @@ tr, td, th {
}
.no-data {
- color: rgba(255, 255, 255, 0.4);
+ color: var(--transparent-fg);
display: flex;
height: 280px;
width: 100%;
diff --git a/frontend/src/app/components/acceleration/accelerator-dashboard/accelerator-dashboard.component.html b/frontend/src/app/components/acceleration/accelerator-dashboard/accelerator-dashboard.component.html
index d37cfaf5b..c55654d50 100644
--- a/frontend/src/app/components/acceleration/accelerator-dashboard/accelerator-dashboard.component.html
+++ b/frontend/src/app/components/acceleration/accelerator-dashboard/accelerator-dashboard.component.html
@@ -44,13 +44,13 @@
diff --git a/frontend/src/app/components/acceleration/accelerator-dashboard/accelerator-dashboard.component.scss b/frontend/src/app/components/acceleration/accelerator-dashboard/accelerator-dashboard.component.scss
index e6763f60a..9b4c93cb0 100644
--- a/frontend/src/app/components/acceleration/accelerator-dashboard/accelerator-dashboard.component.scss
+++ b/frontend/src/app/components/acceleration/accelerator-dashboard/accelerator-dashboard.component.scss
@@ -188,5 +188,5 @@
}
.inactive {
- color: #ffffff66;
+ color: var(--transparent-fg);
}
\ No newline at end of file
diff --git a/frontend/src/app/components/acceleration/pending-stats/pending-stats.component.scss b/frontend/src/app/components/acceleration/pending-stats/pending-stats.component.scss
index 733116776..e93898d97 100644
--- a/frontend/src/app/components/acceleration/pending-stats/pending-stats.component.scss
+++ b/frontend/src/app/components/acceleration/pending-stats/pending-stats.component.scss
@@ -55,7 +55,7 @@
top: 0px;
}
.fee-text{
- border-bottom: 1px solid #ffffff1c;
+ border-bottom: 1px solid var(--border-subtle);
width: fit-content;
margin: auto;
line-height: 1.45;
diff --git a/frontend/src/app/components/address-graph/address-graph.component.ts b/frontend/src/app/components/address-graph/address-graph.component.ts
index c117e8fc0..2d4d77f13 100644
--- a/frontend/src/app/components/address-graph/address-graph.component.ts
+++ b/frontend/src/app/components/address-graph/address-graph.component.ts
@@ -216,7 +216,7 @@ export class AddressGraphComponent implements OnChanges, OnDestroy {
name: $localize`:@@7e69426bd97a606d8ae6026762858e6e7c86a1fd:Balance`,
inactiveColor: 'var(--grey)',
textStyle: {
- color: 'white',
+ color: 'var(--fg)',
},
icon: 'roundRect',
},
@@ -224,7 +224,7 @@ export class AddressGraphComponent implements OnChanges, OnDestroy {
name: 'Fiat',
inactiveColor: 'var(--grey)',
textStyle: {
- color: 'white',
+ color: 'var(--fg)',
},
icon: 'roundRect',
}
@@ -413,7 +413,7 @@ export class AddressGraphComponent implements OnChanges, OnDestroy {
right: this.adjustedRight,
selectedDataBackground: {
lineStyle: {
- color: '#fff',
+ color: 'var(--fg)',
opacity: 0.45,
},
},
@@ -538,7 +538,7 @@ export class AddressGraphComponent implements OnChanges, OnDestroy {
top: this.image ? imgHeight + 10 : 0,
z: 100,
style: {
- fill: '#fff',
+ fill: 'var(--fg)',
text: this.label,
font: this.isMobile() ? '18px sans-serif' : '24px sans-serif',
textAlign: 'center'
diff --git a/frontend/src/app/components/address/address.component.scss b/frontend/src/app/components/address/address.component.scss
index ebd3130a1..06e15ad67 100644
--- a/frontend/src/app/components/address/address.component.scss
+++ b/frontend/src/app/components/address/address.component.scss
@@ -2,7 +2,7 @@
position: absolute;
top: 30px;
right: 0px;
- border: solid 10px var(--active-bg);
+ border: solid 10px var(--secondary);
border-radius: 5px;
background-color: #fff;
padding: 10px;
@@ -132,4 +132,4 @@ h1 {
padding-top: 0;
padding-bottom: 0;
font-size: 0.8rem;
-}
\ No newline at end of file
+}
diff --git a/frontend/src/app/components/amount/amount.component.html b/frontend/src/app/components/amount/amount.component.html
index ac469939f..56a8d46b1 100644
--- a/frontend/src/app/components/amount/amount.component.html
+++ b/frontend/src/app/components/amount/amount.component.html
@@ -23,7 +23,7 @@
@if ((viewAmountMode$ | async) === 'btc' || (viewAmountMode$ | async) === 'fiat' || ignoreViewMode === true) {
{{ addPlus && satoshis >= 0 ? '+' : '' }}{{ satoshis / 100000000 | number : digitsInfo }}
-
+
BTC
} @else {
@@ -32,7 +32,7 @@
} @else {
{{ addPlus && satoshis >= 0 ? '+' : '' }}{{ satoshis | amountShortener : (satoshis < 1000 && satoshis > -1000 ? 0 : 1) : undefined : true }}
}
-
+
sats
}
diff --git a/frontend/src/app/components/amount/amount.component.ts b/frontend/src/app/components/amount/amount.component.ts
index 2ad0c0fc5..817f5741a 100644
--- a/frontend/src/app/components/amount/amount.component.ts
+++ b/frontend/src/app/components/amount/amount.component.ts
@@ -27,6 +27,7 @@ export class AmountComponent implements OnInit, OnDestroy {
@Input() forceBtc: boolean = false;
@Input() ignoreViewMode: boolean = false;
@Input() forceBlockConversion: boolean = false; // true = displays fiat price as 0 if blockConversion is undefined instead of falling back to conversions
+ @Input() unitStyle: any;
constructor(
private stateService: StateService,
diff --git a/frontend/src/app/components/bitcoin-invoice/bitcoin-invoice.component.html b/frontend/src/app/components/bitcoin-invoice/bitcoin-invoice.component.html
index 74a6f8bf1..8c320b557 100644
--- a/frontend/src/app/components/bitcoin-invoice/bitcoin-invoice.component.html
+++ b/frontend/src/app/components/bitcoin-invoice/bitcoin-invoice.component.html
@@ -19,7 +19,7 @@
|
@@ -157,7 +160,9 @@
+
|
+
@@ -491,6 +496,7 @@
+
|
|
@@ -500,6 +506,7 @@
|
+
@@ -516,6 +523,7 @@
+
|
|
@@ -525,6 +533,7 @@
|
+
@@ -542,6 +551,7 @@
+
|
|
@@ -551,6 +561,7 @@
|
+
@@ -567,6 +578,7 @@
+
|
|
@@ -576,6 +588,7 @@
|
+
diff --git a/frontend/src/app/components/pool/pool.component.ts b/frontend/src/app/components/pool/pool.component.ts
index 65f82b160..1b006549c 100644
--- a/frontend/src/app/components/pool/pool.component.ts
+++ b/frontend/src/app/components/pool/pool.component.ts
@@ -245,7 +245,7 @@ export class PoolComponent implements OnInit {
name: $localize`:@@79a9dc5b1caca3cbeb1733a19515edacc5fc7920:Hashrate`,
inactiveColor: 'rgb(110, 112, 121)',
textStyle: {
- color: 'white',
+ color: 'var(--fg)',
},
icon: 'roundRect',
itemStyle: {
@@ -256,7 +256,7 @@ export class PoolComponent implements OnInit {
name: $localize`:mining.pool-dominance:Pool Dominance`,
inactiveColor: 'rgb(110, 112, 121)',
textStyle: {
- color: 'white',
+ color: 'var(--fg)',
},
icon: 'roundRect',
},
@@ -325,7 +325,7 @@ export class PoolComponent implements OnInit {
moveOnMouseMove: false,
}, {
fillerColor: '#aaaaff15',
- borderColor: '#ffffff88',
+ borderColor: 'var(--transparent-fg)',
showDetail: false,
show: true,
type: 'slider',
@@ -336,7 +336,7 @@ export class PoolComponent implements OnInit {
right: 15,
selectedDataBackground: {
lineStyle: {
- color: '#fff',
+ color: 'var(--fg)',
opacity: 0.45,
},
areaStyle: {
diff --git a/frontend/src/app/components/price-chart/price-chart.component.html b/frontend/src/app/components/price-chart/price-chart.component.html
index c566c1186..488e0c40b 100644
--- a/frontend/src/app/components/price-chart/price-chart.component.html
+++ b/frontend/src/app/components/price-chart/price-chart.component.html
@@ -28,27 +28,27 @@