Skip to content

A collection of themes for Qt applications in Python.

License

Notifications You must be signed in to change notification settings

beatreichenbach/qt-themes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A collection of themes for Qt applications in Python.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages