We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
auto
1 parent fd9582d commit 917c29aCopy full SHA for 917c29a
qdarktheme/_resources/__init__.py
@@ -12,4 +12,4 @@
12
from qdarktheme._resources._svg import SVG_RESOURCES
13
from qdarktheme._resources._template_stylesheet import TEMPLATE_STYLESHEET
14
15
-THEMES = ("dark", "light")
+THEMES = ("dark", "light", "auto")
tools/build_styles/_main.py
@@ -38,6 +38,8 @@ def _remove_qss_comment(stylesheet: str) -> str:
38
39
40
def _mk_root_init_file(output: Path, themes: list[str], doc_string: str) -> None:
41
+ themes.append("auto")
42
+
43
code = f"{doc_string}\n"
44
code += "from qdarktheme._resources._color_values import COLOR_VALUES\n"
45
code += "from qdarktheme._resources._palette import mk_q_palette\n"
0 commit comments