Metadata-Version: 2.1
Name: svc_ttk
Version: 2.6.2
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 License
        
        Copyright (c) rdbende <rdbende@proton.me>
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
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
License-File: LICENSE
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: mypy; extra == "test"

  
# Sun Valley ttk Crimson theme  

![image](https://raw.githubusercontent.com/initiateit/Sun-Valley-ttk-crimson/main/assets/hero_dark.png?token=GHSAT0AAAAAACON7JGMK2DEFBK44RH3RXZMZP5KO5A)

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
![image](https://raw.githubusercontent.com/initiateit/Sun-Valley-ttk-crimson/main/assets/dark.png?token=GHSAT0AAAAAACON7JGNFT2VM6FYDTNLMAKYZP5KNCQ)  
## Crimson Light
![image](https://raw.githubusercontent.com/initiateit/Sun-Valley-ttk-crimson/main/assets/light.png?token=GHSAT0AAAAAACON7JGNV7RC5WSCGKLRSLOKZP5KNTA)  



## 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()
```
