init
This commit is contained in:
commit
38355d2442
9083 changed files with 1225834 additions and 0 deletions
|
|
@ -0,0 +1,93 @@
|
|||
"""
|
||||
pygments.styles
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
Contains built-in styles.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.plugin import find_plugin_styles
|
||||
from pygments.util import ClassNotFound
|
||||
|
||||
|
||||
#: Maps style names to 'submodule::classname'.
|
||||
STYLE_MAP = {
|
||||
'default': 'default::DefaultStyle',
|
||||
'emacs': 'emacs::EmacsStyle',
|
||||
'friendly': 'friendly::FriendlyStyle',
|
||||
'friendly_grayscale': 'friendly_grayscale::FriendlyGrayscaleStyle',
|
||||
'colorful': 'colorful::ColorfulStyle',
|
||||
'autumn': 'autumn::AutumnStyle',
|
||||
'murphy': 'murphy::MurphyStyle',
|
||||
'manni': 'manni::ManniStyle',
|
||||
'material': 'material::MaterialStyle',
|
||||
'monokai': 'monokai::MonokaiStyle',
|
||||
'perldoc': 'perldoc::PerldocStyle',
|
||||
'pastie': 'pastie::PastieStyle',
|
||||
'borland': 'borland::BorlandStyle',
|
||||
'trac': 'trac::TracStyle',
|
||||
'native': 'native::NativeStyle',
|
||||
'fruity': 'fruity::FruityStyle',
|
||||
'bw': 'bw::BlackWhiteStyle',
|
||||
'vim': 'vim::VimStyle',
|
||||
'vs': 'vs::VisualStudioStyle',
|
||||
'tango': 'tango::TangoStyle',
|
||||
'rrt': 'rrt::RrtStyle',
|
||||
'xcode': 'xcode::XcodeStyle',
|
||||
'igor': 'igor::IgorStyle',
|
||||
'paraiso-light': 'paraiso_light::ParaisoLightStyle',
|
||||
'paraiso-dark': 'paraiso_dark::ParaisoDarkStyle',
|
||||
'lovelace': 'lovelace::LovelaceStyle',
|
||||
'algol': 'algol::AlgolStyle',
|
||||
'algol_nu': 'algol_nu::Algol_NuStyle',
|
||||
'arduino': 'arduino::ArduinoStyle',
|
||||
'rainbow_dash': 'rainbow_dash::RainbowDashStyle',
|
||||
'abap': 'abap::AbapStyle',
|
||||
'solarized-dark': 'solarized::SolarizedDarkStyle',
|
||||
'solarized-light': 'solarized::SolarizedLightStyle',
|
||||
'sas': 'sas::SasStyle',
|
||||
'stata': 'stata_light::StataLightStyle',
|
||||
'stata-light': 'stata_light::StataLightStyle',
|
||||
'stata-dark': 'stata_dark::StataDarkStyle',
|
||||
'inkpot': 'inkpot::InkPotStyle',
|
||||
'zenburn': 'zenburn::ZenburnStyle',
|
||||
'gruvbox-dark': 'gruvbox::GruvboxDarkStyle',
|
||||
'gruvbox-light': 'gruvbox::GruvboxLightStyle',
|
||||
'dracula': 'dracula::DraculaStyle',
|
||||
'one-dark': 'onedark::OneDarkStyle',
|
||||
'lilypond' : 'lilypond::LilyPondStyle',
|
||||
}
|
||||
|
||||
|
||||
def get_style_by_name(name):
|
||||
if name in STYLE_MAP:
|
||||
mod, cls = STYLE_MAP[name].split('::')
|
||||
builtin = "yes"
|
||||
else:
|
||||
for found_name, style in find_plugin_styles():
|
||||
if name == found_name:
|
||||
return style
|
||||
# perhaps it got dropped into our styles package
|
||||
builtin = ""
|
||||
mod = name
|
||||
cls = name.title() + "Style"
|
||||
|
||||
try:
|
||||
mod = __import__('pygments.styles.' + mod, None, None, [cls])
|
||||
except ImportError:
|
||||
raise ClassNotFound("Could not find style module %r" % mod +
|
||||
(builtin and ", though it should be builtin") + ".")
|
||||
try:
|
||||
return getattr(mod, cls)
|
||||
except AttributeError:
|
||||
raise ClassNotFound("Could not find style class %r in style module." % cls)
|
||||
|
||||
|
||||
def get_all_styles():
|
||||
"""Return a generator for all styles by name,
|
||||
both builtin and plugin."""
|
||||
yield from STYLE_MAP
|
||||
for name, _ in find_plugin_styles():
|
||||
yield name
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
28
.venv/lib/python3.8/site-packages/pygments/styles/abap.py
Normal file
28
.venv/lib/python3.8/site-packages/pygments/styles/abap.py
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
"""
|
||||
pygments.styles.abap
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
ABAP workbench like style.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator
|
||||
|
||||
|
||||
class AbapStyle(Style):
|
||||
default_style = ""
|
||||
styles = {
|
||||
Comment: 'italic #888',
|
||||
Comment.Special: '#888',
|
||||
Keyword: '#00f',
|
||||
Operator.Word: '#00f',
|
||||
Name: '#000',
|
||||
Number: '#3af',
|
||||
String: '#5a2',
|
||||
|
||||
Error: '#F00',
|
||||
}
|
||||
62
.venv/lib/python3.8/site-packages/pygments/styles/algol.py
Normal file
62
.venv/lib/python3.8/site-packages/pygments/styles/algol.py
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
"""
|
||||
pygments.styles.algol
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Algol publication style.
|
||||
|
||||
This style renders source code for publication of algorithms in
|
||||
scientific papers and academic texts, where its format is frequently used.
|
||||
|
||||
It is based on the style of the revised Algol-60 language report[1].
|
||||
|
||||
o No colours, only black, white and shades of grey are used.
|
||||
o Keywords are rendered in lowercase underline boldface.
|
||||
o Builtins are rendered in lowercase boldface italic.
|
||||
o Docstrings and pragmas are rendered in dark grey boldface.
|
||||
o Library identifiers are rendered in dark grey boldface italic.
|
||||
o Comments are rendered in grey italic.
|
||||
|
||||
To render keywords without underlining, refer to the `Algol_Nu` style.
|
||||
|
||||
For lowercase conversion of keywords and builtins in languages where
|
||||
these are not or might not be lowercase, a supporting lexer is required.
|
||||
The Algol and Modula-2 lexers automatically convert to lowercase whenever
|
||||
this style is selected.
|
||||
|
||||
[1] `Revised Report on the Algorithmic Language Algol-60 <http://www.masswerk.at/algol60/report.htm>`
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, Operator
|
||||
|
||||
|
||||
class AlgolStyle(Style):
|
||||
|
||||
background_color = "#ffffff"
|
||||
default_style = ""
|
||||
|
||||
styles = {
|
||||
Comment: "italic #888",
|
||||
Comment.Preproc: "bold noitalic #888",
|
||||
Comment.Special: "bold noitalic #888",
|
||||
|
||||
Keyword: "underline bold",
|
||||
Keyword.Declaration: "italic",
|
||||
|
||||
Name.Builtin: "bold italic",
|
||||
Name.Builtin.Pseudo: "bold italic",
|
||||
Name.Namespace: "bold italic #666",
|
||||
Name.Class: "bold italic #666",
|
||||
Name.Function: "bold italic #666",
|
||||
Name.Variable: "bold italic #666",
|
||||
Name.Constant: "bold italic #666",
|
||||
|
||||
Operator.Word: "bold",
|
||||
|
||||
String: "italic #666",
|
||||
|
||||
Error: "border:#FF0000"
|
||||
}
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
"""
|
||||
pygments.styles.algol_nu
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Algol publication style without underlining of keywords.
|
||||
|
||||
This style renders source code for publication of algorithms in
|
||||
scientific papers and academic texts, where its format is frequently used.
|
||||
|
||||
It is based on the style of the revised Algol-60 language report[1].
|
||||
|
||||
o No colours, only black, white and shades of grey are used.
|
||||
o Keywords are rendered in lowercase boldface.
|
||||
o Builtins are rendered in lowercase boldface italic.
|
||||
o Docstrings and pragmas are rendered in dark grey boldface.
|
||||
o Library identifiers are rendered in dark grey boldface italic.
|
||||
o Comments are rendered in grey italic.
|
||||
|
||||
To render keywords with underlining, refer to the `Algol` style.
|
||||
|
||||
For lowercase conversion of keywords and builtins in languages where
|
||||
these are not or might not be lowercase, a supporting lexer is required.
|
||||
The Algol and Modula-2 lexers automatically convert to lowercase whenever
|
||||
this style is selected.
|
||||
|
||||
[1] `Revised Report on the Algorithmic Language Algol-60 <http://www.masswerk.at/algol60/report.htm>`
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, Operator
|
||||
|
||||
|
||||
class Algol_NuStyle(Style):
|
||||
|
||||
background_color = "#ffffff"
|
||||
default_style = ""
|
||||
|
||||
styles = {
|
||||
Comment: "italic #888",
|
||||
Comment.Preproc: "bold noitalic #888",
|
||||
Comment.Special: "bold noitalic #888",
|
||||
|
||||
Keyword: "bold",
|
||||
Keyword.Declaration: "italic",
|
||||
|
||||
Name.Builtin: "bold italic",
|
||||
Name.Builtin.Pseudo: "bold italic",
|
||||
Name.Namespace: "bold italic #666",
|
||||
Name.Class: "bold italic #666",
|
||||
Name.Function: "bold italic #666",
|
||||
Name.Variable: "bold italic #666",
|
||||
Name.Constant: "bold italic #666",
|
||||
|
||||
Operator.Word: "bold",
|
||||
|
||||
String: "italic #666",
|
||||
|
||||
Error: "border:#FF0000"
|
||||
}
|
||||
97
.venv/lib/python3.8/site-packages/pygments/styles/arduino.py
Normal file
97
.venv/lib/python3.8/site-packages/pygments/styles/arduino.py
Normal file
|
|
@ -0,0 +1,97 @@
|
|||
"""
|
||||
pygments.styles.arduino
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Arduino® Syntax highlighting style.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Generic, Whitespace
|
||||
|
||||
|
||||
class ArduinoStyle(Style):
|
||||
"""
|
||||
The Arduino® language style. This style is designed to highlight the
|
||||
Arduino source code, so exepect the best results with it.
|
||||
"""
|
||||
|
||||
background_color = "#ffffff"
|
||||
default_style = ""
|
||||
|
||||
styles = {
|
||||
Whitespace: "", # class: 'w'
|
||||
Error: "#a61717", # class: 'err'
|
||||
|
||||
Comment: "#95a5a6", # class: 'c'
|
||||
Comment.Multiline: "", # class: 'cm'
|
||||
Comment.Preproc: "#728E00", # class: 'cp'
|
||||
Comment.Single: "", # class: 'c1'
|
||||
Comment.Special: "", # class: 'cs'
|
||||
|
||||
Keyword: "#728E00", # class: 'k'
|
||||
Keyword.Constant: "#00979D", # class: 'kc'
|
||||
Keyword.Declaration: "", # class: 'kd'
|
||||
Keyword.Namespace: "", # class: 'kn'
|
||||
Keyword.Pseudo: "#00979D", # class: 'kp'
|
||||
Keyword.Reserved: "#00979D", # class: 'kr'
|
||||
Keyword.Type: "#00979D", # class: 'kt'
|
||||
|
||||
Operator: "#728E00", # class: 'o'
|
||||
Operator.Word: "", # class: 'ow'
|
||||
|
||||
Name: "#434f54", # class: 'n'
|
||||
Name.Attribute: "", # class: 'na'
|
||||
Name.Builtin: "#728E00", # class: 'nb'
|
||||
Name.Builtin.Pseudo: "", # class: 'bp'
|
||||
Name.Class: "", # class: 'nc'
|
||||
Name.Constant: "", # class: 'no'
|
||||
Name.Decorator: "", # class: 'nd'
|
||||
Name.Entity: "", # class: 'ni'
|
||||
Name.Exception: "", # class: 'ne'
|
||||
Name.Function: "#D35400", # class: 'nf'
|
||||
Name.Property: "", # class: 'py'
|
||||
Name.Label: "", # class: 'nl'
|
||||
Name.Namespace: "", # class: 'nn'
|
||||
Name.Other: "#728E00", # class: 'nx'
|
||||
Name.Tag: "", # class: 'nt'
|
||||
Name.Variable: "", # class: 'nv'
|
||||
Name.Variable.Class: "", # class: 'vc'
|
||||
Name.Variable.Global: "", # class: 'vg'
|
||||
Name.Variable.Instance: "", # class: 'vi'
|
||||
|
||||
Number: "#8A7B52", # class: 'm'
|
||||
Number.Float: "", # class: 'mf'
|
||||
Number.Hex: "", # class: 'mh'
|
||||
Number.Integer: "", # class: 'mi'
|
||||
Number.Integer.Long: "", # class: 'il'
|
||||
Number.Oct: "", # class: 'mo'
|
||||
|
||||
String: "#7F8C8D", # class: 's'
|
||||
String.Backtick: "", # class: 'sb'
|
||||
String.Char: "", # class: 'sc'
|
||||
String.Doc: "", # class: 'sd'
|
||||
String.Double: "", # class: 's2'
|
||||
String.Escape: "", # class: 'se'
|
||||
String.Heredoc: "", # class: 'sh'
|
||||
String.Interpol: "", # class: 'si'
|
||||
String.Other: "", # class: 'sx'
|
||||
String.Regex: "", # class: 'sr'
|
||||
String.Single: "", # class: 's1'
|
||||
String.Symbol: "", # class: 'ss'
|
||||
|
||||
Generic: "", # class: 'g'
|
||||
Generic.Deleted: "", # class: 'gd',
|
||||
Generic.Emph: "", # class: 'ge'
|
||||
Generic.Error: "", # class: 'gr'
|
||||
Generic.Heading: "", # class: 'gh'
|
||||
Generic.Inserted: "", # class: 'gi'
|
||||
Generic.Output: "", # class: 'go'
|
||||
Generic.Prompt: "", # class: 'gp'
|
||||
Generic.Strong: "", # class: 'gs'
|
||||
Generic.Subheading: "", # class: 'gu'
|
||||
Generic.Traceback: "", # class: 'gt'
|
||||
}
|
||||
64
.venv/lib/python3.8/site-packages/pygments/styles/autumn.py
Normal file
64
.venv/lib/python3.8/site-packages/pygments/styles/autumn.py
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
"""
|
||||
pygments.styles.autumn
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A colorful style, inspired by the terminal highlighting style.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Generic, Whitespace
|
||||
|
||||
|
||||
class AutumnStyle(Style):
|
||||
"""
|
||||
A colorful style, inspired by the terminal highlighting style.
|
||||
"""
|
||||
|
||||
default_style = ""
|
||||
|
||||
styles = {
|
||||
Whitespace: '#bbbbbb',
|
||||
|
||||
Comment: 'italic #aaaaaa',
|
||||
Comment.Preproc: 'noitalic #4c8317',
|
||||
Comment.Special: 'italic #0000aa',
|
||||
|
||||
Keyword: '#0000aa',
|
||||
Keyword.Type: '#00aaaa',
|
||||
|
||||
Operator.Word: '#0000aa',
|
||||
|
||||
Name.Builtin: '#00aaaa',
|
||||
Name.Function: '#00aa00',
|
||||
Name.Class: 'underline #00aa00',
|
||||
Name.Namespace: 'underline #00aaaa',
|
||||
Name.Variable: '#aa0000',
|
||||
Name.Constant: '#aa0000',
|
||||
Name.Entity: 'bold #800',
|
||||
Name.Attribute: '#1e90ff',
|
||||
Name.Tag: 'bold #1e90ff',
|
||||
Name.Decorator: '#888888',
|
||||
|
||||
String: '#aa5500',
|
||||
String.Symbol: '#0000aa',
|
||||
String.Regex: '#009999',
|
||||
|
||||
Number: '#009999',
|
||||
|
||||
Generic.Heading: 'bold #000080',
|
||||
Generic.Subheading: 'bold #800080',
|
||||
Generic.Deleted: '#aa0000',
|
||||
Generic.Inserted: '#00aa00',
|
||||
Generic.Error: '#aa0000',
|
||||
Generic.Emph: 'italic',
|
||||
Generic.Strong: 'bold',
|
||||
Generic.Prompt: '#555555',
|
||||
Generic.Output: '#888888',
|
||||
Generic.Traceback: '#aa0000',
|
||||
|
||||
Error: '#F00 bg:#FAA'
|
||||
}
|
||||
50
.venv/lib/python3.8/site-packages/pygments/styles/borland.py
Normal file
50
.venv/lib/python3.8/site-packages/pygments/styles/borland.py
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
"""
|
||||
pygments.styles.borland
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Style similar to the style used in the Borland IDEs.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Generic, Whitespace
|
||||
|
||||
|
||||
class BorlandStyle(Style):
|
||||
"""
|
||||
Style similar to the style used in the borland IDEs.
|
||||
"""
|
||||
|
||||
default_style = ''
|
||||
|
||||
styles = {
|
||||
Whitespace: '#bbbbbb',
|
||||
|
||||
Comment: 'italic #008800',
|
||||
Comment.Preproc: 'noitalic #008080',
|
||||
Comment.Special: 'noitalic bold',
|
||||
|
||||
String: '#0000FF',
|
||||
String.Char: '#800080',
|
||||
Number: '#0000FF',
|
||||
Keyword: 'bold #000080',
|
||||
Operator.Word: 'bold',
|
||||
Name.Tag: 'bold #000080',
|
||||
Name.Attribute: '#FF0000',
|
||||
|
||||
Generic.Heading: '#999999',
|
||||
Generic.Subheading: '#aaaaaa',
|
||||
Generic.Deleted: 'bg:#ffdddd #000000',
|
||||
Generic.Inserted: 'bg:#ddffdd #000000',
|
||||
Generic.Error: '#aa0000',
|
||||
Generic.Emph: 'italic',
|
||||
Generic.Strong: 'bold',
|
||||
Generic.Prompt: '#555555',
|
||||
Generic.Output: '#888888',
|
||||
Generic.Traceback: '#aa0000',
|
||||
|
||||
Error: 'bg:#e3d2d2 #a61717'
|
||||
}
|
||||
48
.venv/lib/python3.8/site-packages/pygments/styles/bw.py
Normal file
48
.venv/lib/python3.8/site-packages/pygments/styles/bw.py
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
"""
|
||||
pygments.styles.bw
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Simple black/white only style.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Operator, Generic
|
||||
|
||||
|
||||
class BlackWhiteStyle(Style):
|
||||
|
||||
background_color = "#ffffff"
|
||||
default_style = ""
|
||||
|
||||
styles = {
|
||||
Comment: "italic",
|
||||
Comment.Preproc: "noitalic",
|
||||
|
||||
Keyword: "bold",
|
||||
Keyword.Pseudo: "nobold",
|
||||
Keyword.Type: "nobold",
|
||||
|
||||
Operator.Word: "bold",
|
||||
|
||||
Name.Class: "bold",
|
||||
Name.Namespace: "bold",
|
||||
Name.Exception: "bold",
|
||||
Name.Entity: "bold",
|
||||
Name.Tag: "bold",
|
||||
|
||||
String: "italic",
|
||||
String.Interpol: "bold",
|
||||
String.Escape: "bold",
|
||||
|
||||
Generic.Heading: "bold",
|
||||
Generic.Subheading: "bold",
|
||||
Generic.Emph: "italic",
|
||||
Generic.Strong: "bold",
|
||||
Generic.Prompt: "bold",
|
||||
|
||||
Error: "border:#FF0000"
|
||||
}
|
||||
|
|
@ -0,0 +1,80 @@
|
|||
"""
|
||||
pygments.styles.colorful
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A colorful style, inspired by CodeRay.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Generic, Whitespace
|
||||
|
||||
|
||||
class ColorfulStyle(Style):
|
||||
"""
|
||||
A colorful style, inspired by CodeRay.
|
||||
"""
|
||||
|
||||
default_style = ""
|
||||
|
||||
styles = {
|
||||
Whitespace: "#bbbbbb",
|
||||
|
||||
Comment: "#888",
|
||||
Comment.Preproc: "#579",
|
||||
Comment.Special: "bold #cc0000",
|
||||
|
||||
Keyword: "bold #080",
|
||||
Keyword.Pseudo: "#038",
|
||||
Keyword.Type: "#339",
|
||||
|
||||
Operator: "#333",
|
||||
Operator.Word: "bold #000",
|
||||
|
||||
Name.Builtin: "#007020",
|
||||
Name.Function: "bold #06B",
|
||||
Name.Class: "bold #B06",
|
||||
Name.Namespace: "bold #0e84b5",
|
||||
Name.Exception: "bold #F00",
|
||||
Name.Variable: "#963",
|
||||
Name.Variable.Instance: "#33B",
|
||||
Name.Variable.Class: "#369",
|
||||
Name.Variable.Global: "bold #d70",
|
||||
Name.Constant: "bold #036",
|
||||
Name.Label: "bold #970",
|
||||
Name.Entity: "bold #800",
|
||||
Name.Attribute: "#00C",
|
||||
Name.Tag: "#070",
|
||||
Name.Decorator: "bold #555",
|
||||
|
||||
String: "bg:#fff0f0",
|
||||
String.Char: "#04D bg:",
|
||||
String.Doc: "#D42 bg:",
|
||||
String.Interpol: "bg:#eee",
|
||||
String.Escape: "bold #666",
|
||||
String.Regex: "bg:#fff0ff #000",
|
||||
String.Symbol: "#A60 bg:",
|
||||
String.Other: "#D20",
|
||||
|
||||
Number: "bold #60E",
|
||||
Number.Integer: "bold #00D",
|
||||
Number.Float: "bold #60E",
|
||||
Number.Hex: "bold #058",
|
||||
Number.Oct: "bold #40E",
|
||||
|
||||
Generic.Heading: "bold #000080",
|
||||
Generic.Subheading: "bold #800080",
|
||||
Generic.Deleted: "#A00000",
|
||||
Generic.Inserted: "#00A000",
|
||||
Generic.Error: "#FF0000",
|
||||
Generic.Emph: "italic",
|
||||
Generic.Strong: "bold",
|
||||
Generic.Prompt: "bold #c65d09",
|
||||
Generic.Output: "#888",
|
||||
Generic.Traceback: "#04D",
|
||||
|
||||
Error: "#F00 bg:#FAA"
|
||||
}
|
||||
72
.venv/lib/python3.8/site-packages/pygments/styles/default.py
Normal file
72
.venv/lib/python3.8/site-packages/pygments/styles/default.py
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
"""
|
||||
pygments.styles.default
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The default highlighting style.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Generic, Whitespace
|
||||
|
||||
|
||||
class DefaultStyle(Style):
|
||||
"""
|
||||
The default style (inspired by Emacs 22).
|
||||
"""
|
||||
|
||||
background_color = "#f8f8f8"
|
||||
default_style = ""
|
||||
|
||||
styles = {
|
||||
Whitespace: "#bbbbbb",
|
||||
Comment: "italic #3D7B7B",
|
||||
Comment.Preproc: "noitalic #9C6500",
|
||||
|
||||
#Keyword: "bold #AA22FF",
|
||||
Keyword: "bold #008000",
|
||||
Keyword.Pseudo: "nobold",
|
||||
Keyword.Type: "nobold #B00040",
|
||||
|
||||
Operator: "#666666",
|
||||
Operator.Word: "bold #AA22FF",
|
||||
|
||||
Name.Builtin: "#008000",
|
||||
Name.Function: "#0000FF",
|
||||
Name.Class: "bold #0000FF",
|
||||
Name.Namespace: "bold #0000FF",
|
||||
Name.Exception: "bold #CB3F38",
|
||||
Name.Variable: "#19177C",
|
||||
Name.Constant: "#880000",
|
||||
Name.Label: "#767600",
|
||||
Name.Entity: "bold #717171",
|
||||
Name.Attribute: "#687822",
|
||||
Name.Tag: "bold #008000",
|
||||
Name.Decorator: "#AA22FF",
|
||||
|
||||
String: "#BA2121",
|
||||
String.Doc: "italic",
|
||||
String.Interpol: "bold #A45A77",
|
||||
String.Escape: "bold #AA5D1F",
|
||||
String.Regex: "#A45A77",
|
||||
#String.Symbol: "#B8860B",
|
||||
String.Symbol: "#19177C",
|
||||
String.Other: "#008000",
|
||||
Number: "#666666",
|
||||
|
||||
Generic.Heading: "bold #000080",
|
||||
Generic.Subheading: "bold #800080",
|
||||
Generic.Deleted: "#A00000",
|
||||
Generic.Inserted: "#008400",
|
||||
Generic.Error: "#E40000",
|
||||
Generic.Emph: "italic",
|
||||
Generic.Strong: "bold",
|
||||
Generic.Prompt: "bold #000080",
|
||||
Generic.Output: "#717171",
|
||||
Generic.Traceback: "#04D",
|
||||
|
||||
Error: "border:#FF0000"
|
||||
}
|
||||
105
.venv/lib/python3.8/site-packages/pygments/styles/dracula.py
Normal file
105
.venv/lib/python3.8/site-packages/pygments/styles/dracula.py
Normal file
|
|
@ -0,0 +1,105 @@
|
|||
"""
|
||||
pygments.styles.dracula
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Pygments version of `Dracula` from https://github.com/dracula/dracula-theme.
|
||||
|
||||
Based on the Dracula Theme for pygments by Chris Bracco.
|
||||
See https://github.com/dracula/pygments/tree/fee9ed5613d1086bc01b9d0a5a0e9867a009f571
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import (
|
||||
Keyword, Name, Comment, String, Error, Literal, Number, Operator, Other,
|
||||
Punctuation, Text, Generic, Whitespace,
|
||||
)
|
||||
|
||||
|
||||
class DraculaStyle(Style):
|
||||
|
||||
default_style = ""
|
||||
background_color = "#282a36"
|
||||
highlight_color = "#44475a"
|
||||
line_number_color = "#f1fa8c"
|
||||
line_number_background_color = "#44475a"
|
||||
line_number_special_color = "#50fa7b"
|
||||
line_number_special_background_color = "#6272a4"
|
||||
|
||||
styles = {
|
||||
Whitespace: "#f8f8f2",
|
||||
|
||||
Comment: "#6272a4",
|
||||
Comment.Hashbang: "#6272a4",
|
||||
Comment.Multiline: "#6272a4",
|
||||
Comment.Preproc: "#ff79c6",
|
||||
Comment.Single: "#6272a4",
|
||||
Comment.Special: "#6272a4",
|
||||
|
||||
Generic: "#f8f8f2",
|
||||
Generic.Deleted: "#8b080b",
|
||||
Generic.Emph: "#f8f8f2 underline",
|
||||
Generic.Error: "#f8f8f2",
|
||||
Generic.Heading: "#f8f8f2 bold",
|
||||
Generic.Inserted: "#f8f8f2 bold",
|
||||
Generic.Output: "#44475a",
|
||||
Generic.Prompt: "#f8f8f2",
|
||||
Generic.Strong: "#f8f8f2",
|
||||
Generic.Subheading: "#f8f8f2 bold",
|
||||
Generic.Traceback: "#f8f8f2",
|
||||
|
||||
Error: "#f8f8f2",
|
||||
Keyword: "#ff79c6",
|
||||
Keyword.Constant: "#ff79c6",
|
||||
Keyword.Declaration: "#8be9fd italic",
|
||||
Keyword.Namespace: "#ff79c6",
|
||||
Keyword.Pseudo: "#ff79c6",
|
||||
Keyword.Reserved: "#ff79c6",
|
||||
Keyword.Type: "#8be9fd",
|
||||
Literal: "#f8f8f2",
|
||||
Literal.Date: "#f8f8f2",
|
||||
Name: "#f8f8f2",
|
||||
Name.Attribute: "#50fa7b",
|
||||
Name.Builtin: "#8be9fd italic",
|
||||
Name.Builtin.Pseudo: "#f8f8f2",
|
||||
Name.Class: "#50fa7b",
|
||||
Name.Constant: "#f8f8f2",
|
||||
Name.Decorator: "#f8f8f2",
|
||||
Name.Entity: "#f8f8f2",
|
||||
Name.Exception: "#f8f8f2",
|
||||
Name.Function: "#50fa7b",
|
||||
Name.Label: "#8be9fd italic",
|
||||
Name.Namespace: "#f8f8f2",
|
||||
Name.Other: "#f8f8f2",
|
||||
Name.Tag: "#ff79c6",
|
||||
Name.Variable: "#8be9fd italic",
|
||||
Name.Variable.Class: "#8be9fd italic",
|
||||
Name.Variable.Global: "#8be9fd italic",
|
||||
Name.Variable.Instance: "#8be9fd italic",
|
||||
Number: "#ffb86c",
|
||||
Number.Bin: "#ffb86c",
|
||||
Number.Float: "#ffb86c",
|
||||
Number.Hex: "#ffb86c",
|
||||
Number.Integer: "#ffb86c",
|
||||
Number.Integer.Long: "#ffb86c",
|
||||
Number.Oct: "#ffb86c",
|
||||
Operator: "#ff79c6",
|
||||
Operator.Word: "#ff79c6",
|
||||
Other: "#f8f8f2",
|
||||
Punctuation: "#f8f8f2",
|
||||
String: "#bd93f9",
|
||||
String.Backtick: "#bd93f9",
|
||||
String.Char: "#bd93f9",
|
||||
String.Doc: "#bd93f9",
|
||||
String.Double: "#bd93f9",
|
||||
String.Escape: "#bd93f9",
|
||||
String.Heredoc: "#bd93f9",
|
||||
String.Interpol: "#bd93f9",
|
||||
String.Other: "#bd93f9",
|
||||
String.Regex: "#bd93f9",
|
||||
String.Single: "#bd93f9",
|
||||
String.Symbol: "#bd93f9",
|
||||
Text: "#f8f8f2",
|
||||
}
|
||||
71
.venv/lib/python3.8/site-packages/pygments/styles/emacs.py
Normal file
71
.venv/lib/python3.8/site-packages/pygments/styles/emacs.py
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
"""
|
||||
pygments.styles.emacs
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A highlighting style for Pygments, inspired by Emacs.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Generic, Whitespace
|
||||
|
||||
|
||||
class EmacsStyle(Style):
|
||||
"""
|
||||
The default style (inspired by Emacs 22).
|
||||
"""
|
||||
|
||||
background_color = "#f8f8f8"
|
||||
default_style = ""
|
||||
|
||||
styles = {
|
||||
Whitespace: "#bbbbbb",
|
||||
Comment: "italic #008800",
|
||||
Comment.Preproc: "noitalic",
|
||||
Comment.Special: "noitalic bold",
|
||||
|
||||
Keyword: "bold #AA22FF",
|
||||
Keyword.Pseudo: "nobold",
|
||||
Keyword.Type: "bold #00BB00",
|
||||
|
||||
Operator: "#666666",
|
||||
Operator.Word: "bold #AA22FF",
|
||||
|
||||
Name.Builtin: "#AA22FF",
|
||||
Name.Function: "#00A000",
|
||||
Name.Class: "#0000FF",
|
||||
Name.Namespace: "bold #0000FF",
|
||||
Name.Exception: "bold #D2413A",
|
||||
Name.Variable: "#B8860B",
|
||||
Name.Constant: "#880000",
|
||||
Name.Label: "#A0A000",
|
||||
Name.Entity: "bold #999999",
|
||||
Name.Attribute: "#BB4444",
|
||||
Name.Tag: "bold #008000",
|
||||
Name.Decorator: "#AA22FF",
|
||||
|
||||
String: "#BB4444",
|
||||
String.Doc: "italic",
|
||||
String.Interpol: "bold #BB6688",
|
||||
String.Escape: "bold #BB6622",
|
||||
String.Regex: "#BB6688",
|
||||
String.Symbol: "#B8860B",
|
||||
String.Other: "#008000",
|
||||
Number: "#666666",
|
||||
|
||||
Generic.Heading: "bold #000080",
|
||||
Generic.Subheading: "bold #800080",
|
||||
Generic.Deleted: "#A00000",
|
||||
Generic.Inserted: "#00A000",
|
||||
Generic.Error: "#FF0000",
|
||||
Generic.Emph: "italic",
|
||||
Generic.Strong: "bold",
|
||||
Generic.Prompt: "bold #000080",
|
||||
Generic.Output: "#888",
|
||||
Generic.Traceback: "#04D",
|
||||
|
||||
Error: "border:#FF0000"
|
||||
}
|
||||
|
|
@ -0,0 +1,72 @@
|
|||
"""
|
||||
pygments.styles.friendly
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A modern style based on the VIM pyte theme.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Generic, Whitespace
|
||||
|
||||
|
||||
class FriendlyStyle(Style):
|
||||
"""
|
||||
A modern style based on the VIM pyte theme.
|
||||
"""
|
||||
|
||||
background_color = "#f0f0f0"
|
||||
default_style = ""
|
||||
line_number_color = "#666666"
|
||||
|
||||
styles = {
|
||||
Whitespace: "#bbbbbb",
|
||||
Comment: "italic #60a0b0",
|
||||
Comment.Preproc: "noitalic #007020",
|
||||
Comment.Special: "noitalic bg:#fff0f0",
|
||||
|
||||
Keyword: "bold #007020",
|
||||
Keyword.Pseudo: "nobold",
|
||||
Keyword.Type: "nobold #902000",
|
||||
|
||||
Operator: "#666666",
|
||||
Operator.Word: "bold #007020",
|
||||
|
||||
Name.Builtin: "#007020",
|
||||
Name.Function: "#06287e",
|
||||
Name.Class: "bold #0e84b5",
|
||||
Name.Namespace: "bold #0e84b5",
|
||||
Name.Exception: "#007020",
|
||||
Name.Variable: "#bb60d5",
|
||||
Name.Constant: "#60add5",
|
||||
Name.Label: "bold #002070",
|
||||
Name.Entity: "bold #d55537",
|
||||
Name.Attribute: "#4070a0",
|
||||
Name.Tag: "bold #062873",
|
||||
Name.Decorator: "bold #555555",
|
||||
|
||||
String: "#4070a0",
|
||||
String.Doc: "italic",
|
||||
String.Interpol: "italic #70a0d0",
|
||||
String.Escape: "bold #4070a0",
|
||||
String.Regex: "#235388",
|
||||
String.Symbol: "#517918",
|
||||
String.Other: "#c65d09",
|
||||
Number: "#40a070",
|
||||
|
||||
Generic.Heading: "bold #000080",
|
||||
Generic.Subheading: "bold #800080",
|
||||
Generic.Deleted: "#A00000",
|
||||
Generic.Inserted: "#00A000",
|
||||
Generic.Error: "#FF0000",
|
||||
Generic.Emph: "italic",
|
||||
Generic.Strong: "bold",
|
||||
Generic.Prompt: "bold #c65d09",
|
||||
Generic.Output: "#888",
|
||||
Generic.Traceback: "#04D",
|
||||
|
||||
Error: "border:#FF0000"
|
||||
}
|
||||
|
|
@ -0,0 +1,76 @@
|
|||
"""
|
||||
pygments.styles.friendly_grayscale
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A style based on friendly style.
|
||||
The color values of the friendly style have been converted to grayscale
|
||||
using the luminosity value calculated by
|
||||
http://www.workwithcolor.com/color-converter-01.htm
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Generic, Whitespace
|
||||
|
||||
|
||||
class FriendlyGrayscaleStyle(Style):
|
||||
"""
|
||||
A modern grayscale style based on the friendly style.
|
||||
|
||||
.. versionadded:: 2.11
|
||||
"""
|
||||
|
||||
background_color = "#f0f0f0"
|
||||
default_style = ""
|
||||
|
||||
styles = {
|
||||
Whitespace: "#bbbbbb",
|
||||
Comment: "italic #959595",
|
||||
Comment.Preproc: "noitalic #575757",
|
||||
Comment.Special: "noitalic bg:#F4F4F4",
|
||||
|
||||
Keyword: "bold #575757",
|
||||
Keyword.Pseudo: "nobold",
|
||||
Keyword.Type: "nobold #4F4F4F",
|
||||
|
||||
Operator: "#666666",
|
||||
Operator.Word: "bold #575757",
|
||||
|
||||
Name.Builtin: "#575757",
|
||||
Name.Function: "#3F3F3F",
|
||||
Name.Class: "bold #7E7E7E",
|
||||
Name.Namespace: "bold #7E7E7E",
|
||||
Name.Exception: "#575757",
|
||||
Name.Variable: "#9A9A9A",
|
||||
Name.Constant: "#A5A5A5",
|
||||
Name.Label: "bold #363636",
|
||||
Name.Entity: "bold #848484",
|
||||
Name.Attribute: "#707070",
|
||||
Name.Tag: "bold #3B3B3B",
|
||||
Name.Decorator: "bold #555555",
|
||||
|
||||
String: "#717171",
|
||||
String.Doc: "italic",
|
||||
String.Interpol: "italic #9F9F9F",
|
||||
String.Escape: "bold #717171",
|
||||
String.Regex: "#575757",
|
||||
String.Symbol: "#676767",
|
||||
String.Other: "#7E7E7E",
|
||||
Number: "#888888",
|
||||
|
||||
Generic.Heading: "bold #373737",
|
||||
Generic.Subheading: "bold #5A5A5A",
|
||||
Generic.Deleted: "#545454",
|
||||
Generic.Inserted: "#7D7D7D",
|
||||
Generic.Error: "#898989",
|
||||
Generic.Emph: "italic",
|
||||
Generic.Strong: "bold",
|
||||
Generic.Prompt: "bold #7E7E7E",
|
||||
Generic.Output: "#888888",
|
||||
Generic.Traceback: "#6D6D6D",
|
||||
|
||||
Error: "border:#898989"
|
||||
}
|
||||
41
.venv/lib/python3.8/site-packages/pygments/styles/fruity.py
Normal file
41
.venv/lib/python3.8/site-packages/pygments/styles/fruity.py
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
"""
|
||||
pygments.styles.fruity
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
pygments version of my "fruity" vim theme.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Token, Comment, Name, Keyword, \
|
||||
Generic, Number, String, Whitespace
|
||||
|
||||
class FruityStyle(Style):
|
||||
"""
|
||||
Pygments version of the "native" vim theme.
|
||||
"""
|
||||
|
||||
background_color = '#111111'
|
||||
highlight_color = '#333333'
|
||||
|
||||
styles = {
|
||||
Whitespace: '#888888',
|
||||
Token: '#ffffff',
|
||||
Generic.Output: '#444444 bg:#222222',
|
||||
Keyword: '#fb660a bold',
|
||||
Keyword.Pseudo: 'nobold',
|
||||
Number: '#0086f7 bold',
|
||||
Name.Tag: '#fb660a bold',
|
||||
Name.Variable: '#fb660a',
|
||||
Comment: '#008800 bg:#0f140f italic',
|
||||
Name.Attribute: '#ff0086 bold',
|
||||
String: '#0086d2',
|
||||
Name.Function: '#ff0086 bold',
|
||||
Generic.Heading: '#ffffff bold',
|
||||
Keyword.Type: '#cdcaa9 bold',
|
||||
Generic.Subheading: '#ffffff bold',
|
||||
Name.Constant: '#0086d2',
|
||||
Comment.Preproc: '#ff0007 bold'
|
||||
}
|
||||
109
.venv/lib/python3.8/site-packages/pygments/styles/gruvbox.py
Normal file
109
.venv/lib/python3.8/site-packages/pygments/styles/gruvbox.py
Normal file
|
|
@ -0,0 +1,109 @@
|
|||
"""
|
||||
pygments.styles.gruvbox
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
pygments version of the "gruvbox" vim theme.
|
||||
https://github.com/morhetz/gruvbox
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Token, Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Generic
|
||||
|
||||
|
||||
class GruvboxDarkStyle(Style):
|
||||
"""
|
||||
Pygments version of the "gruvbox" dark vim theme.
|
||||
"""
|
||||
|
||||
background_color = '#282828'
|
||||
highlight_color = '#ebdbb2'
|
||||
|
||||
styles = {
|
||||
Token: '#dddddd',
|
||||
|
||||
Comment: 'italic #928374',
|
||||
Comment.PreProc: '#8ec07c',
|
||||
Comment.Special: 'bold italic #ebdbb2',
|
||||
|
||||
Keyword: '#fb4934',
|
||||
Operator.Word: '#fb4934',
|
||||
|
||||
String: '#b8bb26',
|
||||
String.Escape: '#fe8019',
|
||||
|
||||
Number: '#d3869b',
|
||||
|
||||
Name.Builtin: '#fe8019',
|
||||
Name.Variable: '#83a598',
|
||||
Name.Constant: '#d3869b',
|
||||
Name.Class: '#8ec07c',
|
||||
Name.Function: '#8ec07c',
|
||||
Name.Namespace: '#8ec07c',
|
||||
Name.Exception: '#fb4934',
|
||||
Name.Tag: '#8ec07c',
|
||||
Name.Attribute: '#fabd2f',
|
||||
Name.Decorator: '#fb4934',
|
||||
|
||||
Generic.Heading: 'bold #ebdbb2',
|
||||
Generic.Subheading: 'underline #ebdbb2',
|
||||
Generic.Deleted: 'bg:#fb4934 #282828',
|
||||
Generic.Inserted: 'bg:#b8bb26 #282828',
|
||||
Generic.Error: '#fb4934',
|
||||
Generic.Emph: 'italic',
|
||||
Generic.Strong: 'bold',
|
||||
Generic.Prompt: '#a89984',
|
||||
Generic.Output: '#f2e5bc',
|
||||
Generic.Traceback: '#fb4934',
|
||||
|
||||
Error: 'bg:#fb4934 #282828'
|
||||
}
|
||||
|
||||
class GruvboxLightStyle(Style):
|
||||
"""
|
||||
Pygments version of the "gruvbox" Light vim theme.
|
||||
"""
|
||||
|
||||
background_color = '#fbf1c7'
|
||||
highlight_color = '#3c3836'
|
||||
|
||||
styles = {
|
||||
Comment: 'italic #928374',
|
||||
Comment.PreProc: '#427b58',
|
||||
Comment.Special: 'bold italic #3c3836',
|
||||
|
||||
Keyword: '#9d0006',
|
||||
Operator.Word: '#9d0006',
|
||||
|
||||
String: '#79740e',
|
||||
String.Escape: '#af3a03',
|
||||
|
||||
Number: '#8f3f71',
|
||||
|
||||
Name.Builtin: '#af3a03',
|
||||
Name.Variable: '#076678',
|
||||
Name.Constant: '#8f3f71',
|
||||
Name.Class: '#427b58',
|
||||
Name.Function: '#427b58',
|
||||
Name.Namespace: '#427b58',
|
||||
Name.Exception: '#9d0006',
|
||||
Name.Tag: '#427b58',
|
||||
Name.Attribute: '#b57614',
|
||||
Name.Decorator: '#9d0006',
|
||||
|
||||
Generic.Heading: 'bold #3c3836',
|
||||
Generic.Subheading: 'underline #3c3836',
|
||||
Generic.Deleted: 'bg:#9d0006 #fbf1c7',
|
||||
Generic.Inserted: 'bg:#79740e #fbf1c7',
|
||||
Generic.Error: '#9d0006',
|
||||
Generic.Emph: 'italic',
|
||||
Generic.Strong: 'bold',
|
||||
Generic.Prompt: '#7c6f64',
|
||||
Generic.Output: '#32302f',
|
||||
Generic.Traceback: '#9d0006',
|
||||
|
||||
Error: 'bg:#9d0006 #fbf1c7'
|
||||
}
|
||||
28
.venv/lib/python3.8/site-packages/pygments/styles/igor.py
Normal file
28
.venv/lib/python3.8/site-packages/pygments/styles/igor.py
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
"""
|
||||
pygments.styles.igor
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Igor Pro default style.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String
|
||||
|
||||
|
||||
class IgorStyle(Style):
|
||||
"""
|
||||
Pygments version of the official colors for Igor Pro procedures.
|
||||
"""
|
||||
default_style = ""
|
||||
|
||||
styles = {
|
||||
Comment: 'italic #FF0000',
|
||||
Keyword: '#0000FF',
|
||||
Name.Function: '#C34E00',
|
||||
Name.Decorator: '#CC00A3',
|
||||
Name.Class: '#007575',
|
||||
String: '#009C00'
|
||||
}
|
||||
66
.venv/lib/python3.8/site-packages/pygments/styles/inkpot.py
Normal file
66
.venv/lib/python3.8/site-packages/pygments/styles/inkpot.py
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
"""
|
||||
pygments.styles.inkpot
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A highlighting style for Pygments, inspired by the Inkpot theme for VIM.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Text, Other, Keyword, Name, Comment, String, \
|
||||
Error, Number, Operator, Generic, Whitespace, Punctuation
|
||||
|
||||
|
||||
class InkPotStyle(Style):
|
||||
background_color = "#1e1e27"
|
||||
default_style = ""
|
||||
styles = {
|
||||
Text: "#cfbfad",
|
||||
Other: "#cfbfad",
|
||||
Whitespace: "#434357",
|
||||
Comment: "#cd8b00",
|
||||
Comment.Preproc: "#409090",
|
||||
Comment.PreprocFile: "bg:#404040 #ffcd8b",
|
||||
Comment.Special: "#808bed",
|
||||
|
||||
Keyword: "#808bed",
|
||||
Keyword.Pseudo: "nobold",
|
||||
Keyword.Type: "#ff8bff",
|
||||
|
||||
Operator: "#666666",
|
||||
|
||||
Punctuation: "#cfbfad",
|
||||
|
||||
Name: "#cfbfad",
|
||||
Name.Attribute: "#cfbfad",
|
||||
Name.Builtin.Pseudo: '#ffff00',
|
||||
Name.Builtin: "#808bed",
|
||||
Name.Class: "#ff8bff",
|
||||
Name.Constant: "#409090",
|
||||
Name.Decorator: "#409090",
|
||||
Name.Exception: "#ff0000",
|
||||
Name.Function: "#c080d0",
|
||||
Name.Label: "#808bed",
|
||||
Name.Namespace: "#ff0000",
|
||||
Name.Variable: "#cfbfad",
|
||||
|
||||
String: "bg:#404040 #ffcd8b",
|
||||
String.Doc: "#808bed",
|
||||
|
||||
Number: "#f0ad6d",
|
||||
|
||||
Generic.Heading: "bold #000080",
|
||||
Generic.Subheading: "bold #800080",
|
||||
Generic.Deleted: "#A00000",
|
||||
Generic.Inserted: "#00A000",
|
||||
Generic.Error: "#FF0000",
|
||||
Generic.Emph: "italic",
|
||||
Generic.Strong: "bold",
|
||||
Generic.Prompt: "bold #000080",
|
||||
Generic.Output: "#888",
|
||||
Generic.Traceback: "#04D",
|
||||
|
||||
Error: "bg:#6e2e2e #ffffff"
|
||||
}
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
"""
|
||||
pygments.styles.lilypond
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
LilyPond-specific style.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Token
|
||||
|
||||
class LilyPondStyle(Style):
|
||||
"""
|
||||
Style for the LilyPond language.
|
||||
|
||||
.. versionadded:: 2.11
|
||||
"""
|
||||
|
||||
# Don't show it in the gallery, it's intended for LilyPond
|
||||
# input only and doesn't show good output on Python code.
|
||||
web_style_gallery_exclude = True
|
||||
|
||||
default_style = "#0000ff"
|
||||
|
||||
styles = {
|
||||
Token.Whitespace: "",
|
||||
Token.Text: "",
|
||||
Token.Keyword: "bold",
|
||||
Token.Comment: "italic #A3AAB2",
|
||||
Token.String: "#AB0909",
|
||||
Token.String.Escape: "#C46C6C",
|
||||
Token.String.Symbol: "noinherit",
|
||||
Token.Pitch: "", #"#911520",
|
||||
Token.Number: "#976806", # includes durations
|
||||
# A bare 11 is not distinguishable from a number, so we highlight
|
||||
# the same.
|
||||
Token.ChordModifier: "#976806",
|
||||
Token.Name.Lvalue: "#08547A",
|
||||
Token.Name.BackslashReference: "#08547A",
|
||||
Token.Name.Builtin.MusicCommand: "bold #08547A",
|
||||
Token.Name.Builtin.PaperVariable: "bold #6C5A05",
|
||||
Token.Name.Builtin.HeaderVariable: "bold #6C5A05",
|
||||
Token.Name.Builtin.MusicFunction: "bold #08547A",
|
||||
Token.Name.Builtin.Clef: "bold #08547A",
|
||||
Token.Name.Builtin.Scale: "bold #08547A",
|
||||
Token.Name.Builtin.RepeatType: "#08547A",
|
||||
Token.Name.Builtin.Dynamic: "#68175A",
|
||||
Token.Name.Builtin.Articulation: "#68175A",
|
||||
Token.Name.Builtin.SchemeFunction: "bold #A83401",
|
||||
Token.Name.Builtin.SchemeBuiltin: "bold",
|
||||
Token.Name.Builtin.MarkupCommand: "bold #831E71",
|
||||
Token.Name.Builtin.Context: "bold #038B8B",
|
||||
Token.Name.Builtin.ContextProperty: "#038B8B",
|
||||
Token.Name.Builtin.Grob: "bold #0C7441",
|
||||
Token.Name.Builtin.GrobProperty: "#0C7441",
|
||||
Token.Name.Builtin.Translator: "bold #6200A4",
|
||||
}
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
"""
|
||||
pygments.styles.lovelace
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Lovelace by Miikka Salminen
|
||||
|
||||
Pygments style by Miikka Salminen (https://github.com/miikkas)
|
||||
A desaturated, somewhat subdued style created for the Lovelace interactive
|
||||
learning environment.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Punctuation, Generic, Whitespace
|
||||
|
||||
|
||||
class LovelaceStyle(Style):
|
||||
"""
|
||||
The style used in Lovelace interactive learning environment. Tries to avoid
|
||||
the "angry fruit salad" effect with desaturated and dim colours.
|
||||
"""
|
||||
_KW_BLUE = '#2838b0'
|
||||
_NAME_GREEN = '#388038'
|
||||
_DOC_ORANGE = '#b85820'
|
||||
_OW_PURPLE = '#a848a8'
|
||||
_FUN_BROWN = '#785840'
|
||||
_STR_RED = '#b83838'
|
||||
_CLS_CYAN = '#287088'
|
||||
_ESCAPE_LIME = '#709030'
|
||||
_LABEL_CYAN = '#289870'
|
||||
_EXCEPT_YELLOW = '#908828'
|
||||
|
||||
default_style = '#222222'
|
||||
|
||||
styles = {
|
||||
Whitespace: '#a89028',
|
||||
Comment: 'italic #888888',
|
||||
Comment.Hashbang: _CLS_CYAN,
|
||||
Comment.Multiline: '#888888',
|
||||
Comment.Preproc: 'noitalic '+_LABEL_CYAN,
|
||||
|
||||
Keyword: _KW_BLUE,
|
||||
Keyword.Constant: 'italic #444444',
|
||||
Keyword.Declaration: 'italic',
|
||||
Keyword.Type: 'italic',
|
||||
|
||||
Operator: '#666666',
|
||||
Operator.Word: _OW_PURPLE,
|
||||
|
||||
Punctuation: '#888888',
|
||||
|
||||
Name.Attribute: _NAME_GREEN,
|
||||
Name.Builtin: _NAME_GREEN,
|
||||
Name.Builtin.Pseudo: 'italic',
|
||||
Name.Class: _CLS_CYAN,
|
||||
Name.Constant: _DOC_ORANGE,
|
||||
Name.Decorator: _CLS_CYAN,
|
||||
Name.Entity: _ESCAPE_LIME,
|
||||
Name.Exception: _EXCEPT_YELLOW,
|
||||
Name.Function: _FUN_BROWN,
|
||||
Name.Function.Magic: _DOC_ORANGE,
|
||||
Name.Label: _LABEL_CYAN,
|
||||
Name.Namespace: _LABEL_CYAN,
|
||||
Name.Tag: _KW_BLUE,
|
||||
Name.Variable: '#b04040',
|
||||
Name.Variable.Global:_EXCEPT_YELLOW,
|
||||
Name.Variable.Magic: _DOC_ORANGE,
|
||||
|
||||
String: _STR_RED,
|
||||
String.Affix: '#444444',
|
||||
String.Char: _OW_PURPLE,
|
||||
String.Delimiter: _DOC_ORANGE,
|
||||
String.Doc: 'italic '+_DOC_ORANGE,
|
||||
String.Escape: _ESCAPE_LIME,
|
||||
String.Interpol: 'underline',
|
||||
String.Other: _OW_PURPLE,
|
||||
String.Regex: _OW_PURPLE,
|
||||
|
||||
Number: '#444444',
|
||||
|
||||
Generic.Deleted: '#c02828',
|
||||
Generic.Emph: 'italic',
|
||||
Generic.Error: '#c02828',
|
||||
Generic.Heading: '#666666',
|
||||
Generic.Subheading: '#444444',
|
||||
Generic.Inserted: _NAME_GREEN,
|
||||
Generic.Output: '#666666',
|
||||
Generic.Prompt: '#444444',
|
||||
Generic.Strong: 'bold',
|
||||
Generic.Traceback: _KW_BLUE,
|
||||
|
||||
Error: 'bg:'+_OW_PURPLE,
|
||||
}
|
||||
74
.venv/lib/python3.8/site-packages/pygments/styles/manni.py
Normal file
74
.venv/lib/python3.8/site-packages/pygments/styles/manni.py
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
"""
|
||||
pygments.styles.manni
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A colorful style, inspired by the terminal highlighting style.
|
||||
|
||||
This is a port of the style used in the `php port`_ of pygments
|
||||
by Manni. The style is called 'default' there.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Generic, Whitespace
|
||||
|
||||
|
||||
class ManniStyle(Style):
|
||||
"""
|
||||
A colorful style, inspired by the terminal highlighting style.
|
||||
"""
|
||||
|
||||
background_color = '#f0f3f3'
|
||||
|
||||
styles = {
|
||||
Whitespace: '#bbbbbb',
|
||||
Comment: 'italic #0099FF',
|
||||
Comment.Preproc: 'noitalic #009999',
|
||||
Comment.Special: 'bold',
|
||||
|
||||
Keyword: 'bold #006699',
|
||||
Keyword.Pseudo: 'nobold',
|
||||
Keyword.Type: '#007788',
|
||||
|
||||
Operator: '#555555',
|
||||
Operator.Word: 'bold #000000',
|
||||
|
||||
Name.Builtin: '#336666',
|
||||
Name.Function: '#CC00FF',
|
||||
Name.Class: 'bold #00AA88',
|
||||
Name.Namespace: 'bold #00CCFF',
|
||||
Name.Exception: 'bold #CC0000',
|
||||
Name.Variable: '#003333',
|
||||
Name.Constant: '#336600',
|
||||
Name.Label: '#9999FF',
|
||||
Name.Entity: 'bold #999999',
|
||||
Name.Attribute: '#330099',
|
||||
Name.Tag: 'bold #330099',
|
||||
Name.Decorator: '#9999FF',
|
||||
|
||||
String: '#CC3300',
|
||||
String.Doc: 'italic',
|
||||
String.Interpol: '#AA0000',
|
||||
String.Escape: 'bold #CC3300',
|
||||
String.Regex: '#33AAAA',
|
||||
String.Symbol: '#FFCC33',
|
||||
String.Other: '#CC3300',
|
||||
|
||||
Number: '#FF6600',
|
||||
|
||||
Generic.Heading: 'bold #003300',
|
||||
Generic.Subheading: 'bold #003300',
|
||||
Generic.Deleted: 'border:#CC0000 bg:#FFCCCC',
|
||||
Generic.Inserted: 'border:#00CC00 bg:#CCFFCC',
|
||||
Generic.Error: '#FF0000',
|
||||
Generic.Emph: 'italic',
|
||||
Generic.Strong: 'bold',
|
||||
Generic.Prompt: 'bold #000099',
|
||||
Generic.Output: '#AAAAAA',
|
||||
Generic.Traceback: '#99CC66',
|
||||
|
||||
Error: 'bg:#FFAAAA #AA0000'
|
||||
}
|
||||
118
.venv/lib/python3.8/site-packages/pygments/styles/material.py
Normal file
118
.venv/lib/python3.8/site-packages/pygments/styles/material.py
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
"""
|
||||
pygments.styles.material
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Mimic the Material theme color scheme.
|
||||
|
||||
https://github.com/material-theme/vsc-material-theme
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Escape, \
|
||||
Error, Text, Number, Operator, Generic, Punctuation, Literal
|
||||
|
||||
class MaterialStyle(Style):
|
||||
"""
|
||||
This style mimics the Material Theme color scheme.
|
||||
"""
|
||||
dark_teal = '#263238'
|
||||
white= '#FFFFFF'
|
||||
black= '#000000'
|
||||
red= '#FF5370'
|
||||
orange= '#F78C6C'
|
||||
yellow= '#FFCB6B'
|
||||
green= '#C3E88D'
|
||||
cyan= '#89DDFF'
|
||||
blue= '#82AAFF'
|
||||
paleblue= '#B2CCD6'
|
||||
purple= '#C792EA'
|
||||
brown= '#C17E70'
|
||||
pink= '#F07178'
|
||||
violet= '#BB80B3'
|
||||
foreground = '#EEFFFF'
|
||||
faded = '#546E7A'
|
||||
|
||||
default_style = ""
|
||||
background_color = dark_teal
|
||||
highlight_color = '#2C3B41'
|
||||
line_number_color = '#37474F'
|
||||
line_number_background_color = dark_teal
|
||||
line_number_special_color = '#607A86'
|
||||
line_number_special_background_color = dark_teal
|
||||
|
||||
styles = {
|
||||
Text: foreground,
|
||||
Escape: cyan,
|
||||
Error: red,
|
||||
|
||||
Keyword: violet,
|
||||
Keyword.Constant: cyan,
|
||||
Keyword.Declaration: violet,
|
||||
Keyword.Namespace: 'italic ' + cyan,
|
||||
Keyword.Pseudo: cyan,
|
||||
Keyword.Type: violet,
|
||||
|
||||
Name: foreground,
|
||||
Name.Attribute: violet,
|
||||
Name.Builtin: blue,
|
||||
Name.Builtin.Pseudo: cyan,
|
||||
Name.Class: yellow,
|
||||
Name.Constant: foreground,
|
||||
Name.Decorator: blue,
|
||||
Name.Entity: cyan,
|
||||
Name.Exception: yellow,
|
||||
Name.Function: blue,
|
||||
Name.Function.Magic: blue,
|
||||
Name.Label: blue,
|
||||
Name.Property: yellow,
|
||||
Name.Namespace: yellow,
|
||||
Name.Other: foreground,
|
||||
Name.Tag: red,
|
||||
Name.Variable: cyan,
|
||||
Name.Variable.Class: cyan,
|
||||
Name.Variable.Global: cyan,
|
||||
Name.Variable.Instance: cyan,
|
||||
Name.Variable.Magic: blue,
|
||||
|
||||
Literal: green,
|
||||
Literal.Date: green,
|
||||
|
||||
String: green,
|
||||
String.Affix: violet,
|
||||
String.Backtick: green,
|
||||
String.Char: green,
|
||||
String.Delimiter: foreground,
|
||||
String.Doc: 'italic ' + faded,
|
||||
String.Double: green,
|
||||
String.Escape: foreground,
|
||||
String.Heredoc: green,
|
||||
String.Interpol: cyan,
|
||||
String.Other: green,
|
||||
String.Regex: cyan,
|
||||
String.Single: green,
|
||||
String.Symbol: cyan,
|
||||
|
||||
Number: orange,
|
||||
|
||||
Operator: cyan,
|
||||
Operator.Word: 'italic ' + cyan,
|
||||
|
||||
Punctuation: cyan,
|
||||
|
||||
Comment: 'italic ' + faded,
|
||||
|
||||
Generic: foreground,
|
||||
Generic.Deleted: red,
|
||||
Generic.Emph: cyan,
|
||||
Generic.Error: red,
|
||||
Generic.Heading: green,
|
||||
Generic.Inserted: green,
|
||||
Generic.Output: faded,
|
||||
Generic.Prompt: yellow,
|
||||
Generic.Strong: red,
|
||||
Generic.Subheading: cyan,
|
||||
Generic.Traceback: red,
|
||||
}
|
||||
106
.venv/lib/python3.8/site-packages/pygments/styles/monokai.py
Normal file
106
.venv/lib/python3.8/site-packages/pygments/styles/monokai.py
Normal file
|
|
@ -0,0 +1,106 @@
|
|||
"""
|
||||
pygments.styles.monokai
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Mimic the Monokai color scheme. Based on tango.py.
|
||||
|
||||
http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, Token, \
|
||||
Number, Operator, Generic, Whitespace, Punctuation, Other, Literal
|
||||
|
||||
class MonokaiStyle(Style):
|
||||
"""
|
||||
This style mimics the Monokai color scheme.
|
||||
"""
|
||||
|
||||
background_color = "#272822"
|
||||
highlight_color = "#49483e"
|
||||
|
||||
styles = {
|
||||
# No corresponding class for the following:
|
||||
Token: "#f8f8f2", # class: ''
|
||||
Whitespace: "", # class: 'w'
|
||||
Error: "#960050 bg:#1e0010", # class: 'err'
|
||||
Other: "", # class 'x'
|
||||
|
||||
Comment: "#75715e", # class: 'c'
|
||||
Comment.Multiline: "", # class: 'cm'
|
||||
Comment.Preproc: "", # class: 'cp'
|
||||
Comment.Single: "", # class: 'c1'
|
||||
Comment.Special: "", # class: 'cs'
|
||||
|
||||
Keyword: "#66d9ef", # class: 'k'
|
||||
Keyword.Constant: "", # class: 'kc'
|
||||
Keyword.Declaration: "", # class: 'kd'
|
||||
Keyword.Namespace: "#f92672", # class: 'kn'
|
||||
Keyword.Pseudo: "", # class: 'kp'
|
||||
Keyword.Reserved: "", # class: 'kr'
|
||||
Keyword.Type: "", # class: 'kt'
|
||||
|
||||
Operator: "#f92672", # class: 'o'
|
||||
Operator.Word: "", # class: 'ow' - like keywords
|
||||
|
||||
Punctuation: "#f8f8f2", # class: 'p'
|
||||
|
||||
Name: "#f8f8f2", # class: 'n'
|
||||
Name.Attribute: "#a6e22e", # class: 'na' - to be revised
|
||||
Name.Builtin: "", # class: 'nb'
|
||||
Name.Builtin.Pseudo: "", # class: 'bp'
|
||||
Name.Class: "#a6e22e", # class: 'nc' - to be revised
|
||||
Name.Constant: "#66d9ef", # class: 'no' - to be revised
|
||||
Name.Decorator: "#a6e22e", # class: 'nd' - to be revised
|
||||
Name.Entity: "", # class: 'ni'
|
||||
Name.Exception: "#a6e22e", # class: 'ne'
|
||||
Name.Function: "#a6e22e", # class: 'nf'
|
||||
Name.Property: "", # class: 'py'
|
||||
Name.Label: "", # class: 'nl'
|
||||
Name.Namespace: "", # class: 'nn' - to be revised
|
||||
Name.Other: "#a6e22e", # class: 'nx'
|
||||
Name.Tag: "#f92672", # class: 'nt' - like a keyword
|
||||
Name.Variable: "", # class: 'nv' - to be revised
|
||||
Name.Variable.Class: "", # class: 'vc' - to be revised
|
||||
Name.Variable.Global: "", # class: 'vg' - to be revised
|
||||
Name.Variable.Instance: "", # class: 'vi' - to be revised
|
||||
|
||||
Number: "#ae81ff", # class: 'm'
|
||||
Number.Float: "", # class: 'mf'
|
||||
Number.Hex: "", # class: 'mh'
|
||||
Number.Integer: "", # class: 'mi'
|
||||
Number.Integer.Long: "", # class: 'il'
|
||||
Number.Oct: "", # class: 'mo'
|
||||
|
||||
Literal: "#ae81ff", # class: 'l'
|
||||
Literal.Date: "#e6db74", # class: 'ld'
|
||||
|
||||
String: "#e6db74", # class: 's'
|
||||
String.Backtick: "", # class: 'sb'
|
||||
String.Char: "", # class: 'sc'
|
||||
String.Doc: "", # class: 'sd' - like a comment
|
||||
String.Double: "", # class: 's2'
|
||||
String.Escape: "#ae81ff", # class: 'se'
|
||||
String.Heredoc: "", # class: 'sh'
|
||||
String.Interpol: "", # class: 'si'
|
||||
String.Other: "", # class: 'sx'
|
||||
String.Regex: "", # class: 'sr'
|
||||
String.Single: "", # class: 's1'
|
||||
String.Symbol: "", # class: 'ss'
|
||||
|
||||
|
||||
Generic: "", # class: 'g'
|
||||
Generic.Deleted: "#f92672", # class: 'gd',
|
||||
Generic.Emph: "italic", # class: 'ge'
|
||||
Generic.Error: "", # class: 'gr'
|
||||
Generic.Heading: "", # class: 'gh'
|
||||
Generic.Inserted: "#a6e22e", # class: 'gi'
|
||||
Generic.Output: "#66d9ef", # class: 'go'
|
||||
Generic.Prompt: "bold #f92672", # class: 'gp'
|
||||
Generic.Strong: "bold", # class: 'gs'
|
||||
Generic.Subheading: "#75715e", # class: 'gu'
|
||||
Generic.Traceback: "", # class: 'gt'
|
||||
}
|
||||
79
.venv/lib/python3.8/site-packages/pygments/styles/murphy.py
Normal file
79
.venv/lib/python3.8/site-packages/pygments/styles/murphy.py
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
"""
|
||||
pygments.styles.murphy
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Murphy's style from CodeRay.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Generic, Whitespace
|
||||
|
||||
|
||||
class MurphyStyle(Style):
|
||||
"""
|
||||
Murphy's style from CodeRay.
|
||||
"""
|
||||
|
||||
default_style = ""
|
||||
|
||||
styles = {
|
||||
Whitespace: "#bbbbbb",
|
||||
Comment: "#666 italic",
|
||||
Comment.Preproc: "#579 noitalic",
|
||||
Comment.Special: "#c00 bold",
|
||||
|
||||
Keyword: "bold #289",
|
||||
Keyword.Pseudo: "#08f",
|
||||
Keyword.Type: "#66f",
|
||||
|
||||
Operator: "#333",
|
||||
Operator.Word: "bold #000",
|
||||
|
||||
Name.Builtin: "#072",
|
||||
Name.Function: "bold #5ed",
|
||||
Name.Class: "bold #e9e",
|
||||
Name.Namespace: "bold #0e84b5",
|
||||
Name.Exception: "bold #F00",
|
||||
Name.Variable: "#036",
|
||||
Name.Variable.Instance: "#aaf",
|
||||
Name.Variable.Class: "#ccf",
|
||||
Name.Variable.Global: "#f84",
|
||||
Name.Constant: "bold #5ed",
|
||||
Name.Label: "bold #970",
|
||||
Name.Entity: "#800",
|
||||
Name.Attribute: "#007",
|
||||
Name.Tag: "#070",
|
||||
Name.Decorator: "bold #555",
|
||||
|
||||
String: "bg:#e0e0ff",
|
||||
String.Char: "#88F bg:",
|
||||
String.Doc: "#D42 bg:",
|
||||
String.Interpol: "bg:#eee",
|
||||
String.Escape: "bold #666",
|
||||
String.Regex: "bg:#e0e0ff #000",
|
||||
String.Symbol: "#fc8 bg:",
|
||||
String.Other: "#f88",
|
||||
|
||||
Number: "bold #60E",
|
||||
Number.Integer: "bold #66f",
|
||||
Number.Float: "bold #60E",
|
||||
Number.Hex: "bold #058",
|
||||
Number.Oct: "bold #40E",
|
||||
|
||||
Generic.Heading: "bold #000080",
|
||||
Generic.Subheading: "bold #800080",
|
||||
Generic.Deleted: "#A00000",
|
||||
Generic.Inserted: "#00A000",
|
||||
Generic.Error: "#FF0000",
|
||||
Generic.Emph: "italic",
|
||||
Generic.Strong: "bold",
|
||||
Generic.Prompt: "bold #c65d09",
|
||||
Generic.Output: "#888",
|
||||
Generic.Traceback: "#04D",
|
||||
|
||||
Error: "#F00 bg:#FAA"
|
||||
}
|
||||
65
.venv/lib/python3.8/site-packages/pygments/styles/native.py
Normal file
65
.venv/lib/python3.8/site-packages/pygments/styles/native.py
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
"""
|
||||
pygments.styles.native
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
pygments version of my "native" vim theme.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Generic, Token, Whitespace
|
||||
|
||||
|
||||
class NativeStyle(Style):
|
||||
"""
|
||||
Pygments version of the "native" vim theme.
|
||||
"""
|
||||
|
||||
background_color = '#202020'
|
||||
highlight_color = '#404040'
|
||||
line_number_color = '#aaaaaa'
|
||||
|
||||
styles = {
|
||||
Token: '#d0d0d0',
|
||||
Whitespace: '#666666',
|
||||
|
||||
Comment: 'italic #999999',
|
||||
Comment.Preproc: 'noitalic bold #cd2828',
|
||||
Comment.Special: 'noitalic bold #e50808 bg:#520000',
|
||||
|
||||
Keyword: 'bold #6ab825',
|
||||
Keyword.Pseudo: 'nobold',
|
||||
Operator.Word: 'bold #6ab825',
|
||||
|
||||
String: '#ed9d13',
|
||||
String.Other: '#ffa500',
|
||||
|
||||
Number: '#3677a9',
|
||||
|
||||
Name.Builtin: '#24909d',
|
||||
Name.Variable: '#40ffff',
|
||||
Name.Constant: '#40ffff',
|
||||
Name.Class: 'underline #447fcf',
|
||||
Name.Function: '#447fcf',
|
||||
Name.Namespace: 'underline #447fcf',
|
||||
Name.Exception: '#bbbbbb',
|
||||
Name.Tag: 'bold #6ab825',
|
||||
Name.Attribute: '#bbbbbb',
|
||||
Name.Decorator: '#ffa500',
|
||||
|
||||
Generic.Heading: 'bold #ffffff',
|
||||
Generic.Subheading: 'underline #ffffff',
|
||||
Generic.Deleted: '#d22323',
|
||||
Generic.Inserted: '#589819',
|
||||
Generic.Error: '#d22323',
|
||||
Generic.Emph: 'italic',
|
||||
Generic.Strong: 'bold',
|
||||
Generic.Prompt: '#aaaaaa',
|
||||
Generic.Output: '#cccccc',
|
||||
Generic.Traceback: '#d22323',
|
||||
|
||||
Error: 'bg:#e3d2d2 #a61717'
|
||||
}
|
||||
59
.venv/lib/python3.8/site-packages/pygments/styles/onedark.py
Normal file
59
.venv/lib/python3.8/site-packages/pygments/styles/onedark.py
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
"""
|
||||
pygments.styles.onedark
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
One Dark Theme for Pygments by Tobias Zoghaib (https://github.com/TobiZog)
|
||||
|
||||
Inspired by one-dark-ui for the code editor Atom
|
||||
(https://atom.io/themes/one-dark-ui).
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import (Comment, Generic, Keyword, Name, Number, Operator,
|
||||
Punctuation, String, Token, Whitespace)
|
||||
|
||||
|
||||
class OneDarkStyle(Style):
|
||||
"""
|
||||
Theme inspired by One Dark Pro for Atom
|
||||
|
||||
.. versionadded:: 2.11
|
||||
"""
|
||||
|
||||
background_color = '#282C34'
|
||||
|
||||
styles = {
|
||||
Token: '#ABB2BF',
|
||||
|
||||
Punctuation: '#ABB2BF',
|
||||
Punctuation.Marker: '#ABB2BF',
|
||||
|
||||
Keyword: '#C678DD',
|
||||
Keyword.Constant: '#E5C07B',
|
||||
Keyword.Declaration: '#C678DD',
|
||||
Keyword.Namespace: '#C678DD',
|
||||
Keyword.Reserved: '#C678DD',
|
||||
Keyword.Type: '#E5C07B',
|
||||
|
||||
Name: '#E06C75',
|
||||
Name.Attribute: '#E06C75',
|
||||
Name.Builtin: '#E5C07B',
|
||||
Name.Class: '#E5C07B',
|
||||
Name.Function: 'bold #61AFEF',
|
||||
Name.Function.Magic: 'bold #56B6C2',
|
||||
Name.Other: '#E06C75',
|
||||
Name.Tag: '#E06C75',
|
||||
Name.Decorator: '#61AFEF',
|
||||
Name.Variable.Class: '',
|
||||
|
||||
String: '#98C379',
|
||||
|
||||
Number: '#D19A66',
|
||||
|
||||
Operator: '#56B6C2',
|
||||
|
||||
Comment: '#7F848E'
|
||||
}
|
||||
|
|
@ -0,0 +1,121 @@
|
|||
"""
|
||||
pygments.styles.paraiso_dark
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Paraíso (Dark) by Jan T. Sott
|
||||
|
||||
Pygments template by Jan T. Sott (https://github.com/idleberg)
|
||||
Created with Base16 Builder by Chris Kempson
|
||||
(https://github.com/chriskempson/base16-builder).
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, Text, \
|
||||
Number, Operator, Generic, Whitespace, Punctuation, Other, Literal
|
||||
|
||||
|
||||
BACKGROUND = "#2f1e2e"
|
||||
CURRENT_LINE = "#41323f"
|
||||
SELECTION = "#4f424c"
|
||||
FOREGROUND = "#e7e9db"
|
||||
COMMENT = "#776e71"
|
||||
RED = "#ef6155"
|
||||
ORANGE = "#f99b15"
|
||||
YELLOW = "#fec418"
|
||||
GREEN = "#48b685"
|
||||
AQUA = "#5bc4bf"
|
||||
BLUE = "#06b6ef"
|
||||
PURPLE = "#815ba4"
|
||||
|
||||
|
||||
class ParaisoDarkStyle(Style):
|
||||
|
||||
default_style = ''
|
||||
|
||||
background_color = BACKGROUND
|
||||
highlight_color = SELECTION
|
||||
|
||||
styles = {
|
||||
# No corresponding class for the following:
|
||||
Text: FOREGROUND, # class: ''
|
||||
Whitespace: "", # class: 'w'
|
||||
Error: RED, # class: 'err'
|
||||
Other: "", # class 'x'
|
||||
|
||||
Comment: COMMENT, # class: 'c'
|
||||
Comment.Multiline: "", # class: 'cm'
|
||||
Comment.Preproc: "", # class: 'cp'
|
||||
Comment.Single: "", # class: 'c1'
|
||||
Comment.Special: "", # class: 'cs'
|
||||
|
||||
Keyword: PURPLE, # class: 'k'
|
||||
Keyword.Constant: "", # class: 'kc'
|
||||
Keyword.Declaration: "", # class: 'kd'
|
||||
Keyword.Namespace: AQUA, # class: 'kn'
|
||||
Keyword.Pseudo: "", # class: 'kp'
|
||||
Keyword.Reserved: "", # class: 'kr'
|
||||
Keyword.Type: YELLOW, # class: 'kt'
|
||||
|
||||
Operator: AQUA, # class: 'o'
|
||||
Operator.Word: "", # class: 'ow' - like keywords
|
||||
|
||||
Punctuation: FOREGROUND, # class: 'p'
|
||||
|
||||
Name: FOREGROUND, # class: 'n'
|
||||
Name.Attribute: BLUE, # class: 'na' - to be revised
|
||||
Name.Builtin: "", # class: 'nb'
|
||||
Name.Builtin.Pseudo: "", # class: 'bp'
|
||||
Name.Class: YELLOW, # class: 'nc' - to be revised
|
||||
Name.Constant: RED, # class: 'no' - to be revised
|
||||
Name.Decorator: AQUA, # class: 'nd' - to be revised
|
||||
Name.Entity: "", # class: 'ni'
|
||||
Name.Exception: RED, # class: 'ne'
|
||||
Name.Function: BLUE, # class: 'nf'
|
||||
Name.Property: "", # class: 'py'
|
||||
Name.Label: "", # class: 'nl'
|
||||
Name.Namespace: YELLOW, # class: 'nn' - to be revised
|
||||
Name.Other: BLUE, # class: 'nx'
|
||||
Name.Tag: AQUA, # class: 'nt' - like a keyword
|
||||
Name.Variable: RED, # class: 'nv' - to be revised
|
||||
Name.Variable.Class: "", # class: 'vc' - to be revised
|
||||
Name.Variable.Global: "", # class: 'vg' - to be revised
|
||||
Name.Variable.Instance: "", # class: 'vi' - to be revised
|
||||
|
||||
Number: ORANGE, # class: 'm'
|
||||
Number.Float: "", # class: 'mf'
|
||||
Number.Hex: "", # class: 'mh'
|
||||
Number.Integer: "", # class: 'mi'
|
||||
Number.Integer.Long: "", # class: 'il'
|
||||
Number.Oct: "", # class: 'mo'
|
||||
|
||||
Literal: ORANGE, # class: 'l'
|
||||
Literal.Date: GREEN, # class: 'ld'
|
||||
|
||||
String: GREEN, # class: 's'
|
||||
String.Backtick: "", # class: 'sb'
|
||||
String.Char: FOREGROUND, # class: 'sc'
|
||||
String.Doc: COMMENT, # class: 'sd' - like a comment
|
||||
String.Double: "", # class: 's2'
|
||||
String.Escape: ORANGE, # class: 'se'
|
||||
String.Heredoc: "", # class: 'sh'
|
||||
String.Interpol: ORANGE, # class: 'si'
|
||||
String.Other: "", # class: 'sx'
|
||||
String.Regex: "", # class: 'sr'
|
||||
String.Single: "", # class: 's1'
|
||||
String.Symbol: "", # class: 'ss'
|
||||
|
||||
Generic: "", # class: 'g'
|
||||
Generic.Deleted: RED, # class: 'gd',
|
||||
Generic.Emph: "italic", # class: 'ge'
|
||||
Generic.Error: "", # class: 'gr'
|
||||
Generic.Heading: "bold " + FOREGROUND, # class: 'gh'
|
||||
Generic.Inserted: GREEN, # class: 'gi'
|
||||
Generic.Output: "", # class: 'go'
|
||||
Generic.Prompt: "bold " + COMMENT, # class: 'gp'
|
||||
Generic.Strong: "bold", # class: 'gs'
|
||||
Generic.Subheading: "bold " + AQUA, # class: 'gu'
|
||||
Generic.Traceback: "", # class: 'gt'
|
||||
}
|
||||
|
|
@ -0,0 +1,121 @@
|
|||
"""
|
||||
pygments.styles.paraiso_light
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Paraíso (Light) by Jan T. Sott
|
||||
|
||||
Pygments template by Jan T. Sott (https://github.com/idleberg)
|
||||
Created with Base16 Builder by Chris Kempson
|
||||
(https://github.com/chriskempson/base16-builder).
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, Text, \
|
||||
Number, Operator, Generic, Whitespace, Punctuation, Other, Literal
|
||||
|
||||
|
||||
BACKGROUND = "#e7e9db"
|
||||
CURRENT_LINE = "#b9b6b0"
|
||||
SELECTION = "#a39e9b"
|
||||
FOREGROUND = "#2f1e2e"
|
||||
COMMENT = "#8d8687"
|
||||
RED = "#ef6155"
|
||||
ORANGE = "#f99b15"
|
||||
YELLOW = "#fec418"
|
||||
GREEN = "#48b685"
|
||||
AQUA = "#5bc4bf"
|
||||
BLUE = "#06b6ef"
|
||||
PURPLE = "#815ba4"
|
||||
|
||||
|
||||
class ParaisoLightStyle(Style):
|
||||
|
||||
default_style = ''
|
||||
|
||||
background_color = BACKGROUND
|
||||
highlight_color = SELECTION
|
||||
|
||||
styles = {
|
||||
# No corresponding class for the following:
|
||||
Text: FOREGROUND, # class: ''
|
||||
Whitespace: "", # class: 'w'
|
||||
Error: RED, # class: 'err'
|
||||
Other: "", # class 'x'
|
||||
|
||||
Comment: COMMENT, # class: 'c'
|
||||
Comment.Multiline: "", # class: 'cm'
|
||||
Comment.Preproc: "", # class: 'cp'
|
||||
Comment.Single: "", # class: 'c1'
|
||||
Comment.Special: "", # class: 'cs'
|
||||
|
||||
Keyword: PURPLE, # class: 'k'
|
||||
Keyword.Constant: "", # class: 'kc'
|
||||
Keyword.Declaration: "", # class: 'kd'
|
||||
Keyword.Namespace: AQUA, # class: 'kn'
|
||||
Keyword.Pseudo: "", # class: 'kp'
|
||||
Keyword.Reserved: "", # class: 'kr'
|
||||
Keyword.Type: YELLOW, # class: 'kt'
|
||||
|
||||
Operator: AQUA, # class: 'o'
|
||||
Operator.Word: "", # class: 'ow' - like keywords
|
||||
|
||||
Punctuation: FOREGROUND, # class: 'p'
|
||||
|
||||
Name: FOREGROUND, # class: 'n'
|
||||
Name.Attribute: BLUE, # class: 'na' - to be revised
|
||||
Name.Builtin: "", # class: 'nb'
|
||||
Name.Builtin.Pseudo: "", # class: 'bp'
|
||||
Name.Class: YELLOW, # class: 'nc' - to be revised
|
||||
Name.Constant: RED, # class: 'no' - to be revised
|
||||
Name.Decorator: AQUA, # class: 'nd' - to be revised
|
||||
Name.Entity: "", # class: 'ni'
|
||||
Name.Exception: RED, # class: 'ne'
|
||||
Name.Function: BLUE, # class: 'nf'
|
||||
Name.Property: "", # class: 'py'
|
||||
Name.Label: "", # class: 'nl'
|
||||
Name.Namespace: YELLOW, # class: 'nn' - to be revised
|
||||
Name.Other: BLUE, # class: 'nx'
|
||||
Name.Tag: AQUA, # class: 'nt' - like a keyword
|
||||
Name.Variable: RED, # class: 'nv' - to be revised
|
||||
Name.Variable.Class: "", # class: 'vc' - to be revised
|
||||
Name.Variable.Global: "", # class: 'vg' - to be revised
|
||||
Name.Variable.Instance: "", # class: 'vi' - to be revised
|
||||
|
||||
Number: ORANGE, # class: 'm'
|
||||
Number.Float: "", # class: 'mf'
|
||||
Number.Hex: "", # class: 'mh'
|
||||
Number.Integer: "", # class: 'mi'
|
||||
Number.Integer.Long: "", # class: 'il'
|
||||
Number.Oct: "", # class: 'mo'
|
||||
|
||||
Literal: ORANGE, # class: 'l'
|
||||
Literal.Date: GREEN, # class: 'ld'
|
||||
|
||||
String: GREEN, # class: 's'
|
||||
String.Backtick: "", # class: 'sb'
|
||||
String.Char: FOREGROUND, # class: 'sc'
|
||||
String.Doc: COMMENT, # class: 'sd' - like a comment
|
||||
String.Double: "", # class: 's2'
|
||||
String.Escape: ORANGE, # class: 'se'
|
||||
String.Heredoc: "", # class: 'sh'
|
||||
String.Interpol: ORANGE, # class: 'si'
|
||||
String.Other: "", # class: 'sx'
|
||||
String.Regex: "", # class: 'sr'
|
||||
String.Single: "", # class: 's1'
|
||||
String.Symbol: "", # class: 'ss'
|
||||
|
||||
Generic: "", # class: 'g'
|
||||
Generic.Deleted: RED, # class: 'gd',
|
||||
Generic.Emph: "italic", # class: 'ge'
|
||||
Generic.Error: "", # class: 'gr'
|
||||
Generic.Heading: "bold " + FOREGROUND, # class: 'gh'
|
||||
Generic.Inserted: GREEN, # class: 'gi'
|
||||
Generic.Output: "", # class: 'go'
|
||||
Generic.Prompt: "bold " + COMMENT, # class: 'gp'
|
||||
Generic.Strong: "bold", # class: 'gs'
|
||||
Generic.Subheading: "bold " + AQUA, # class: 'gu'
|
||||
Generic.Traceback: "", # class: 'gt'
|
||||
}
|
||||
74
.venv/lib/python3.8/site-packages/pygments/styles/pastie.py
Normal file
74
.venv/lib/python3.8/site-packages/pygments/styles/pastie.py
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
"""
|
||||
pygments.styles.pastie
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Style similar to the `pastie`_ default style.
|
||||
|
||||
.. _pastie: http://pastie.caboo.se/
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Generic, Whitespace
|
||||
|
||||
|
||||
class PastieStyle(Style):
|
||||
"""
|
||||
Style similar to the pastie default style.
|
||||
"""
|
||||
|
||||
default_style = ''
|
||||
|
||||
styles = {
|
||||
Whitespace: '#bbbbbb',
|
||||
Comment: '#888888',
|
||||
Comment.Preproc: 'bold #cc0000',
|
||||
Comment.Special: 'bg:#fff0f0 bold #cc0000',
|
||||
|
||||
String: 'bg:#fff0f0 #dd2200',
|
||||
String.Regex: 'bg:#fff0ff #008800',
|
||||
String.Other: 'bg:#f0fff0 #22bb22',
|
||||
String.Symbol: '#aa6600',
|
||||
String.Interpol: '#3333bb',
|
||||
String.Escape: '#0044dd',
|
||||
|
||||
Operator.Word: '#008800',
|
||||
|
||||
Keyword: 'bold #008800',
|
||||
Keyword.Pseudo: 'nobold',
|
||||
Keyword.Type: '#888888',
|
||||
|
||||
Name.Class: 'bold #bb0066',
|
||||
Name.Exception: 'bold #bb0066',
|
||||
Name.Function: 'bold #0066bb',
|
||||
Name.Property: 'bold #336699',
|
||||
Name.Namespace: 'bold #bb0066',
|
||||
Name.Builtin: '#003388',
|
||||
Name.Variable: '#336699',
|
||||
Name.Variable.Class: '#336699',
|
||||
Name.Variable.Instance: '#3333bb',
|
||||
Name.Variable.Global: '#dd7700',
|
||||
Name.Constant: 'bold #003366',
|
||||
Name.Tag: 'bold #bb0066',
|
||||
Name.Attribute: '#336699',
|
||||
Name.Decorator: '#555555',
|
||||
Name.Label: 'italic #336699',
|
||||
|
||||
Number: 'bold #0000DD',
|
||||
|
||||
Generic.Heading: '#333',
|
||||
Generic.Subheading: '#666',
|
||||
Generic.Deleted: 'bg:#ffdddd #000000',
|
||||
Generic.Inserted: 'bg:#ddffdd #000000',
|
||||
Generic.Error: '#aa0000',
|
||||
Generic.Emph: 'italic',
|
||||
Generic.Strong: 'bold',
|
||||
Generic.Prompt: '#555555',
|
||||
Generic.Output: '#888888',
|
||||
Generic.Traceback: '#aa0000',
|
||||
|
||||
Error: 'bg:#e3d2d2 #a61717'
|
||||
}
|
||||
68
.venv/lib/python3.8/site-packages/pygments/styles/perldoc.py
Normal file
68
.venv/lib/python3.8/site-packages/pygments/styles/perldoc.py
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
"""
|
||||
pygments.styles.perldoc
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Style similar to the style used in the `perldoc`_ code blocks.
|
||||
|
||||
.. _perldoc: http://perldoc.perl.org/
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Generic, Whitespace
|
||||
|
||||
|
||||
class PerldocStyle(Style):
|
||||
"""
|
||||
Style similar to the style used in the perldoc code blocks.
|
||||
"""
|
||||
|
||||
background_color = '#eeeedd'
|
||||
default_style = ''
|
||||
|
||||
styles = {
|
||||
Whitespace: '#bbbbbb',
|
||||
Comment: '#228B22',
|
||||
Comment.Preproc: '#1e889b',
|
||||
Comment.Special: '#8B008B bold',
|
||||
|
||||
String: '#CD5555',
|
||||
String.Heredoc: '#1c7e71 italic',
|
||||
String.Regex: '#B452CD',
|
||||
String.Other: '#cb6c20',
|
||||
String.Regex: '#1c7e71',
|
||||
|
||||
Number: '#B452CD',
|
||||
|
||||
Operator.Word: '#8B008B',
|
||||
|
||||
Keyword: '#8B008B bold',
|
||||
Keyword.Type: '#00688B',
|
||||
|
||||
Name.Class: '#008b45 bold',
|
||||
Name.Exception: '#008b45 bold',
|
||||
Name.Function: '#008b45',
|
||||
Name.Namespace: '#008b45 underline',
|
||||
Name.Variable: '#00688B',
|
||||
Name.Constant: '#00688B',
|
||||
Name.Decorator: '#707a7c',
|
||||
Name.Tag: '#8B008B bold',
|
||||
Name.Attribute: '#658b00',
|
||||
Name.Builtin: '#658b00',
|
||||
|
||||
Generic.Heading: 'bold #000080',
|
||||
Generic.Subheading: 'bold #800080',
|
||||
Generic.Deleted: '#aa0000',
|
||||
Generic.Inserted: '#00aa00',
|
||||
Generic.Error: '#aa0000',
|
||||
Generic.Emph: 'italic',
|
||||
Generic.Strong: 'bold',
|
||||
Generic.Prompt: '#555555',
|
||||
Generic.Output: '#888888',
|
||||
Generic.Traceback: '#aa0000',
|
||||
|
||||
Error: 'bg:#e3d2d2 #a61717'
|
||||
}
|
||||
|
|
@ -0,0 +1,88 @@
|
|||
"""
|
||||
pygments.styles.rainbow_dash
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A bright and colorful syntax highlighting `theme`.
|
||||
|
||||
.. _theme: http://sanssecours.github.io/Rainbow-Dash.tmbundle
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import (Comment, Error, Generic, Name, Number, Operator,
|
||||
String, Text, Whitespace, Keyword)
|
||||
|
||||
BLUE_LIGHT = '#0080ff'
|
||||
BLUE = '#2c5dcd'
|
||||
GREEN = '#00cc66'
|
||||
GREEN_LIGHT = '#ccffcc'
|
||||
GREEN_NEON = '#00cc00'
|
||||
GREY = '#aaaaaa'
|
||||
GREY_LIGHT = '#cbcbcb'
|
||||
GREY_DARK = '#4d4d4d'
|
||||
PURPLE = '#5918bb'
|
||||
RED = '#cc0000'
|
||||
RED_DARK = '#c5060b'
|
||||
RED_LIGHT = '#ffcccc'
|
||||
RED_BRIGHT = '#ff0000'
|
||||
WHITE = '#ffffff'
|
||||
TURQUOISE = '#318495'
|
||||
ORANGE = '#ff8000'
|
||||
|
||||
|
||||
class RainbowDashStyle(Style):
|
||||
"""
|
||||
A bright and colorful syntax highlighting theme.
|
||||
"""
|
||||
|
||||
background_color = WHITE
|
||||
|
||||
styles = {
|
||||
Comment: 'italic {}'.format(BLUE_LIGHT),
|
||||
Comment.Preproc: 'noitalic',
|
||||
Comment.Special: 'bold',
|
||||
|
||||
Error: 'bg:{} {}'.format(RED, WHITE),
|
||||
|
||||
Generic.Deleted: 'border:{} bg:{}'.format(RED_DARK, RED_LIGHT),
|
||||
Generic.Emph: 'italic',
|
||||
Generic.Error: RED_BRIGHT,
|
||||
Generic.Heading: 'bold {}'.format(BLUE),
|
||||
Generic.Inserted: 'border:{} bg:{}'.format(GREEN_NEON, GREEN_LIGHT),
|
||||
Generic.Output: GREY,
|
||||
Generic.Prompt: 'bold {}'.format(BLUE),
|
||||
Generic.Strong: 'bold',
|
||||
Generic.Subheading: 'bold {}'.format(BLUE),
|
||||
Generic.Traceback: RED_DARK,
|
||||
|
||||
Keyword: 'bold {}'.format(BLUE),
|
||||
Keyword.Pseudo: 'nobold',
|
||||
Keyword.Type: PURPLE,
|
||||
|
||||
Name.Attribute: 'italic {}'.format(BLUE),
|
||||
Name.Builtin: 'bold {}'.format(PURPLE),
|
||||
Name.Class: 'underline',
|
||||
Name.Constant: TURQUOISE,
|
||||
Name.Decorator: 'bold {}'.format(ORANGE),
|
||||
Name.Entity: 'bold {}'.format(PURPLE),
|
||||
Name.Exception: 'bold {}'.format(PURPLE),
|
||||
Name.Function: 'bold {}'.format(ORANGE),
|
||||
Name.Tag: 'bold {}'.format(BLUE),
|
||||
|
||||
Number: 'bold {}'.format(PURPLE),
|
||||
|
||||
Operator: BLUE,
|
||||
Operator.Word: 'bold',
|
||||
|
||||
String: GREEN,
|
||||
String.Doc: 'italic',
|
||||
String.Escape: 'bold {}'.format(RED_DARK),
|
||||
String.Other: TURQUOISE,
|
||||
String.Symbol: 'bold {}'.format(RED_DARK),
|
||||
|
||||
Text: GREY_DARK,
|
||||
|
||||
Whitespace: GREY_LIGHT
|
||||
}
|
||||
33
.venv/lib/python3.8/site-packages/pygments/styles/rrt.py
Normal file
33
.venv/lib/python3.8/site-packages/pygments/styles/rrt.py
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
"""
|
||||
pygments.styles.rrt
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
pygments "rrt" theme, based on Zap and Emacs defaults.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Token, Comment, Name, Keyword, String
|
||||
|
||||
|
||||
class RrtStyle(Style):
|
||||
"""
|
||||
Minimalistic "rrt" theme, based on Zap and Emacs defaults.
|
||||
"""
|
||||
|
||||
background_color = '#000000'
|
||||
highlight_color = '#0000ff'
|
||||
|
||||
styles = {
|
||||
Token: '#dddddd',
|
||||
Comment: '#00ff00',
|
||||
Name.Function: '#ffff00',
|
||||
Name.Variable: '#eedd82',
|
||||
Name.Constant: '#7fffd4',
|
||||
Keyword: '#ff0000',
|
||||
Comment.Preproc: '#e5e5e5',
|
||||
String: '#87ceeb',
|
||||
Keyword.Type: '#ee82ee',
|
||||
}
|
||||
43
.venv/lib/python3.8/site-packages/pygments/styles/sas.py
Normal file
43
.venv/lib/python3.8/site-packages/pygments/styles/sas.py
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
"""
|
||||
pygments.styles.sas
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Style inspired by SAS' enhanced program editor. Note This is not
|
||||
meant to be a complete style. It's merely meant to mimic SAS'
|
||||
program editor syntax highlighting.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Other, Whitespace, Generic
|
||||
|
||||
|
||||
class SasStyle(Style):
|
||||
"""
|
||||
Style inspired by SAS' enhanced program editor. Note This is not
|
||||
meant to be a complete style. It's merely meant to mimic SAS'
|
||||
program editor syntax highlighting.
|
||||
"""
|
||||
|
||||
default_style = ''
|
||||
|
||||
styles = {
|
||||
Whitespace: '#bbbbbb',
|
||||
Comment: 'italic #008800',
|
||||
String: '#800080',
|
||||
Number: 'bold #2c8553',
|
||||
Other: 'bg:#ffffe0',
|
||||
Keyword: '#2c2cff',
|
||||
Keyword.Reserved: 'bold #353580',
|
||||
Keyword.Constant: 'bold',
|
||||
Name.Builtin: '#2c2cff',
|
||||
Name.Function: 'bold italic',
|
||||
Name.Variable: 'bold #2c2cff',
|
||||
Generic: '#2c2cff',
|
||||
Generic.Emph: '#008800',
|
||||
Generic.Error: '#d30202',
|
||||
Error: 'bg:#e3d2d2 #a61717'
|
||||
}
|
||||
136
.venv/lib/python3.8/site-packages/pygments/styles/solarized.py
Normal file
136
.venv/lib/python3.8/site-packages/pygments/styles/solarized.py
Normal file
|
|
@ -0,0 +1,136 @@
|
|||
"""
|
||||
pygments.styles.solarized
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Solarized by Camil Staps
|
||||
|
||||
A Pygments style for the Solarized themes (licensed under MIT).
|
||||
See: https://github.com/altercation/solarized
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Comment, Error, Generic, Keyword, Name, Number, \
|
||||
Operator, String, Token
|
||||
|
||||
|
||||
def make_style(colors):
|
||||
return {
|
||||
Token: colors['base0'],
|
||||
|
||||
Comment: 'italic ' + colors['base01'],
|
||||
Comment.Hashbang: colors['base01'],
|
||||
Comment.Multiline: colors['base01'],
|
||||
Comment.Preproc: 'noitalic ' + colors['magenta'],
|
||||
Comment.PreprocFile: 'noitalic ' + colors['base01'],
|
||||
|
||||
Keyword: colors['green'],
|
||||
Keyword.Constant: colors['cyan'],
|
||||
Keyword.Declaration: colors['cyan'],
|
||||
Keyword.Namespace: colors['orange'],
|
||||
Keyword.Type: colors['yellow'],
|
||||
|
||||
Operator: colors['base01'],
|
||||
Operator.Word: colors['green'],
|
||||
|
||||
Name.Builtin: colors['blue'],
|
||||
Name.Builtin.Pseudo: colors['blue'],
|
||||
Name.Class: colors['blue'],
|
||||
Name.Constant: colors['blue'],
|
||||
Name.Decorator: colors['blue'],
|
||||
Name.Entity: colors['blue'],
|
||||
Name.Exception: colors['blue'],
|
||||
Name.Function: colors['blue'],
|
||||
Name.Function.Magic: colors['blue'],
|
||||
Name.Label: colors['blue'],
|
||||
Name.Namespace: colors['blue'],
|
||||
Name.Tag: colors['blue'],
|
||||
Name.Variable: colors['blue'],
|
||||
Name.Variable.Global:colors['blue'],
|
||||
Name.Variable.Magic: colors['blue'],
|
||||
|
||||
String: colors['cyan'],
|
||||
String.Doc: colors['base01'],
|
||||
String.Regex: colors['orange'],
|
||||
|
||||
Number: colors['cyan'],
|
||||
|
||||
Generic: colors['base0'],
|
||||
Generic.Deleted: colors['red'],
|
||||
Generic.Emph: 'italic',
|
||||
Generic.Error: colors['red'],
|
||||
Generic.Heading: 'bold',
|
||||
Generic.Subheading: 'underline',
|
||||
Generic.Inserted: colors['green'],
|
||||
Generic.Output: colors['base0'],
|
||||
Generic.Prompt: 'bold ' + colors['blue'],
|
||||
Generic.Strong: 'bold',
|
||||
Generic.Traceback: colors['blue'],
|
||||
|
||||
Error: 'bg:' + colors['red'],
|
||||
}
|
||||
|
||||
|
||||
DARK_COLORS = {
|
||||
'base03': '#002b36',
|
||||
'base02': '#073642',
|
||||
'base01': '#586e75',
|
||||
'base00': '#657b83',
|
||||
'base0': '#839496',
|
||||
'base1': '#93a1a1',
|
||||
'base2': '#eee8d5',
|
||||
'base3': '#fdf6e3',
|
||||
'yellow': '#b58900',
|
||||
'orange': '#cb4b16',
|
||||
'red': '#dc322f',
|
||||
'magenta': '#d33682',
|
||||
'violet': '#6c71c4',
|
||||
'blue': '#268bd2',
|
||||
'cyan': '#2aa198',
|
||||
'green': '#859900',
|
||||
}
|
||||
|
||||
LIGHT_COLORS = {
|
||||
'base3': '#002b36',
|
||||
'base2': '#073642',
|
||||
'base1': '#586e75',
|
||||
'base0': '#657b83',
|
||||
'base00': '#839496',
|
||||
'base01': '#93a1a1',
|
||||
'base02': '#eee8d5',
|
||||
'base03': '#fdf6e3',
|
||||
'yellow': '#b58900',
|
||||
'orange': '#cb4b16',
|
||||
'red': '#dc322f',
|
||||
'magenta': '#d33682',
|
||||
'violet': '#6c71c4',
|
||||
'blue': '#268bd2',
|
||||
'cyan': '#2aa198',
|
||||
'green': '#859900',
|
||||
}
|
||||
|
||||
|
||||
class SolarizedDarkStyle(Style):
|
||||
"""
|
||||
The solarized style, dark.
|
||||
"""
|
||||
|
||||
styles = make_style(DARK_COLORS)
|
||||
background_color = DARK_COLORS['base03']
|
||||
highlight_color = DARK_COLORS['base02']
|
||||
line_number_color = DARK_COLORS['base01']
|
||||
line_number_background_color = DARK_COLORS['base02']
|
||||
|
||||
|
||||
class SolarizedLightStyle(SolarizedDarkStyle):
|
||||
"""
|
||||
The solarized style, light.
|
||||
"""
|
||||
|
||||
styles = make_style(LIGHT_COLORS)
|
||||
background_color = LIGHT_COLORS['base03']
|
||||
highlight_color = LIGHT_COLORS['base02']
|
||||
line_number_color = LIGHT_COLORS['base01']
|
||||
line_number_background_color = LIGHT_COLORS['base02']
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
"""
|
||||
pygments.styles.stata_dark
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Dark style inspired by Stata's do-file editor. Note this is not
|
||||
meant to be a complete style, just for Stata's file formats.
|
||||
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Token, Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Whitespace, Generic
|
||||
|
||||
|
||||
class StataDarkStyle(Style):
|
||||
|
||||
default_style = ''
|
||||
|
||||
background_color = "#232629"
|
||||
highlight_color = "#49483e"
|
||||
|
||||
styles = {
|
||||
Token: '#cccccc',
|
||||
Whitespace: '#bbbbbb',
|
||||
Error: 'bg:#e3d2d2 #a61717',
|
||||
String: '#51cc99',
|
||||
Number: '#4FB8CC',
|
||||
Operator: '',
|
||||
Name.Function: '#6a6aff',
|
||||
Name.Other: '#e2828e',
|
||||
Keyword: 'bold #7686bb',
|
||||
Keyword.Constant: '',
|
||||
Comment: 'italic #777777',
|
||||
Name.Variable: 'bold #7AB4DB',
|
||||
Name.Variable.Global: 'bold #BE646C',
|
||||
Generic.Prompt: '#ffffff',
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
"""
|
||||
pygments.styles.stata_light
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Light Style inspired by Stata's do-file editor. Note this is not
|
||||
meant to be a complete style, just for Stata's file formats.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Whitespace, Text
|
||||
|
||||
|
||||
class StataLightStyle(Style):
|
||||
"""
|
||||
Light mode style inspired by Stata's do-file editor. This is not
|
||||
meant to be a complete style, just for use with Stata.
|
||||
"""
|
||||
|
||||
default_style = ''
|
||||
styles = {
|
||||
Text: '#111111',
|
||||
Whitespace: '#bbbbbb',
|
||||
Error: 'bg:#e3d2d2 #a61717',
|
||||
String: '#7a2424',
|
||||
Number: '#2c2cff',
|
||||
Operator: '',
|
||||
Name.Function: '#2c2cff',
|
||||
Name.Other: '#be646c',
|
||||
Keyword: 'bold #353580',
|
||||
Keyword.Constant: '',
|
||||
Comment: 'italic #008800',
|
||||
Name.Variable: 'bold #35baba',
|
||||
Name.Variable.Global: 'bold #b5565e',
|
||||
}
|
||||
140
.venv/lib/python3.8/site-packages/pygments/styles/tango.py
Normal file
140
.venv/lib/python3.8/site-packages/pygments/styles/tango.py
Normal file
|
|
@ -0,0 +1,140 @@
|
|||
"""
|
||||
pygments.styles.tango
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The Crunchy default Style inspired from the color palette from
|
||||
the Tango Icon Theme Guidelines.
|
||||
|
||||
http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines
|
||||
|
||||
Butter: #fce94f #edd400 #c4a000
|
||||
Orange: #fcaf3e #f57900 #ce5c00
|
||||
Chocolate: #e9b96e #c17d11 #8f5902
|
||||
Chameleon: #8ae234 #73d216 #4e9a06
|
||||
Sky Blue: #729fcf #3465a4 #204a87
|
||||
Plum: #ad7fa8 #75507b #5c35cc
|
||||
Scarlet Red:#ef2929 #cc0000 #a40000
|
||||
Aluminium: #eeeeec #d3d7cf #babdb6
|
||||
#888a85 #555753 #2e3436
|
||||
|
||||
Not all of the above colors are used; other colors added:
|
||||
very light grey: #f8f8f8 (for background)
|
||||
|
||||
This style can be used as a template as it includes all the known
|
||||
Token types, unlike most (if not all) of the styles included in the
|
||||
Pygments distribution.
|
||||
|
||||
However, since Crunchy is intended to be used by beginners, we have strived
|
||||
to create a style that gloss over subtle distinctions between different
|
||||
categories.
|
||||
|
||||
Taking Python for example, comments (Comment.*) and docstrings (String.Doc)
|
||||
have been chosen to have the same style. Similarly, keywords (Keyword.*),
|
||||
and Operator.Word (and, or, in) have been assigned the same style.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Generic, Whitespace, Punctuation, Other, Literal
|
||||
|
||||
|
||||
class TangoStyle(Style):
|
||||
"""
|
||||
The Crunchy default Style inspired from the color palette from
|
||||
the Tango Icon Theme Guidelines.
|
||||
"""
|
||||
|
||||
# work in progress...
|
||||
|
||||
background_color = "#f8f8f8"
|
||||
default_style = ""
|
||||
|
||||
styles = {
|
||||
# No corresponding class for the following:
|
||||
#Text: "", # class: ''
|
||||
Whitespace: "#f8f8f8", # class: 'w'
|
||||
Error: "#a40000 border:#ef2929", # class: 'err'
|
||||
Other: "#000000", # class 'x'
|
||||
|
||||
Comment: "italic #8f5902", # class: 'c'
|
||||
Comment.Multiline: "italic #8f5902", # class: 'cm'
|
||||
Comment.Preproc: "italic #8f5902", # class: 'cp'
|
||||
Comment.Single: "italic #8f5902", # class: 'c1'
|
||||
Comment.Special: "italic #8f5902", # class: 'cs'
|
||||
|
||||
Keyword: "bold #204a87", # class: 'k'
|
||||
Keyword.Constant: "bold #204a87", # class: 'kc'
|
||||
Keyword.Declaration: "bold #204a87", # class: 'kd'
|
||||
Keyword.Namespace: "bold #204a87", # class: 'kn'
|
||||
Keyword.Pseudo: "bold #204a87", # class: 'kp'
|
||||
Keyword.Reserved: "bold #204a87", # class: 'kr'
|
||||
Keyword.Type: "bold #204a87", # class: 'kt'
|
||||
|
||||
Operator: "bold #ce5c00", # class: 'o'
|
||||
Operator.Word: "bold #204a87", # class: 'ow' - like keywords
|
||||
|
||||
Punctuation: "bold #000000", # class: 'p'
|
||||
|
||||
# because special names such as Name.Class, Name.Function, etc.
|
||||
# are not recognized as such later in the parsing, we choose them
|
||||
# to look the same as ordinary variables.
|
||||
Name: "#000000", # class: 'n'
|
||||
Name.Attribute: "#c4a000", # class: 'na' - to be revised
|
||||
Name.Builtin: "#204a87", # class: 'nb'
|
||||
Name.Builtin.Pseudo: "#3465a4", # class: 'bp'
|
||||
Name.Class: "#000000", # class: 'nc' - to be revised
|
||||
Name.Constant: "#000000", # class: 'no' - to be revised
|
||||
Name.Decorator: "bold #5c35cc", # class: 'nd' - to be revised
|
||||
Name.Entity: "#ce5c00", # class: 'ni'
|
||||
Name.Exception: "bold #cc0000", # class: 'ne'
|
||||
Name.Function: "#000000", # class: 'nf'
|
||||
Name.Property: "#000000", # class: 'py'
|
||||
Name.Label: "#f57900", # class: 'nl'
|
||||
Name.Namespace: "#000000", # class: 'nn' - to be revised
|
||||
Name.Other: "#000000", # class: 'nx'
|
||||
Name.Tag: "bold #204a87", # class: 'nt' - like a keyword
|
||||
Name.Variable: "#000000", # class: 'nv' - to be revised
|
||||
Name.Variable.Class: "#000000", # class: 'vc' - to be revised
|
||||
Name.Variable.Global: "#000000", # class: 'vg' - to be revised
|
||||
Name.Variable.Instance: "#000000", # class: 'vi' - to be revised
|
||||
|
||||
# since the tango light blue does not show up well in text, we choose
|
||||
# a pure blue instead.
|
||||
Number: "bold #0000cf", # class: 'm'
|
||||
Number.Float: "bold #0000cf", # class: 'mf'
|
||||
Number.Hex: "bold #0000cf", # class: 'mh'
|
||||
Number.Integer: "bold #0000cf", # class: 'mi'
|
||||
Number.Integer.Long: "bold #0000cf", # class: 'il'
|
||||
Number.Oct: "bold #0000cf", # class: 'mo'
|
||||
|
||||
Literal: "#000000", # class: 'l'
|
||||
Literal.Date: "#000000", # class: 'ld'
|
||||
|
||||
String: "#4e9a06", # class: 's'
|
||||
String.Backtick: "#4e9a06", # class: 'sb'
|
||||
String.Char: "#4e9a06", # class: 'sc'
|
||||
String.Doc: "italic #8f5902", # class: 'sd' - like a comment
|
||||
String.Double: "#4e9a06", # class: 's2'
|
||||
String.Escape: "#4e9a06", # class: 'se'
|
||||
String.Heredoc: "#4e9a06", # class: 'sh'
|
||||
String.Interpol: "#4e9a06", # class: 'si'
|
||||
String.Other: "#4e9a06", # class: 'sx'
|
||||
String.Regex: "#4e9a06", # class: 'sr'
|
||||
String.Single: "#4e9a06", # class: 's1'
|
||||
String.Symbol: "#4e9a06", # class: 'ss'
|
||||
|
||||
Generic: "#000000", # class: 'g'
|
||||
Generic.Deleted: "#a40000", # class: 'gd'
|
||||
Generic.Emph: "italic #000000", # class: 'ge'
|
||||
Generic.Error: "#ef2929", # class: 'gr'
|
||||
Generic.Heading: "bold #000080", # class: 'gh'
|
||||
Generic.Inserted: "#00A000", # class: 'gi'
|
||||
Generic.Output: "italic #000000", # class: 'go'
|
||||
Generic.Prompt: "#8f5902", # class: 'gp'
|
||||
Generic.Strong: "bold #000000", # class: 'gs'
|
||||
Generic.Subheading: "bold #800080", # class: 'gu'
|
||||
Generic.Traceback: "bold #a40000", # class: 'gt'
|
||||
}
|
||||
62
.venv/lib/python3.8/site-packages/pygments/styles/trac.py
Normal file
62
.venv/lib/python3.8/site-packages/pygments/styles/trac.py
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
"""
|
||||
pygments.styles.trac
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Port of the default trac highlighter design.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Generic, Whitespace
|
||||
|
||||
|
||||
class TracStyle(Style):
|
||||
"""
|
||||
Port of the default trac highlighter design.
|
||||
"""
|
||||
|
||||
default_style = ''
|
||||
|
||||
styles = {
|
||||
Whitespace: '#bbbbbb',
|
||||
Comment: 'italic #999988',
|
||||
Comment.Preproc: 'bold noitalic #999999',
|
||||
Comment.Special: 'bold #999999',
|
||||
|
||||
Operator: 'bold',
|
||||
|
||||
String: '#bb8844',
|
||||
String.Regex: '#808000',
|
||||
|
||||
Number: '#009999',
|
||||
|
||||
Keyword: 'bold',
|
||||
Keyword.Type: '#445588',
|
||||
|
||||
Name.Builtin: '#999999',
|
||||
Name.Function: 'bold #990000',
|
||||
Name.Class: 'bold #445588',
|
||||
Name.Exception: 'bold #990000',
|
||||
Name.Namespace: '#555555',
|
||||
Name.Variable: '#008080',
|
||||
Name.Constant: '#008080',
|
||||
Name.Tag: '#000080',
|
||||
Name.Attribute: '#008080',
|
||||
Name.Entity: '#800080',
|
||||
|
||||
Generic.Heading: '#999999',
|
||||
Generic.Subheading: '#aaaaaa',
|
||||
Generic.Deleted: 'bg:#ffdddd #000000',
|
||||
Generic.Inserted: 'bg:#ddffdd #000000',
|
||||
Generic.Error: '#aa0000',
|
||||
Generic.Emph: 'italic',
|
||||
Generic.Strong: 'bold',
|
||||
Generic.Prompt: '#555555',
|
||||
Generic.Output: '#888888',
|
||||
Generic.Traceback: '#aa0000',
|
||||
|
||||
Error: 'bg:#e3d2d2 #a61717'
|
||||
}
|
||||
62
.venv/lib/python3.8/site-packages/pygments/styles/vim.py
Normal file
62
.venv/lib/python3.8/site-packages/pygments/styles/vim.py
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
"""
|
||||
pygments.styles.vim
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A highlighting style for Pygments, inspired by vim.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Generic, Whitespace, Token
|
||||
|
||||
|
||||
class VimStyle(Style):
|
||||
"""
|
||||
Styles somewhat like vim 7.0
|
||||
"""
|
||||
|
||||
background_color = "#000000"
|
||||
highlight_color = "#222222"
|
||||
default_style = "#cccccc"
|
||||
|
||||
styles = {
|
||||
Token: "#cccccc",
|
||||
Whitespace: "",
|
||||
Comment: "#000080",
|
||||
Comment.Preproc: "",
|
||||
Comment.Special: "bold #cd0000",
|
||||
|
||||
Keyword: "#cdcd00",
|
||||
Keyword.Declaration: "#00cd00",
|
||||
Keyword.Namespace: "#cd00cd",
|
||||
Keyword.Pseudo: "",
|
||||
Keyword.Type: "#00cd00",
|
||||
|
||||
Operator: "#3399cc",
|
||||
Operator.Word: "#cdcd00",
|
||||
|
||||
Name: "",
|
||||
Name.Class: "#00cdcd",
|
||||
Name.Builtin: "#cd00cd",
|
||||
Name.Exception: "bold #666699",
|
||||
Name.Variable: "#00cdcd",
|
||||
|
||||
String: "#cd0000",
|
||||
Number: "#cd00cd",
|
||||
|
||||
Generic.Heading: "bold #000080",
|
||||
Generic.Subheading: "bold #800080",
|
||||
Generic.Deleted: "#cd0000",
|
||||
Generic.Inserted: "#00cd00",
|
||||
Generic.Error: "#FF0000",
|
||||
Generic.Emph: "italic",
|
||||
Generic.Strong: "bold",
|
||||
Generic.Prompt: "bold #000080",
|
||||
Generic.Output: "#888",
|
||||
Generic.Traceback: "#04D",
|
||||
|
||||
Error: "border:#FF0000"
|
||||
}
|
||||
37
.venv/lib/python3.8/site-packages/pygments/styles/vs.py
Normal file
37
.venv/lib/python3.8/site-packages/pygments/styles/vs.py
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
"""
|
||||
pygments.styles.vs
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Simple style with MS Visual Studio colors.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Operator, Generic
|
||||
|
||||
|
||||
class VisualStudioStyle(Style):
|
||||
|
||||
background_color = "#ffffff"
|
||||
default_style = ""
|
||||
|
||||
styles = {
|
||||
Comment: "#008000",
|
||||
Comment.Preproc: "#0000ff",
|
||||
Keyword: "#0000ff",
|
||||
Operator.Word: "#0000ff",
|
||||
Keyword.Type: "#2b91af",
|
||||
Name.Class: "#2b91af",
|
||||
String: "#a31515",
|
||||
|
||||
Generic.Heading: "bold",
|
||||
Generic.Subheading: "bold",
|
||||
Generic.Emph: "italic",
|
||||
Generic.Strong: "bold",
|
||||
Generic.Prompt: "bold",
|
||||
|
||||
Error: "border:#FF0000"
|
||||
}
|
||||
50
.venv/lib/python3.8/site-packages/pygments/styles/xcode.py
Normal file
50
.venv/lib/python3.8/site-packages/pygments/styles/xcode.py
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
"""
|
||||
pygments.styles.xcode
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Style similar to the `Xcode` default theme.
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||
Number, Operator, Literal
|
||||
|
||||
|
||||
class XcodeStyle(Style):
|
||||
"""
|
||||
Style similar to the Xcode default colouring theme.
|
||||
"""
|
||||
|
||||
default_style = ''
|
||||
|
||||
styles = {
|
||||
Comment: '#177500',
|
||||
Comment.Preproc: '#633820',
|
||||
|
||||
String: '#C41A16',
|
||||
String.Char: '#2300CE',
|
||||
|
||||
Operator: '#000000',
|
||||
|
||||
Keyword: '#A90D91',
|
||||
|
||||
Name: '#000000',
|
||||
Name.Attribute: '#836C28',
|
||||
Name.Class: '#3F6E75',
|
||||
Name.Function: '#000000',
|
||||
Name.Builtin: '#A90D91',
|
||||
# In Obj-C code this token is used to colour Cocoa types
|
||||
Name.Builtin.Pseudo: '#5B269A',
|
||||
Name.Variable: '#000000',
|
||||
Name.Tag: '#000000',
|
||||
Name.Decorator: '#000000',
|
||||
# Workaround for a BUG here: lexer treats multiline method signatres as labels
|
||||
Name.Label: '#000000',
|
||||
|
||||
Literal: '#1C01CE',
|
||||
Number: '#1C01CE',
|
||||
Error: '#000000',
|
||||
}
|
||||
80
.venv/lib/python3.8/site-packages/pygments/styles/zenburn.py
Normal file
80
.venv/lib/python3.8/site-packages/pygments/styles/zenburn.py
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
"""
|
||||
pygments.styles.zenburn
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Low contrast color scheme Zenburn.
|
||||
|
||||
See: https://kippura.org/zenburnpage/
|
||||
https://github.com/jnurmine/Zenburn
|
||||
|
||||
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import (
|
||||
Token, Name, Operator, Keyword, Generic, Comment, Number, String, Literal,
|
||||
Punctuation, Error,
|
||||
)
|
||||
|
||||
|
||||
class ZenburnStyle(Style):
|
||||
"""
|
||||
Low contrast Zenburn style.
|
||||
"""
|
||||
|
||||
default_style = ""
|
||||
background_color = '#3f3f3f'
|
||||
highlight_color = '#484848'
|
||||
line_number_color = '#5d6262'
|
||||
line_number_background_color = '#353535'
|
||||
line_number_special_color = '#7a8080'
|
||||
line_number_special_background_color = '#353535'
|
||||
styles = {
|
||||
Token: '#dcdccc',
|
||||
Error: '#e37170 bold',
|
||||
|
||||
Keyword: '#efdcbc',
|
||||
Keyword.Type: '#dfdfbf bold',
|
||||
Keyword.Constant: '#dca3a3',
|
||||
Keyword.Declaration: '#f0dfaf',
|
||||
Keyword.Namespace: '#f0dfaf',
|
||||
|
||||
Name: '#dcdccc',
|
||||
Name.Tag: '#e89393 bold',
|
||||
Name.Entity: '#cfbfaf',
|
||||
Name.Constant: '#dca3a3',
|
||||
Name.Class: '#efef8f',
|
||||
Name.Function: '#efef8f',
|
||||
Name.Builtin: '#efef8f',
|
||||
Name.Builtin.Pseudo: '#dcdccc',
|
||||
Name.Attribute: '#efef8f',
|
||||
Name.Exception: '#c3bf9f bold',
|
||||
|
||||
Literal: '#9fafaf',
|
||||
|
||||
String: '#cc9393',
|
||||
String.Doc: '#7f9f7f',
|
||||
String.Interpol: '#dca3a3 bold',
|
||||
|
||||
Number: '#8cd0d3',
|
||||
Number.Float: '#c0bed1',
|
||||
|
||||
Operator: '#f0efd0',
|
||||
|
||||
Punctuation: '#f0efd0',
|
||||
|
||||
Comment: '#7f9f7f italic',
|
||||
Comment.Preproc: '#dfaf8f bold',
|
||||
Comment.PreprocFile: '#cc9393',
|
||||
Comment.Special: '#dfdfdf bold',
|
||||
|
||||
Generic: '#ecbcbc bold',
|
||||
Generic.Emph: '#ffffff bold',
|
||||
Generic.Output: '#5b605e bold',
|
||||
Generic.Heading: '#efefef bold',
|
||||
Generic.Deleted: '#c3bf9f bg:#313c36',
|
||||
Generic.Inserted: '#709080 bg:#313c36 bold',
|
||||
Generic.Traceback: '#80d4aa bg:#2f2f2f bold',
|
||||
Generic.Subheading: '#efefef bold',
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue