diff --git a/.env.example b/.env.example index 392f848a2..d44f95554 100644 --- a/.env.example +++ b/.env.example @@ -15,10 +15,7 @@ LNBITS_SERVICE_FEE="0.0" # Change theme LNBITS_SITE_TITLE=LNbits -LNBITS_PRIMARY_COLOR="#673ab7" -LNBITS_SECONDARY_COLOR="#9c27b0" -LNBITS_BG_COLOR="#1f2234" -LNBITS_DARKCARD_COLOR="#333646" +LNBITS_THEME_OPTIONS="classic,green,orange" # Choose from LNPayWallet, OpenNodeWallet, LntxbotWallet, LndWallet (gRPC), # LndRestWallet, CLightningWallet, LNbitsWallet, SparkWallet diff --git a/lnbits/commands.py b/lnbits/commands.py index b688e6e44..2e9b837fd 100644 --- a/lnbits/commands.py +++ b/lnbits/commands.py @@ -13,13 +13,7 @@ from .helpers import ( get_js_vendored, url_for_vendored, ) -from .settings import ( - LNBITS_PATH, - LNBITS_PRIMARY_COLOR, - LNBITS_SECONDARY_COLOR, - LNBITS_BG_COLOR, - LNBITS_DARKCARD_COLOR, -) +from .settings import LNBITS_PATH @click.command("migrate") diff --git a/lnbits/settings.py b/lnbits/settings.py index cf1c29d77..8ce0ff3b5 100644 --- a/lnbits/settings.py +++ b/lnbits/settings.py @@ -31,10 +31,7 @@ LNBITS_DISABLED_EXTENSIONS: List[str] = env.list( ) LNBITS_SITE_TITLE = env.str("LNBITS_SITE_TITLE", default="LNbits") -LNBITS_PRIMARY_COLOR = env.str("LNBITS_PRIMARY_COLOR", default="#673ab7") -LNBITS_SECONDARY_COLOR = env.str("LNBITS_SECONDARY_COLOR", default="#9c27b0") -LNBITS_BG_COLOR = env.str("LNBITS_BG_COLOR", default="#1f2234") -LNBITS_DARKCARD_COLOR = env.str("LNBITS_DARKCARD_COLOR", default="#333646") +LNBITS_THEME_OPTIONS = env.str("LNBITS_THEME_OPTIONS", default="classic,green,orange") WALLET = wallet_class() DEFAULT_WALLET_NAME = env.str("LNBITS_DEFAULT_WALLET_NAME", default="LNbits wallet")