Skip to content

Instantly share code, notes, and snippets.

@Julian-Nash
Last active June 3, 2022 02:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Julian-Nash/3003b0b75e07fbc382bc5ee0778a2472 to your computer and use it in GitHub Desktop.
Save Julian-Nash/3003b0b75e07fbc382bc5ee0778a2472 to your computer and use it in GitHub Desktop.
vs code dark style pygments class
# Version 1 - Not tested
from pygments.style import Style
from pygments.token import (Keyword, Name, Comment, String,
Error, Number, Operator, Generic)
class DarkStyle(Style):
default_style = ""
styles = {
Comment: '#608b4e',
Keyword: '#005',
Name: '#C586C0',
Name.Function: '#569cd6',
Name.Class: '#4EC9B0',
String: '#CE9178',
Error: '#d16969',
Number: '#DCDCAA',
Operator: '#C586C0',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment