Metadata-Version: 2.2
Name: svc_ttk
Version: 2.6.4
Summary: A modified theme of Sun-Valley-ttk with crimson hinting
Home-page: https://github.com/initiateit/Sun-Valley-ttk-crimson-theme
Author-email: initiateit <jason@initiateit.com.au>, rdbende <rdbende@proton.me>
License: MIT
Project-URL: Homepage, https://github.com/initiateit/Sun-Valley-ttk-crimson-theme
Project-URL: Documentation, https://github.com/initiateit/Sun-Valley-ttk-crimson-theme
Project-URL: Tracker, https://github.com/initiateit/Sun-Valley-ttk-crimson-theme/issues
Keywords: svc-ttk,crimson,red,tcl,tcl/tk,theme,tile,tk,ttk,tkinter,modern,fluent,dark-theme,sun-valley,windows-11,winui
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: User Interfaces
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Tcl
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: mypy; extra == "test"
Dynamic: home-page
Dynamic: requires-python

  
# Sun Valley ttk Crimson theme  

![image](https://github.com/initiateit/Sun-Valley-ttk-crimson/blob/main/assets/hero_dark.png)

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](https://github.com/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](https://fonts.google.com/specimen/IBM+Plex+Sans) instead of [SegoeUI-VF](https://docs.microsoft.com/en-us/windows/apps/design/downloads/#fonts) when not using Microsoft Windows.  

If you do not have either installed the default font from your OS will be used.  

## Crimson Dark
<img src="https://github.com/initiateit/Sun-Valley-ttk-crimson/blob/main/assets/dark.png" alt="Crimson Dark" style="width: 800px; height: auto;">

## Crimson Light
<img src="https://github.com/initiateit/Sun-Valley-ttk-crimson/blob/main/assets/light.png" alt="Crimson Light" style="width: 800px; height: auto;">




## Installation
The theme is easily installable as a Python package

```
pip install svc-ttk
```


## Usage [![Documentation](https://img.shields.io/badge/-documentation-%23c368c4)](https://github.com/rdbende/Sun-Valley-ttk-theme/wiki/Usage-with-Python)
> **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](https://github.com/rdbende/Sun-Valley-ttk-theme/wiki/Usage-with-Python).
>
```python
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()
```
