Skip to main content

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

CatpuccinoFrappe CatpuccinoLatte CatpuccinoMacchiato CatpuccinoMocha

Dracula themes

Dracula

Hypersubatomic themes

Hypersubatomic

Monkai Themes

MonokaiClassic MonokaiMachine MonokaiOctagon MonokaiPro MonokaiRistretto MonokaiSpectrum

One Dark Themes

OneDark

Tokyo Night Themes

TokyoNight TokyoNightLight TokyoNightStorm

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.0.tar.gz (684.3 kB view details)

Uploaded Source

Built Distribution

vscode_pylettes-0.1.0-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file vscode-pylettes-0.1.0.tar.gz.

File metadata

  • Download URL: vscode-pylettes-0.1.0.tar.gz
  • Upload date:
  • Size: 684.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for vscode-pylettes-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dac465f49e1470bf564c0503cb9b41a049e82a795274800700c40c7ca84c6261
MD5 b93ae1102e988aee860b80d16a42e104
BLAKE2b-256 ee5bd525aca78aff78efc214989bd8866072d39d101b5838bc9061c62129294b

See more details on using hashes here.

File details

Details for the file vscode_pylettes-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for vscode_pylettes-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87945ee4051d08ba280c84ea646a4a2d0cb6d642a7f5b7ff8cd1e48708a600ca
MD5 a9ff76c55810dd8951923f88f873752b
BLAKE2b-256 88c8548cfec924ce544db14c2ae3fb7670a57ea9e374966ca0b38c05557abd23

See more details on using hashes here.

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