A modified theme of Sun-Valley-ttk with crimson hinting
Project description
Sun Valley ttk Crimson theme
This is a modified theme of Sun-Valley-ttk introducing Crimson color hints. There are various modifications and some may be questionable, but I think it suits the theme visually.
rdbende must take all credit. All I did was click the mouse many times and rename some items.
The theme has the main font declarations set to IBM Plex Sans instead of SegoeUI-VF when not using Microsoft Windows.
If you do not have either installed the default font from your OS will be used.
Crimson Dark
Crimson Light
Installation
The theme is easily installable as a Python package
pip install svc-ttk
Usage
Note: This theme is the same as Sun Valley TTK for all intents and purposes. As such the documentation for said theme is still relevant.
The theme will only be applied to themeable (
tkinter.ttk
) widgets, and not to the regular Tkinter widgets, they only benefit from the color scheme.
For detailed documentation, visit the wiki page.
import tkinter
from tkinter import ttk
import svc_ttk
root = tkinter.Tk()
button = ttk.Button(root, text="Click me!")
button.pack()
# This is where the magic happens
svc_ttk.set_theme("dark")
root.mainloop()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file svc_ttk-2.6.3.tar.gz
.
File metadata
- Download URL: svc_ttk-2.6.3.tar.gz
- Upload date:
- Size: 53.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf092251edcbb7efc1318d04472623aceee18269883a3fa2d5467e1db5995fda |
|
MD5 | 5d01da94df9454350f3fc976d2736f2a |
|
BLAKE2b-256 | 669436f33a5c424ab70b05bb2f3433c6797d4b4178ae23b791fa3feaf13f3e2a |
File details
Details for the file svc_ttk-2.6.3-py3-none-any.whl
.
File metadata
- Download URL: svc_ttk-2.6.3-py3-none-any.whl
- Upload date:
- Size: 53.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc4f6c874e62dab19c0165b26bae020e6d1decfc294ae49166b70f6e36bfa017 |
|
MD5 | ecdbefd960506c8db81932880c871939 |
|
BLAKE2b-256 | 65aa8f8699d6095fa77dda326b84ea21e4d572c4f47e3a62c4912cc9d55170f6 |