No description
Find a file
2026-07-27 21:08:36 +02:00
lxtheme chore: Auto-format code, delete old menu file, add gitignore, and include pending translations 2026-07-27 19:42:51 +02:00
screenshots docs: Add README with installation instructions, screenshots, and demo showcase 2026-07-27 16:28:52 +02:00
.gitignore chore: Remove build script and deb packages from repository tracking 2026-07-27 21:08:36 +02:00
CHANGELOG.md chore: Update changelog, fix build script for renamed demo, remove old files, update LxMenu timeout 2026-07-27 16:40:26 +02:00
LICENSE Fix LxCanvasMenu vertical collision layout for submenus opening upwards 2026-07-25 16:02:04 +02:00
lxtheme_demo.py docs: Translate remaining German comments in lxmenu, lxwidgets and demo to English 2026-07-27 19:40:38 +02:00
README.md docs: Add HiDPI scaling support to features list in README 2026-07-27 19:45:10 +02:00
Version chore: Update changelog, fix build script for renamed demo, remove old files, update LxMenu timeout 2026-07-27 16:40:26 +02:00

LxTheme

A modern, highly customizable, and dark-mode-first theme engine for Python Tkinter (ttk).

Features

  • Modern Design: Beautifully crafted Tkinter theme with dark and light variants.
  • Custom Widgets: Includes specialized components for modern desktop applications (e.g., custom switches, rounded frames, clean input fields, and custom menus).
  • Native HiDPI / 4k Support: Integrated IconManager automatically scales SVGs dynamically for crisp icons on high-resolution displays.
  • Easy Integration: Designed to seamlessly integrate with any standard tkinter or ttk application.
  • Responsive & Performant: Built with performance and usability in mind.

LxTheme Demo

Curious about how it looks and feels? We've included a comprehensive demo application that showcases all available widgets, styles, and configurations!

To launch the interactive demo, simply run:

lxtheme-demo

The demo provides a real-time playground to explore buttons, entries, trees, switches, tabs, and more.

Screenshots

📸 Show Screenshots (Click here)

Demo Application (Overview)

Screenshot 1

Check, Radio & Switch

Screenshot 2

Scales & Progressbars

Screenshot 3

Treeview

Screenshot 4

Form Elements & Inputs

Screenshot 5

LabelFrames

Screenshot 6

Installation

The recommended way to install LxTheme is via the official LxTools APT repository. This ensures you always receive automatic updates for your system.

For easy setup of the repository, visit the official page: https://apt.ilunix.de/

Once the repository is added, simply install the theme engine via:

sudo apt update
sudo apt install python3-lxtheme

Usage

import tkinter as tk
from tkinter import ttk
from lxtheme import LxTheme

root = tk.Tk()
# Initialize the LxTheme
theme = LxTheme(root, "dark")  # or "light"

ttk.Label(root, text="Hello, LxTheme!").pack(padx=20, pady=20)
ttk.Button(root, text="Click Me").pack(padx=20, pady=20)

root.mainloop()

License

This project is licensed under the GPLv3. For more information, see the LICENSE file.