Skip to main content

A desktop theme editor for building and previewing CustomTkinter themes.

Project description

CTk Theme Builder

CTk Theme Builder is a desktop editor for creating, previewing, and refining themes for CustomTkinter applications.

It provides a live preview workflow for adjusting colours, geometry, palettes, and theme metadata without editing theme JSON files by hand.

Features

  • Visual theme editing with live preview
  • Support for light and dark theme variants
  • Theme geometry editing for supported widget properties
  • Palette management and colour harmonics tools
  • Theme merge and import/export support
  • Provenance tracking for theme metadata
  • Built-in theme and palette assets to get started quickly

Installation

Recommended installation from PyPI, using a virtual environment:

python -m venv .venv
source .venv/bin/activate
pip install ctk-theme-builder

On Windows PowerShell:

python -m venv .venv
.venv\Scripts\Activate.ps1
pip install ctk-theme-builder

Alternative install methods for users who already use uv:

uv pip install ctk-theme-builder
uvx --from ctk-theme-builder ctk-theme-builder

Usage

Launch the application:

ctk-theme-builder

Optional command-line arguments:

ctk-theme-builder --set-appearance Dark
ctk-theme-builder --set-theme /path/to/theme.json

To migrate themes and palettes from a legacy installation:

ctktb-migrate-assets /path/to/old/install

Requirements

  • Python 3.10 to 3.13
  • A desktop environment capable of running Tk-based GUI applications

Documentation

Licence

Released under the MIT Licence. See LICENSE.

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

ctk_theme_builder-3.2.3.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

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

ctk_theme_builder-3.2.3-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

Details for the file ctk_theme_builder-3.2.3.tar.gz.

File metadata

  • Download URL: ctk_theme_builder-3.2.3.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.14

File hashes

Hashes for ctk_theme_builder-3.2.3.tar.gz
Algorithm Hash digest
SHA256 80b47ffc71fc921d3af3b0c7e660b62f559d5649d9f9411feb00aef7c2b3459f
MD5 bf94911eb410084df72fd925c94f1a08
BLAKE2b-256 49a8d68d485c5cba7631fed07bae7405388e9be3a5de19be82b41ef2aeaef9aa

See more details on using hashes here.

File details

Details for the file ctk_theme_builder-3.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for ctk_theme_builder-3.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 22fdf7a7a5f9276ab3c5b8203fac02d612fde71041250dd189026c4fcde1b3d0
MD5 8bf11f54223e9bbfa8ab9e051bc47c52
BLAKE2b-256 4742ea9a49a649dab37369304fe627f760fd0a702040f6ab599584dc5deb4546

See more details on using hashes here.

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