Skip to main content

A collection of themes for Qt applications in Python.

Project description

qt-themes

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.

Header

Installation

Install using pip:

pip install qt-themes

Usage

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.

Themes

These are some of the themes that are included in the package.

One Dark Two

https://github.com/beatreichenbach/one_dark_two

One Dark Two

Monokai

https://monokai.pro

Monokai

Nord

https://nordtheme.com

Nord

Catppuccin

https://catppuccin.com

Catppuccin Latte Catppuccin Frappe Catppuccin Macchiato Catppuccin Mocha

Atom One

https://atom.io

Atom One

GitHub

https://github.com

GitHub Dark GitHub Light

Dracula

https://draculatheme.com/

Dracula

Blender

https://blender.org

Blender

Contributing

To contribute please refer to the Contributing Guide.

License

MIT License. Copyright 2024 - Beat Reichenbach. See the License file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qt_themes-0.4.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qt_themes-0.4.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file qt_themes-0.4.0.tar.gz.

File metadata

  • Download URL: qt_themes-0.4.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qt_themes-0.4.0.tar.gz
Algorithm Hash digest
SHA256 81f5fad08338d54654cd914eec6cc42e8701cbcd1595900b98ae32d48f615237
MD5 2c13b1bec2112a7fe9c9ea3e0b0257f5
BLAKE2b-256 adec8b966d8021e908a80dea7fe8a89641b2b950efdc02fd5d506f26fd71e8d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for qt_themes-0.4.0.tar.gz:

Publisher: publish.yml on beatreichenbach/qt-themes

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qt_themes-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: qt_themes-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qt_themes-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff754bd5ecd0bd54caf49260939c9d1454d2967240bd6973420bd3fb9ef32c1e
MD5 bb4e6de8a57d950e5aee981323f01092
BLAKE2b-256 acb48d2276d1ff41e7178cb8bfd374977614ed90eb2b1da3ac7a4d872932c73f

See more details on using hashes here.

Provenance

The following attestation bundles were made for qt_themes-0.4.0-py3-none-any.whl:

Publisher: publish.yml on beatreichenbach/qt-themes

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page