initial commit

This commit is contained in:
dries.k
2021-08-05 18:56:17 +02:00
commit 1520e4d9e7
56 changed files with 3820 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
from PyQt6 import QtWidgets
def set_theme(app: QtWidgets.QApplication, theme: str = "default"):
if theme == "default":
from . import default
app.setPalette(default.palette())
elif theme == "dark":
from . import dark
app.setPalette(dark.palette())