Skip to main content

A modified theme of Sun-Valley-ttk with crimson hinting

Project description

Sun Valley ttk Crimson theme

image

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 Dark

Crimson Light

Crimson Light

Installation

The theme is easily installable as a Python package

pip install svc-ttk

Usage Documentation

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


Download files

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

Source Distribution

svc_ttk-2.6.4.tar.gz (52.2 kB view details)

Uploaded Source

Built Distribution

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

svc_ttk-2.6.4-py3-none-any.whl (52.0 kB view details)

Uploaded Python 3

File details

Details for the file svc_ttk-2.6.4.tar.gz.

File metadata

  • Download URL: svc_ttk-2.6.4.tar.gz
  • Upload date:
  • Size: 52.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for svc_ttk-2.6.4.tar.gz
Algorithm Hash digest
SHA256 86c7e9a09170504389fc25bc79dc4128862357205c1b8f514b09f77d1c649b02
MD5 608d5b05b1bb20261da94fecce40ed38
BLAKE2b-256 3b9f9add0bb2027b42ad01d260a3fa07ab709fab857f8054a1bd0de2c72cd719

See more details on using hashes here.

File details

Details for the file svc_ttk-2.6.4-py3-none-any.whl.

File metadata

  • Download URL: svc_ttk-2.6.4-py3-none-any.whl
  • Upload date:
  • Size: 52.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for svc_ttk-2.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e19c86ed5bc281b76f5aae779b5f411a112e82355460b59dddb1daac69d3a16c
MD5 4e51f02272de23c0fa8a950372c119fb
BLAKE2b-256 cd3d97ba6ca0dfd89f2ea8c62eecee9d6ef41adf642dbb6baa7743ec5cde9325

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