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
Release files for vscode-pylettes 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vscode-pylettes-0.1.1.tar.gz | 724.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vscode_pylettes-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 745.6 kB
Release files / vscode-pylettes-0.1.1.tar.gz
| Download URL | vscode-pylettes-0.1.1.tar.gz |
|---|---|
| Size | 724.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c6c983026bbb7484f332b9064b008c5e660737210e9bee56daba4d59d81606c
|
|
BLAKE2b-256 checksum How to use checksums |
a8ab9b4bebe76d8793835151c7fb84b0eb4b5f6597d957c7bea84d99606c813a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / vscode_pylettes-0.1.1-py3-none-any.whl
| Download URL | vscode_pylettes-0.1.1-py3-none-any.whl |
|---|---|
| Size | 21.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
495dd660634971db8ddd8dea2aae20411e9a57aadcd2f69d9fb94aa092f22aac
|
|
BLAKE2b-256 checksum How to use checksums |
5c6f1c1bd37fc4daed11bfcb5635ee5126c6bdfc8849204555ee54e65bd66037
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|