From 8bc77c5f2a0eb9853d32c494f71a5843f2d5552b Mon Sep 17 00:00:00 2001 From: Maarten Breddels Date: Wed, 27 Sep 2023 11:04:48 -0400 Subject: [PATCH] fix: theme variant can be set using environment variable (#304) --- solara/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solara/__main__.py b/solara/__main__.py index 02aa7a4a6..ba873276c 100644 --- a/solara/__main__.py +++ b/solara/__main__.py @@ -207,7 +207,7 @@ def cli(): @click.option( "--theme-variant", type=settings.ThemeVariant, - default=settings.ThemeVariant.light.name, + default=settings.theme.variant.name, help=f"Use light or dark variant, or auto detect (auto). [default: {settings.theme.variant.name}", ) @click.option(