CSS theme changes

This commit is contained in:
natsoni
2024-04-26 16:59:25 +02:00
committed by Mononaut
parent a7e501570c
commit 463e66081c
12 changed files with 56 additions and 30 deletions

View File

@@ -24,7 +24,7 @@ export class ThemeService {
apply(theme) {
this.theme = theme;
if (theme !== 'default') {
theme === 'contrast' ? this.mempoolFeeColors = contrastMempoolFeeColors : this.mempoolFeeColors = defaultMempoolFeeColors;
theme === 'contrast' || theme === 'bukele' ? this.mempoolFeeColors = contrastMempoolFeeColors : this.mempoolFeeColors = defaultMempoolFeeColors;
try {
if (!this.style) {
this.style = document.createElement('link');