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

Uploaded Source

Built Distribution

svc_ttk-2.6.3-py3-none-any.whl (53.4 kB view hashes)

Uploaded Python 3

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