This is a collection of themes for Qt in Python.
The color schemes are applied with a QPalette which avoids the conflicts that can happen when using stylesheets.

Install using pip:
pip install qt-themes
Apply a theme for the QApplication:
from PySide6 import QtWidgets
import qt_themes
app = QtWidgets.QApplication()
qt_themes.set_theme('nord')
widget = QtWidgets.QWidget()
widget.show()
app.exec()
Get a color from a theme:
import qt_themes
theme = qt_themes.get_theme('atom_one')
green = theme.green
Additional themes can be provided using the environment variable QT_THEMES.
These are some of the themes that are included in the package.
One Dark Two
https://github.com/beatreichenbach/one_dark_two

Monokai

Nord

Catppuccin

Atom One

GitHub

Dracula

Blender

To contribute please refer to the Contributing Guide.
MIT License. Copyright 2024 - Beat Reichenbach. See the License file for details.
$ claude mcp add qt-themes \
-- python -m otcore.mcp_server <graph>