Add wiz theme

This commit is contained in:
natsoni
2024-04-09 16:15:05 +09:00
parent 69c3c3162c
commit 7f6ab0b854
6 changed files with 110 additions and 6 deletions

View File

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