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

image

Crimson Light

image

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.2.tar.gz (53.3 kB view details)

Uploaded Source

Built Distribution

svc_ttk-2.6.2-py3-none-any.whl (53.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: svc_ttk-2.6.2.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

Hashes for svc_ttk-2.6.2.tar.gz
Algorithm Hash digest
SHA256 567b717b698d724c43ea41b297fb540f8f66e05962753c080e1e1cecf9e5729b
MD5 54eaff30890c7458f9ce14d0fd978878
BLAKE2b-256 dc5eb4a31c18acb801476a0847df345d824722b6eb7a5ea374f2fe38efcfe744

See more details on using hashes here.

File details

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

File metadata

  • Download URL: svc_ttk-2.6.2-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

Hashes for svc_ttk-2.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 68a2ea19abe6cd58fb0e4f39d345ae1825d9acb50a8e34b564ca9e0d0521bb0c
MD5 1e41e84c495258ef42eb4ebffc1c0884
BLAKE2b-256 a9f3e0d3381f4c90298c11bdf2a35b80d8df28f283a7e998828ceffe39c1ba8a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page