VSCode Pylettes is a collections of the palettes from the most popular VSCode themes. The goal of this package is to make easier the use of those color palettes in a variety of python projects.
Project description
vscode-pylettes
Color Palettes from VSCode most famous themes made available in RGB and HEX.
Usage
Know available palettes
>>> import pylettes
>>> pylettes.palettes_list
['CatpuccinoFrappe', 'CatpuccinoLatte', 'CatpuccinoMacchiato', 'CatpuccinoMocha', 'Dracula', 'Hypersubatomic', 'MonokaiClassic', 'MonokaiMachine', 'MonokaiOctagon', 'MonokaiPro', 'MonokaiRistretto', 'MonokaiSpectrum', 'OneDark', 'TokyoNight', 'TokyoNightLight', 'TokyoNightStorm']
Select a Palette
>>> import pylettes
>>> pylettes.CatpuccinoFrappe
Palette Catpuccino Frappe with colors ['rosewater', 'flamingo', 'pink', 'mauve', 'red', 'maroon', 'peach', 'yellow', 'green', 'teal', 'sky', 'sapphire', 'blue', 'lavender', 'text', 'subtext1', 'subtext0', 'overlay2', 'overlay1', 'overlay0', 'surface2', 'surface1', 'surface0', 'base', 'mantle', 'crust']
Select a Color from a Palette
>>> import pylettes
>>> frappe = pylettes.CatpuccinoFrappe
>>> frappe.green
Color with rgb (166, 209, 137), hex #A6D189 and hsl (95, 43, 67)
>>> frappe.green.rgb
(166, 209, 137)
>>> frappe.green.hex
'#A6D189'
>>> frappe.green.hsl
(95, 43, 67)
Example of use
Below you can see all the supported themes. The images were created automatically using ManimCE with the code inside palettes_examples/make_palettes_examples.py
Supported Themes
Catpuccino Themes
Dracula themes
Hypersubatomic themes
Lotus Themes
Monkai Themes
One Dark Themes
Tokyo Night Themes
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
vscode-pylettes-0.1.1.tar.gz
(724.5 kB
view details)
Built Distribution
File details
Details for the file vscode-pylettes-0.1.1.tar.gz
.
File metadata
- Download URL: vscode-pylettes-0.1.1.tar.gz
- Upload date:
- Size: 724.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c6c983026bbb7484f332b9064b008c5e660737210e9bee56daba4d59d81606c |
|
MD5 | 2ca6a971d9993e50dec668268496f3d9 |
|
BLAKE2b-256 | a8ab9b4bebe76d8793835151c7fb84b0eb4b5f6597d957c7bea84d99606c813a |
File details
Details for the file vscode_pylettes-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: vscode_pylettes-0.1.1-py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 495dd660634971db8ddd8dea2aae20411e9a57aadcd2f69d9fb94aa092f22aac |
|
MD5 | 00f4426fbf128920c8b5678fa9be8f1f |
|
BLAKE2b-256 | 5c6f1c1bd37fc4daed11bfcb5635ee5126c6bdfc8849204555ee54e65bd66037 |