second commit
This commit is contained in:
61
env/lib/python3.11/site-packages/pygments/styles/__init__.py
vendored
Normal file
61
env/lib/python3.11/site-packages/pygments/styles/__init__.py
vendored
Normal file
@ -0,0 +1,61 @@
|
||||
"""
|
||||
pygments.styles
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
Contains built-in styles.
|
||||
|
||||
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.plugin import find_plugin_styles
|
||||
from pygments.util import ClassNotFound
|
||||
from pygments.styles._mapping import STYLES
|
||||
|
||||
#: A dictionary of built-in styles, mapping style names to
|
||||
#: ``'submodule::classname'`` strings.
|
||||
#: This list is deprecated. Use `pygments.styles.STYLES` instead
|
||||
STYLE_MAP = {v[1]: v[0].split('.')[-1] + '::' + k for k, v in STYLES.items()}
|
||||
|
||||
#: Internal reverse mapping to make `get_style_by_name` more efficient
|
||||
_STYLE_NAME_TO_MODULE_MAP = {v[1]: (v[0], k) for k, v in STYLES.items()}
|
||||
|
||||
|
||||
def get_style_by_name(name):
|
||||
"""
|
||||
Return a style class by its short name. The names of the builtin styles
|
||||
are listed in :data:`pygments.styles.STYLE_MAP`.
|
||||
|
||||
Will raise :exc:`pygments.util.ClassNotFound` if no style of that name is
|
||||
found.
|
||||
"""
|
||||
if name in _STYLE_NAME_TO_MODULE_MAP:
|
||||
mod, cls = _STYLE_NAME_TO_MODULE_MAP[name]
|
||||
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 = 'pygments.styles.' + name
|
||||
cls = name.title() + "Style"
|
||||
|
||||
try:
|
||||
mod = __import__(mod, None, None, [cls])
|
||||
except ImportError:
|
||||
raise ClassNotFound(f"Could not find style module {mod!r}" +
|
||||
(builtin and ", though it should be builtin")
|
||||
+ ".")
|
||||
try:
|
||||
return getattr(mod, cls)
|
||||
except AttributeError:
|
||||
raise ClassNotFound(f"Could not find style class {cls!r} in style module.")
|
||||
|
||||
|
||||
def get_all_styles():
|
||||
"""Return a generator for all styles by name, both builtin and plugin."""
|
||||
for v in STYLES.values():
|
||||
yield v[1]
|
||||
for name, _ in find_plugin_styles():
|
||||
yield name
|
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/__init__.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/__init__.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/_mapping.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/_mapping.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/abap.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/abap.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/algol.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/algol.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/algol_nu.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/algol_nu.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/arduino.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/arduino.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/autumn.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/autumn.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/borland.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/borland.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/bw.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/bw.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/coffee.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/coffee.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/colorful.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/colorful.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/default.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/default.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/dracula.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/dracula.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/emacs.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/emacs.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/friendly.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/friendly.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/friendly_grayscale.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/friendly_grayscale.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/fruity.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/fruity.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/gh_dark.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/gh_dark.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/gruvbox.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/gruvbox.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/igor.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/igor.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/inkpot.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/inkpot.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/lightbulb.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/lightbulb.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/lilypond.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/lilypond.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/lovelace.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/lovelace.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/manni.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/manni.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/material.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/material.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/monokai.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/monokai.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/murphy.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/murphy.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/native.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/native.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/nord.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/nord.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/onedark.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/onedark.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/paraiso_dark.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/paraiso_dark.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/paraiso_light.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/paraiso_light.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/pastie.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/pastie.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/perldoc.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/perldoc.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/rainbow_dash.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/rainbow_dash.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/rrt.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/rrt.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/sas.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/sas.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/solarized.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/solarized.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/staroffice.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/staroffice.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/stata_dark.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/stata_dark.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/stata_light.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/stata_light.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/tango.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/tango.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/trac.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/trac.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/vim.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/vim.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/vs.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/vs.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/xcode.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/xcode.cpython-311.pyc
vendored
Normal file
Binary file not shown.
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/zenburn.cpython-311.pyc
vendored
Normal file
BIN
env/lib/python3.11/site-packages/pygments/styles/__pycache__/zenburn.cpython-311.pyc
vendored
Normal file
Binary file not shown.
54
env/lib/python3.11/site-packages/pygments/styles/_mapping.py
vendored
Normal file
54
env/lib/python3.11/site-packages/pygments/styles/_mapping.py
vendored
Normal file
@ -0,0 +1,54 @@
|
||||
# Automatically generated by scripts/gen_mapfiles.py.
|
||||
# DO NOT EDIT BY HAND; run `tox -e mapfiles` instead.
|
||||
|
||||
STYLES = {
|
||||
'AbapStyle': ('pygments.styles.abap', 'abap', ()),
|
||||
'AlgolStyle': ('pygments.styles.algol', 'algol', ()),
|
||||
'Algol_NuStyle': ('pygments.styles.algol_nu', 'algol_nu', ()),
|
||||
'ArduinoStyle': ('pygments.styles.arduino', 'arduino', ()),
|
||||
'AutumnStyle': ('pygments.styles.autumn', 'autumn', ()),
|
||||
'BlackWhiteStyle': ('pygments.styles.bw', 'bw', ()),
|
||||
'BorlandStyle': ('pygments.styles.borland', 'borland', ()),
|
||||
'CoffeeStyle': ('pygments.styles.coffee', 'coffee', ()),
|
||||
'ColorfulStyle': ('pygments.styles.colorful', 'colorful', ()),
|
||||
'DefaultStyle': ('pygments.styles.default', 'default', ()),
|
||||
'DraculaStyle': ('pygments.styles.dracula', 'dracula', ()),
|
||||
'EmacsStyle': ('pygments.styles.emacs', 'emacs', ()),
|
||||
'FriendlyGrayscaleStyle': ('pygments.styles.friendly_grayscale', 'friendly_grayscale', ()),
|
||||
'FriendlyStyle': ('pygments.styles.friendly', 'friendly', ()),
|
||||
'FruityStyle': ('pygments.styles.fruity', 'fruity', ()),
|
||||
'GhDarkStyle': ('pygments.styles.gh_dark', 'github-dark', ()),
|
||||
'GruvboxDarkStyle': ('pygments.styles.gruvbox', 'gruvbox-dark', ()),
|
||||
'GruvboxLightStyle': ('pygments.styles.gruvbox', 'gruvbox-light', ()),
|
||||
'IgorStyle': ('pygments.styles.igor', 'igor', ()),
|
||||
'InkPotStyle': ('pygments.styles.inkpot', 'inkpot', ()),
|
||||
'LightbulbStyle': ('pygments.styles.lightbulb', 'lightbulb', ()),
|
||||
'LilyPondStyle': ('pygments.styles.lilypond', 'lilypond', ()),
|
||||
'LovelaceStyle': ('pygments.styles.lovelace', 'lovelace', ()),
|
||||
'ManniStyle': ('pygments.styles.manni', 'manni', ()),
|
||||
'MaterialStyle': ('pygments.styles.material', 'material', ()),
|
||||
'MonokaiStyle': ('pygments.styles.monokai', 'monokai', ()),
|
||||
'MurphyStyle': ('pygments.styles.murphy', 'murphy', ()),
|
||||
'NativeStyle': ('pygments.styles.native', 'native', ()),
|
||||
'NordDarkerStyle': ('pygments.styles.nord', 'nord-darker', ()),
|
||||
'NordStyle': ('pygments.styles.nord', 'nord', ()),
|
||||
'OneDarkStyle': ('pygments.styles.onedark', 'one-dark', ()),
|
||||
'ParaisoDarkStyle': ('pygments.styles.paraiso_dark', 'paraiso-dark', ()),
|
||||
'ParaisoLightStyle': ('pygments.styles.paraiso_light', 'paraiso-light', ()),
|
||||
'PastieStyle': ('pygments.styles.pastie', 'pastie', ()),
|
||||
'PerldocStyle': ('pygments.styles.perldoc', 'perldoc', ()),
|
||||
'RainbowDashStyle': ('pygments.styles.rainbow_dash', 'rainbow_dash', ()),
|
||||
'RrtStyle': ('pygments.styles.rrt', 'rrt', ()),
|
||||
'SasStyle': ('pygments.styles.sas', 'sas', ()),
|
||||
'SolarizedDarkStyle': ('pygments.styles.solarized', 'solarized-dark', ()),
|
||||
'SolarizedLightStyle': ('pygments.styles.solarized', 'solarized-light', ()),
|
||||
'StarofficeStyle': ('pygments.styles.staroffice', 'staroffice', ()),
|
||||
'StataDarkStyle': ('pygments.styles.stata_dark', 'stata-dark', ()),
|
||||
'StataLightStyle': ('pygments.styles.stata_light', 'stata-light', ()),
|
||||
'TangoStyle': ('pygments.styles.tango', 'tango', ()),
|
||||
'TracStyle': ('pygments.styles.trac', 'trac', ()),
|
||||
'VimStyle': ('pygments.styles.vim', 'vim', ()),
|
||||
'VisualStudioStyle': ('pygments.styles.vs', 'vs', ()),
|
||||
'XcodeStyle': ('pygments.styles.xcode', 'xcode', ()),
|
||||
'ZenburnStyle': ('pygments.styles.zenburn', 'zenburn', ()),
|
||||
}
|
32
env/lib/python3.11/site-packages/pygments/styles/abap.py
vendored
Normal file
32
env/lib/python3.11/site-packages/pygments/styles/abap.py
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
"""
|
||||
pygments.styles.abap
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
ABAP workbench like style.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['AbapStyle']
|
||||
|
||||
|
||||
class AbapStyle(Style):
|
||||
name = 'abap'
|
||||
|
||||
styles = {
|
||||
Comment: 'italic #888',
|
||||
Comment.Special: '#888',
|
||||
Keyword: '#00f',
|
||||
Operator.Word: '#00f',
|
||||
Name: '#000',
|
||||
Number: '#3af',
|
||||
String: '#5a2',
|
||||
|
||||
Error: '#F00',
|
||||
}
|
65
env/lib/python3.11/site-packages/pygments/styles/algol.py
vendored
Normal file
65
env/lib/python3.11/site-packages/pygments/styles/algol.py
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
"""
|
||||
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-2024 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
|
||||
|
||||
|
||||
__all__ = ['AlgolStyle']
|
||||
|
||||
|
||||
class AlgolStyle(Style):
|
||||
name = 'algol'
|
||||
|
||||
background_color = "#ffffff"
|
||||
|
||||
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"
|
||||
}
|
65
env/lib/python3.11/site-packages/pygments/styles/algol_nu.py
vendored
Normal file
65
env/lib/python3.11/site-packages/pygments/styles/algol_nu.py
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
"""
|
||||
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-2024 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
|
||||
|
||||
|
||||
__all__ = ['Algol_NuStyle']
|
||||
|
||||
|
||||
class Algol_NuStyle(Style):
|
||||
name = 'algol_nu'
|
||||
|
||||
background_color = "#ffffff"
|
||||
|
||||
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"
|
||||
}
|
100
env/lib/python3.11/site-packages/pygments/styles/arduino.py
vendored
Normal file
100
env/lib/python3.11/site-packages/pygments/styles/arduino.py
vendored
Normal file
@ -0,0 +1,100 @@
|
||||
"""
|
||||
pygments.styles.arduino
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Arduino® Syntax highlighting style.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['ArduinoStyle']
|
||||
|
||||
|
||||
class ArduinoStyle(Style):
|
||||
"""
|
||||
The Arduino® language style. This style is designed to highlight the
|
||||
Arduino source code, so expect the best results with it.
|
||||
"""
|
||||
name = 'arduino'
|
||||
|
||||
background_color = "#ffffff"
|
||||
|
||||
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'
|
||||
}
|
67
env/lib/python3.11/site-packages/pygments/styles/autumn.py
vendored
Normal file
67
env/lib/python3.11/site-packages/pygments/styles/autumn.py
vendored
Normal file
@ -0,0 +1,67 @@
|
||||
"""
|
||||
pygments.styles.autumn
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A colorful style, inspired by the terminal highlighting style.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['AutumnStyle']
|
||||
|
||||
|
||||
class AutumnStyle(Style):
|
||||
"""
|
||||
A colorful style, inspired by the terminal highlighting style.
|
||||
"""
|
||||
name = 'autumn'
|
||||
|
||||
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.EmphStrong: 'bold italic',
|
||||
Generic.Prompt: '#555555',
|
||||
Generic.Output: '#888888',
|
||||
Generic.Traceback: '#aa0000',
|
||||
|
||||
Error: '#F00 bg:#FAA'
|
||||
}
|
53
env/lib/python3.11/site-packages/pygments/styles/borland.py
vendored
Normal file
53
env/lib/python3.11/site-packages/pygments/styles/borland.py
vendored
Normal file
@ -0,0 +1,53 @@
|
||||
"""
|
||||
pygments.styles.borland
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Style similar to the style used in the Borland IDEs.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['BorlandStyle']
|
||||
|
||||
|
||||
class BorlandStyle(Style):
|
||||
"""
|
||||
Style similar to the style used in the borland IDEs.
|
||||
"""
|
||||
name = 'borland'
|
||||
|
||||
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.EmphStrong: 'bold italic',
|
||||
Generic.Prompt: '#555555',
|
||||
Generic.Output: '#888888',
|
||||
Generic.Traceback: '#aa0000',
|
||||
|
||||
Error: 'bg:#e3d2d2 #a61717'
|
||||
}
|
52
env/lib/python3.11/site-packages/pygments/styles/bw.py
vendored
Normal file
52
env/lib/python3.11/site-packages/pygments/styles/bw.py
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
"""
|
||||
pygments.styles.bw
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Simple black/white only style.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['BlackWhiteStyle']
|
||||
|
||||
|
||||
class BlackWhiteStyle(Style):
|
||||
name = 'bw'
|
||||
|
||||
background_color = "#ffffff"
|
||||
|
||||
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.EmphStrong: "bold italic",
|
||||
Generic.Prompt: "bold",
|
||||
|
||||
Error: "border:#FF0000"
|
||||
}
|
80
env/lib/python3.11/site-packages/pygments/styles/coffee.py
vendored
Normal file
80
env/lib/python3.11/site-packages/pygments/styles/coffee.py
vendored
Normal file
@ -0,0 +1,80 @@
|
||||
"""
|
||||
pygments.styles.coffee
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A warm and cozy theme based off gruvbox
|
||||
|
||||
:copyright: Copyright 2006-2024 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, Literal, Name,
|
||||
Number, Operator, Punctuation, String, Token)
|
||||
|
||||
__all__ = ["CoffeeStyle"]
|
||||
|
||||
|
||||
class CoffeeStyle(Style):
|
||||
"""
|
||||
A warm and cozy theme based off gruvbox
|
||||
"""
|
||||
|
||||
name = "coffee"
|
||||
|
||||
background_color = "#262220"
|
||||
highlight_color = "#ddd0c0"
|
||||
|
||||
line_number_color = "#4e4e4e"
|
||||
line_number_special_color = "#8f9494"
|
||||
|
||||
styles = {
|
||||
Comment: "#70757A",
|
||||
Comment.Hashbang: "#8f9f9f",
|
||||
Comment.Preproc: "#fdd0c0",
|
||||
Comment.PreprocFile: "#c9b98f",
|
||||
Comment.Special: "#af5f5f",
|
||||
Error: "#af5f5f",
|
||||
Generic.Deleted: "#bb6868",
|
||||
Generic.Emph: "italic",
|
||||
Generic.Error: "#af5f5f",
|
||||
Generic.Inserted: "#849155",
|
||||
Generic.Output: "#ddd0c0",
|
||||
Generic.Strong: "bold",
|
||||
Generic.Traceback: "#af5f5f",
|
||||
Keyword: "#919191",
|
||||
Keyword.Constant: "#875f5f",
|
||||
Keyword.Declaration: "#875f5f",
|
||||
Keyword.Namespace: "#875f5f",
|
||||
Keyword.Reserved: "#b46276",
|
||||
Keyword.Type: "#af875f",
|
||||
Literal: "#af875f",
|
||||
Name: "#ddd0c0",
|
||||
Name.Attribute: "#ddd0c0",
|
||||
Name.Builtin: "#ddd0c0",
|
||||
Name.Builtin.Pseudo: "#87afaf",
|
||||
Name.Class: "#875f5f",
|
||||
Name.Constant: "#af8787",
|
||||
Name.Decorator: "#fdd0c0",
|
||||
Name.Entity: "#ddd0c0",
|
||||
Name.Exception: "#877575",
|
||||
Name.Function: "#fdd0c0",
|
||||
Name.Function.Magic: "#fdd0c0",
|
||||
Name.Other: "#ddd0c0",
|
||||
Name.Property: "#dfaf87",
|
||||
Name.Tag: "#87afaf",
|
||||
Name.Variable: "#ddd0c0",
|
||||
Number: "#87afaf",
|
||||
Operator: "#878787",
|
||||
Operator.Word: "#878787",
|
||||
Punctuation: "#ddd0c0",
|
||||
String: "#c9b98f",
|
||||
String.Affix: "#dfaf87",
|
||||
String.Doc: "#878787",
|
||||
String.Escape: "#af5f5f",
|
||||
String.Interpol: "#af5f5f",
|
||||
String.Other: "#fdd0c0",
|
||||
String.Regex: "#af5f5f",
|
||||
String.Symbol: "#af5f5f",
|
||||
Token: "#ddd0c0",
|
||||
}
|
83
env/lib/python3.11/site-packages/pygments/styles/colorful.py
vendored
Normal file
83
env/lib/python3.11/site-packages/pygments/styles/colorful.py
vendored
Normal file
@ -0,0 +1,83 @@
|
||||
"""
|
||||
pygments.styles.colorful
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A colorful style, inspired by CodeRay.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['ColorfulStyle']
|
||||
|
||||
|
||||
class ColorfulStyle(Style):
|
||||
"""
|
||||
A colorful style, inspired by CodeRay.
|
||||
"""
|
||||
name = 'colorful'
|
||||
|
||||
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.EmphStrong: "bold italic",
|
||||
Generic.Prompt: "bold #c65d09",
|
||||
Generic.Output: "#888",
|
||||
Generic.Traceback: "#04D",
|
||||
|
||||
Error: "#F00 bg:#FAA"
|
||||
}
|
76
env/lib/python3.11/site-packages/pygments/styles/default.py
vendored
Normal file
76
env/lib/python3.11/site-packages/pygments/styles/default.py
vendored
Normal file
@ -0,0 +1,76 @@
|
||||
"""
|
||||
pygments.styles.default
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The default highlighting style.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['DefaultStyle']
|
||||
|
||||
|
||||
class DefaultStyle(Style):
|
||||
"""
|
||||
The default style (inspired by Emacs 22).
|
||||
"""
|
||||
name = 'default'
|
||||
|
||||
background_color = "#f8f8f8"
|
||||
|
||||
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.EmphStrong: "bold italic",
|
||||
Generic.Prompt: "bold #000080",
|
||||
Generic.Output: "#717171",
|
||||
Generic.Traceback: "#04D",
|
||||
|
||||
Error: "border:#FF0000"
|
||||
}
|
90
env/lib/python3.11/site-packages/pygments/styles/dracula.py
vendored
Normal file
90
env/lib/python3.11/site-packages/pygments/styles/dracula.py
vendored
Normal file
@ -0,0 +1,90 @@
|
||||
"""
|
||||
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-2024 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
|
||||
|
||||
|
||||
__all__ = ['DraculaStyle']
|
||||
|
||||
background = "#282a36"
|
||||
foreground = "#f8f8f2"
|
||||
selection = "#44475a"
|
||||
comment = "#6272a4"
|
||||
cyan = "#8be9fd"
|
||||
green = "#50fa7b"
|
||||
orange = "#ffb86c"
|
||||
pink = "#ff79c6"
|
||||
purple = "#bd93f9"
|
||||
red = "#ff5555"
|
||||
yellow = "#f1fa8c"
|
||||
|
||||
deletion = "#8b080b"
|
||||
|
||||
class DraculaStyle(Style):
|
||||
name = 'dracula'
|
||||
|
||||
background_color = background
|
||||
highlight_color = selection
|
||||
line_number_color = yellow
|
||||
line_number_background_color = selection
|
||||
line_number_special_color = green
|
||||
line_number_special_background_color = comment
|
||||
|
||||
styles = {
|
||||
Whitespace: foreground,
|
||||
|
||||
Comment: comment,
|
||||
Comment.Preproc: pink,
|
||||
|
||||
Generic: foreground,
|
||||
Generic.Deleted: deletion,
|
||||
Generic.Emph: "underline",
|
||||
Generic.Heading: "bold",
|
||||
Generic.Inserted: "bold",
|
||||
Generic.Output: selection,
|
||||
Generic.EmphStrong: "underline",
|
||||
Generic.Subheading: "bold",
|
||||
|
||||
Error: foreground,
|
||||
|
||||
Keyword: pink,
|
||||
Keyword.Constant: pink,
|
||||
Keyword.Declaration: cyan + " italic",
|
||||
Keyword.Type: cyan,
|
||||
|
||||
Literal: foreground,
|
||||
|
||||
Name: foreground,
|
||||
Name.Attribute: green,
|
||||
Name.Builtin: cyan + " italic",
|
||||
Name.Builtin.Pseudo: foreground,
|
||||
Name.Class: green,
|
||||
Name.Function: green,
|
||||
Name.Label: cyan + " italic",
|
||||
Name.Tag: pink,
|
||||
Name.Variable: cyan + " italic",
|
||||
|
||||
Number: orange,
|
||||
|
||||
Operator: pink,
|
||||
|
||||
Other: foreground,
|
||||
|
||||
Punctuation: foreground,
|
||||
|
||||
String: purple,
|
||||
|
||||
Text: foreground,
|
||||
}
|
75
env/lib/python3.11/site-packages/pygments/styles/emacs.py
vendored
Normal file
75
env/lib/python3.11/site-packages/pygments/styles/emacs.py
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
"""
|
||||
pygments.styles.emacs
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A highlighting style for Pygments, inspired by Emacs.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['EmacsStyle']
|
||||
|
||||
|
||||
class EmacsStyle(Style):
|
||||
"""
|
||||
The default style (inspired by Emacs 22).
|
||||
"""
|
||||
name = 'emacs'
|
||||
|
||||
background_color = "#f8f8f8"
|
||||
|
||||
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.EmphStrong: "bold italic",
|
||||
Generic.Prompt: "bold #000080",
|
||||
Generic.Output: "#888",
|
||||
Generic.Traceback: "#04D",
|
||||
|
||||
Error: "border:#FF0000"
|
||||
}
|
76
env/lib/python3.11/site-packages/pygments/styles/friendly.py
vendored
Normal file
76
env/lib/python3.11/site-packages/pygments/styles/friendly.py
vendored
Normal file
@ -0,0 +1,76 @@
|
||||
"""
|
||||
pygments.styles.friendly
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A modern style based on the VIM pyte theme.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['FriendlyStyle']
|
||||
|
||||
|
||||
class FriendlyStyle(Style):
|
||||
"""
|
||||
A modern style based on the VIM pyte theme.
|
||||
"""
|
||||
name = 'friendly'
|
||||
|
||||
background_color = "#f0f0f0"
|
||||
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.EmphStrong: "bold italic",
|
||||
Generic.Prompt: "bold #c65d09",
|
||||
Generic.Output: "#888",
|
||||
Generic.Traceback: "#04D",
|
||||
|
||||
Error: "border:#FF0000"
|
||||
}
|
80
env/lib/python3.11/site-packages/pygments/styles/friendly_grayscale.py
vendored
Normal file
80
env/lib/python3.11/site-packages/pygments/styles/friendly_grayscale.py
vendored
Normal file
@ -0,0 +1,80 @@
|
||||
"""
|
||||
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-2024 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
|
||||
|
||||
|
||||
__all__ = ['FriendlyGrayscaleStyle']
|
||||
|
||||
|
||||
class FriendlyGrayscaleStyle(Style):
|
||||
"""
|
||||
A modern grayscale style based on the friendly style.
|
||||
|
||||
.. versionadded:: 2.11
|
||||
"""
|
||||
name = 'friendly_grayscale'
|
||||
|
||||
background_color = "#f0f0f0"
|
||||
|
||||
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.EmphStrong: "bold italic",
|
||||
Generic.Prompt: "bold #7E7E7E",
|
||||
Generic.Output: "#888888",
|
||||
Generic.Traceback: "#6D6D6D",
|
||||
|
||||
Error: "border:#898989"
|
||||
}
|
47
env/lib/python3.11/site-packages/pygments/styles/fruity.py
vendored
Normal file
47
env/lib/python3.11/site-packages/pygments/styles/fruity.py
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
"""
|
||||
pygments.styles.fruity
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
pygments version of my "fruity" vim theme.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['FruityStyle']
|
||||
|
||||
|
||||
class FruityStyle(Style):
|
||||
"""
|
||||
Pygments version of the "native" vim theme.
|
||||
"""
|
||||
|
||||
name = 'fruity'
|
||||
|
||||
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'
|
||||
}
|
113
env/lib/python3.11/site-packages/pygments/styles/gh_dark.py
vendored
Normal file
113
env/lib/python3.11/site-packages/pygments/styles/gh_dark.py
vendored
Normal file
@ -0,0 +1,113 @@
|
||||
"""
|
||||
pygments.styles.gh_dark
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Github's Dark-Colorscheme based theme for Pygments
|
||||
Colors extracted from https://github.com/primer/primitives
|
||||
|
||||
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Keyword, Name, Comment, Error, Number, Operator, \
|
||||
Generic, Text, Literal, String, Token
|
||||
|
||||
|
||||
__all__ = ['GhDarkStyle']
|
||||
|
||||
|
||||
# vars are defined to match the defs in
|
||||
# - [GitHub's VS Code theme](https://github.com/primer/github-vscode-theme) and
|
||||
# - [Primer styles](https://github.com/primer/primitives)
|
||||
RED_2 = "#ffa198"
|
||||
RED_3 = "#ff7b72"
|
||||
RED_9 = "#490202"
|
||||
ORANGE_2 = "#ffa657"
|
||||
ORANGE_3 = "#f0883e"
|
||||
GREEN_1 = "#7ee787"
|
||||
GREEN_2 = "#56d364"
|
||||
GREEN_7 = "#0f5323"
|
||||
BLUE_1 = "#a5d6ff"
|
||||
BLUE_2 = "#79c0ff"
|
||||
PURPLE_2 = "#d2a8ff"
|
||||
GRAY_3 = "#8b949e"
|
||||
GRAY_4 = "#6e7681"
|
||||
FG_SUBTLE = "#6e7681"
|
||||
FG_DEFAULT = "#e6edf3"
|
||||
BG_DEFAULT = "#0d1117"
|
||||
DANGER_FG = "#f85149"
|
||||
|
||||
|
||||
class GhDarkStyle(Style):
|
||||
"""
|
||||
Github's Dark-Colorscheme based theme for Pygments
|
||||
"""
|
||||
|
||||
name = 'github-dark'
|
||||
|
||||
background_color = BG_DEFAULT
|
||||
|
||||
# has transparency in VS Code theme as `colors.codemirror.activelineBg`
|
||||
highlight_color = GRAY_4
|
||||
|
||||
line_number_special_color = FG_DEFAULT
|
||||
line_number_special_background_color = FG_SUBTLE
|
||||
|
||||
line_number_color = GRAY_4
|
||||
line_number_background_color = BG_DEFAULT
|
||||
|
||||
styles = {
|
||||
Token: FG_DEFAULT,
|
||||
|
||||
Error: DANGER_FG,
|
||||
|
||||
Keyword: RED_3,
|
||||
Keyword.Constant: BLUE_2,
|
||||
Keyword.Pseudo: BLUE_2,
|
||||
|
||||
Name: FG_DEFAULT,
|
||||
Name.Class: "bold "+ORANGE_3,
|
||||
Name.Constant: "bold "+BLUE_2,
|
||||
Name.Decorator: 'bold '+PURPLE_2,
|
||||
Name.Entity: ORANGE_2,
|
||||
Name.Exception: "bold "+ORANGE_3,
|
||||
Name.Function: 'bold '+PURPLE_2,
|
||||
Name.Label: "bold "+BLUE_2,
|
||||
Name.Namespace: RED_3,
|
||||
Name.Property: BLUE_2,
|
||||
Name.Tag: GREEN_1,
|
||||
Name.Variable: BLUE_2,
|
||||
|
||||
Literal: BLUE_1,
|
||||
Literal.Date: BLUE_2,
|
||||
String: BLUE_1,
|
||||
String.Affix: BLUE_2,
|
||||
String.Delimiter: BLUE_2,
|
||||
String.Escape: BLUE_2,
|
||||
String.Heredoc: BLUE_2,
|
||||
String.Regex: BLUE_2,
|
||||
Number: BLUE_1,
|
||||
|
||||
Comment: 'italic '+GRAY_3,
|
||||
Comment.Preproc: "bold " + GRAY_3,
|
||||
Comment.Special: "bold italic " + GRAY_3,
|
||||
|
||||
Operator: 'bold ' + RED_3,
|
||||
|
||||
Generic: FG_DEFAULT,
|
||||
Generic.Deleted: f"bg:{RED_9} {RED_2}",
|
||||
Generic.Emph: "italic",
|
||||
Generic.Error: RED_2,
|
||||
Generic.Heading: "bold "+BLUE_2,
|
||||
Generic.Inserted: f'bg:{GREEN_7} {GREEN_2}',
|
||||
Generic.Output: GRAY_3,
|
||||
Generic.Prompt: GRAY_3,
|
||||
Generic.Strong: "bold",
|
||||
Generic.EmphStrong: "bold italic",
|
||||
Generic.Subheading: BLUE_2,
|
||||
Generic.Traceback: RED_3,
|
||||
Generic.Underline: "underline",
|
||||
|
||||
Text.Whitespace: FG_SUBTLE,
|
||||
}
|
118
env/lib/python3.11/site-packages/pygments/styles/gruvbox.py
vendored
Normal file
118
env/lib/python3.11/site-packages/pygments/styles/gruvbox.py
vendored
Normal file
@ -0,0 +1,118 @@
|
||||
"""
|
||||
pygments.styles.gruvbox
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
pygments version of the "gruvbox" vim theme.
|
||||
https://github.com/morhetz/gruvbox
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['GruvboxDarkStyle', 'GruvboxLightStyle']
|
||||
|
||||
|
||||
class GruvboxDarkStyle(Style):
|
||||
"""
|
||||
Pygments version of the "gruvbox" dark vim theme.
|
||||
"""
|
||||
|
||||
name = 'gruvbox-dark'
|
||||
|
||||
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.EmphStrong: 'bold italic',
|
||||
Generic.Prompt: '#a89984',
|
||||
Generic.Output: '#f2e5bc',
|
||||
Generic.Traceback: '#fb4934',
|
||||
|
||||
Error: 'bg:#fb4934 #282828'
|
||||
}
|
||||
|
||||
|
||||
class GruvboxLightStyle(Style):
|
||||
"""
|
||||
Pygments version of the "gruvbox" Light vim theme.
|
||||
"""
|
||||
|
||||
name = 'gruvbox-light'
|
||||
|
||||
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'
|
||||
}
|
32
env/lib/python3.11/site-packages/pygments/styles/igor.py
vendored
Normal file
32
env/lib/python3.11/site-packages/pygments/styles/igor.py
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
"""
|
||||
pygments.styles.igor
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Igor Pro default style.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['IgorStyle']
|
||||
|
||||
|
||||
class IgorStyle(Style):
|
||||
"""
|
||||
Pygments version of the official colors for Igor Pro procedures.
|
||||
"""
|
||||
|
||||
name = 'igor'
|
||||
|
||||
styles = {
|
||||
Comment: 'italic #FF0000',
|
||||
Keyword: '#0000FF',
|
||||
Name.Function: '#C34E00',
|
||||
Name.Decorator: '#CC00A3',
|
||||
Name.Class: '#007575',
|
||||
String: '#009C00'
|
||||
}
|
72
env/lib/python3.11/site-packages/pygments/styles/inkpot.py
vendored
Normal file
72
env/lib/python3.11/site-packages/pygments/styles/inkpot.py
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
"""
|
||||
pygments.styles.inkpot
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A highlighting style for Pygments, inspired by the Inkpot theme for VIM.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['InkPotStyle']
|
||||
|
||||
|
||||
class InkPotStyle(Style):
|
||||
name = 'inkpot'
|
||||
|
||||
background_color = "#1e1e27"
|
||||
|
||||
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.EmphStrong: "bold italic",
|
||||
Generic.Prompt: "bold #000080",
|
||||
Generic.Output: "#888",
|
||||
Generic.Traceback: "#04D",
|
||||
|
||||
Error: "bg:#6e2e2e #ffffff"
|
||||
}
|
110
env/lib/python3.11/site-packages/pygments/styles/lightbulb.py
vendored
Normal file
110
env/lib/python3.11/site-packages/pygments/styles/lightbulb.py
vendored
Normal file
@ -0,0 +1,110 @@
|
||||
"""
|
||||
pygments.styles.lightbulb
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A minimal dark theme based on the Lightbulb theme for VSCode.
|
||||
|
||||
:copyright: Copyright 2006-2024 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,
|
||||
Literal,
|
||||
Name,
|
||||
Number,
|
||||
Operator,
|
||||
Punctuation,
|
||||
String,
|
||||
Token,
|
||||
)
|
||||
|
||||
|
||||
__all__ = ['LightbulbStyle']
|
||||
|
||||
|
||||
COLORS = {
|
||||
"bg": "#1d2331",
|
||||
"blue_1": "#73D0FF",
|
||||
"gray_1": "#7e8aa1",
|
||||
"gray_2": "#3c4354",
|
||||
"gray_3": "#6e7681",
|
||||
"red_1": "#f88f7f",
|
||||
"red_2": "#3d1e20",
|
||||
"orange_1": "#FFAD66",
|
||||
"orange_2": "#F29E74",
|
||||
"yellow_1": "#FFD173",
|
||||
"white": "#d4d2c8",
|
||||
"magenta_1": "#DFBFFF",
|
||||
"green_1": "#D5FF80",
|
||||
"green_2": "#19362c",
|
||||
"cyan_1": "#95E6CB",
|
||||
}
|
||||
|
||||
|
||||
class LightbulbStyle(Style):
|
||||
"""
|
||||
A minimal dark theme based on the Lightbulb theme for VSCode.
|
||||
"""
|
||||
|
||||
name = 'lightbulb'
|
||||
|
||||
background_color = COLORS['bg']
|
||||
highlight_color = COLORS['gray_3']
|
||||
|
||||
line_number_color = COLORS['gray_2']
|
||||
line_number_special_color = COLORS['gray_2']
|
||||
|
||||
styles = {
|
||||
Comment: COLORS["gray_1"],
|
||||
Comment.Hashbang: "italic " + COLORS['red_1'],
|
||||
Comment.Preproc: "bold " + COLORS['orange_1'],
|
||||
Comment.Special: "italic " + COLORS['gray_1'],
|
||||
Error: COLORS['red_1'],
|
||||
Generic.Deleted: f"bg:{COLORS['red_2']} #f88f7f",
|
||||
Generic.Emph: "italic",
|
||||
Generic.Error: "#f88f7f",
|
||||
Generic.Inserted: f"bg:{COLORS['green_2']} #6ad4af",
|
||||
Generic.Output: COLORS['gray_1'],
|
||||
Generic.Strong: "bold",
|
||||
Generic.Traceback: COLORS['red_1'],
|
||||
Keyword: COLORS['orange_1'],
|
||||
Keyword.Constant: COLORS['orange_1'],
|
||||
Keyword.Declaration: COLORS['orange_1'],
|
||||
Keyword.Namespace: COLORS['orange_1'],
|
||||
Keyword.Reserved: COLORS['orange_1'],
|
||||
Keyword.Type: COLORS['blue_1'],
|
||||
Literal: COLORS['green_1'],
|
||||
Name: COLORS['white'],
|
||||
Name.Attribute: COLORS['yellow_1'],
|
||||
Name.Builtin: COLORS['yellow_1'],
|
||||
Name.Builtin.Pseudo: "#5CCFE6",
|
||||
Name.Class: COLORS['blue_1'],
|
||||
Name.Constant: COLORS['yellow_1'],
|
||||
Name.Decorator: "bold italic " + COLORS['gray_1'],
|
||||
Name.Entity: COLORS['cyan_1'],
|
||||
Name.Exception: COLORS['blue_1'],
|
||||
Name.Function: COLORS['yellow_1'],
|
||||
Name.Function.Magic: COLORS['yellow_1'],
|
||||
Name.Other: COLORS['white'],
|
||||
Name.Property: COLORS['yellow_1'],
|
||||
Name.Tag: "#5CCFE6",
|
||||
Name.Variable: COLORS['white'],
|
||||
Number: COLORS['magenta_1'],
|
||||
Operator: COLORS['orange_1'],
|
||||
Operator.Word: COLORS['orange_1'],
|
||||
Punctuation: COLORS['white'],
|
||||
String: COLORS['green_1'],
|
||||
String.Affix: COLORS['orange_2'],
|
||||
String.Doc: COLORS['gray_1'],
|
||||
String.Escape: COLORS['cyan_1'],
|
||||
String.Interpol: COLORS['cyan_1'],
|
||||
String.Other: COLORS['cyan_1'],
|
||||
String.Regex: COLORS['cyan_1'],
|
||||
String.Symbol: COLORS['magenta_1'],
|
||||
Token: COLORS['white'],
|
||||
}
|
62
env/lib/python3.11/site-packages/pygments/styles/lilypond.py
vendored
Normal file
62
env/lib/python3.11/site-packages/pygments/styles/lilypond.py
vendored
Normal file
@ -0,0 +1,62 @@
|
||||
"""
|
||||
pygments.styles.lilypond
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
LilyPond-specific style.
|
||||
|
||||
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Token
|
||||
|
||||
|
||||
__all__ = ['LilyPondStyle']
|
||||
|
||||
|
||||
class LilyPondStyle(Style):
|
||||
"""
|
||||
Style for the LilyPond language.
|
||||
|
||||
.. versionadded:: 2.11
|
||||
"""
|
||||
|
||||
name = 'lilypond'
|
||||
|
||||
# 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
|
||||
|
||||
styles = {
|
||||
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",
|
||||
}
|
100
env/lib/python3.11/site-packages/pygments/styles/lovelace.py
vendored
Normal file
100
env/lib/python3.11/site-packages/pygments/styles/lovelace.py
vendored
Normal file
@ -0,0 +1,100 @@
|
||||
"""
|
||||
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-2024 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
|
||||
|
||||
|
||||
__all__ = ['LovelaceStyle']
|
||||
|
||||
|
||||
class LovelaceStyle(Style):
|
||||
"""
|
||||
The style used in Lovelace interactive learning environment. Tries to avoid
|
||||
the "angry fruit salad" effect with desaturated and dim colours.
|
||||
"""
|
||||
name = 'lovelace'
|
||||
|
||||
_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'
|
||||
|
||||
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.EmphStrong: 'bold italic',
|
||||
Generic.Traceback: _KW_BLUE,
|
||||
|
||||
Error: 'bg:'+_OW_PURPLE,
|
||||
}
|
79
env/lib/python3.11/site-packages/pygments/styles/manni.py
vendored
Normal file
79
env/lib/python3.11/site-packages/pygments/styles/manni.py
vendored
Normal file
@ -0,0 +1,79 @@
|
||||
"""
|
||||
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-2024 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
|
||||
|
||||
|
||||
__all__ = ['ManniStyle']
|
||||
|
||||
|
||||
class ManniStyle(Style):
|
||||
"""
|
||||
A colorful style, inspired by the terminal highlighting style.
|
||||
"""
|
||||
name = 'manni'
|
||||
|
||||
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.EmphStrong: 'bold italic',
|
||||
Generic.Prompt: 'bold #000099',
|
||||
Generic.Output: '#AAAAAA',
|
||||
Generic.Traceback: '#99CC66',
|
||||
|
||||
Error: 'bg:#FFAAAA #AA0000'
|
||||
}
|
124
env/lib/python3.11/site-packages/pygments/styles/material.py
vendored
Normal file
124
env/lib/python3.11/site-packages/pygments/styles/material.py
vendored
Normal file
@ -0,0 +1,124 @@
|
||||
"""
|
||||
pygments.styles.material
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Mimic the Material theme color scheme.
|
||||
|
||||
https://github.com/material-theme/vsc-material-theme
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['MaterialStyle']
|
||||
|
||||
|
||||
class MaterialStyle(Style):
|
||||
"""
|
||||
This style mimics the Material Theme color scheme.
|
||||
"""
|
||||
name = 'material'
|
||||
|
||||
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'
|
||||
|
||||
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.EmphStrong: yellow,
|
||||
Generic.Subheading: cyan,
|
||||
Generic.Traceback: red,
|
||||
}
|
112
env/lib/python3.11/site-packages/pygments/styles/monokai.py
vendored
Normal file
112
env/lib/python3.11/site-packages/pygments/styles/monokai.py
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
"""
|
||||
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-2024 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
|
||||
|
||||
|
||||
__all__ = ['MonokaiStyle']
|
||||
|
||||
|
||||
class MonokaiStyle(Style):
|
||||
"""
|
||||
This style mimics the Monokai color scheme.
|
||||
"""
|
||||
name = 'monokai'
|
||||
|
||||
background_color = "#272822"
|
||||
highlight_color = "#49483e"
|
||||
|
||||
styles = {
|
||||
# No corresponding class for the following:
|
||||
Token: "#f8f8f2", # class: ''
|
||||
Whitespace: "", # class: 'w'
|
||||
Error: "#ed007e bg:#1e0010", # class: 'err'
|
||||
Other: "", # class 'x'
|
||||
|
||||
Comment: "#959077", # 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: "#ff4689", # class: 'kn'
|
||||
Keyword.Pseudo: "", # class: 'kp'
|
||||
Keyword.Reserved: "", # class: 'kr'
|
||||
Keyword.Type: "", # class: 'kt'
|
||||
|
||||
Operator: "#ff4689", # 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: "#ff4689", # 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: "#ff4689", # 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 #ff4689", # class: 'gp'
|
||||
Generic.Strong: "bold", # class: 'gs'
|
||||
Generic.EmphStrong: "bold italic", # class: 'ges'
|
||||
Generic.Subheading: "#959077", # class: 'gu'
|
||||
Generic.Traceback: "", # class: 'gt'
|
||||
}
|
82
env/lib/python3.11/site-packages/pygments/styles/murphy.py
vendored
Normal file
82
env/lib/python3.11/site-packages/pygments/styles/murphy.py
vendored
Normal file
@ -0,0 +1,82 @@
|
||||
"""
|
||||
pygments.styles.murphy
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Murphy's style from CodeRay.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['MurphyStyle']
|
||||
|
||||
|
||||
class MurphyStyle(Style):
|
||||
"""
|
||||
Murphy's style from CodeRay.
|
||||
"""
|
||||
name = 'murphy'
|
||||
|
||||
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.EmphStrong: "bold italic",
|
||||
Generic.Prompt: "bold #c65d09",
|
||||
Generic.Output: "#888",
|
||||
Generic.Traceback: "#04D",
|
||||
|
||||
Error: "#F00 bg:#FAA"
|
||||
}
|
70
env/lib/python3.11/site-packages/pygments/styles/native.py
vendored
Normal file
70
env/lib/python3.11/site-packages/pygments/styles/native.py
vendored
Normal file
@ -0,0 +1,70 @@
|
||||
"""
|
||||
pygments.styles.native
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
pygments version of my "native" vim theme.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['NativeStyle']
|
||||
|
||||
|
||||
class NativeStyle(Style):
|
||||
"""
|
||||
Pygments version of the "native" vim theme.
|
||||
"""
|
||||
name = 'native'
|
||||
|
||||
background_color = '#202020'
|
||||
highlight_color = '#404040'
|
||||
line_number_color = '#aaaaaa'
|
||||
|
||||
styles = {
|
||||
Token: '#d0d0d0',
|
||||
Whitespace: '#666666',
|
||||
|
||||
Comment: 'italic #ababab',
|
||||
Comment.Preproc: 'noitalic bold #ff3a3a',
|
||||
Comment.Special: 'noitalic bold #e50808 bg:#520000',
|
||||
|
||||
Keyword: 'bold #6ebf26',
|
||||
Keyword.Pseudo: 'nobold',
|
||||
Operator.Word: 'bold #6ebf26',
|
||||
|
||||
String: '#ed9d13',
|
||||
String.Other: '#ffa500',
|
||||
|
||||
Number: '#51b2fd',
|
||||
|
||||
Name.Builtin: '#2fbccd',
|
||||
Name.Variable: '#40ffff',
|
||||
Name.Constant: '#40ffff',
|
||||
Name.Class: 'underline #71adff',
|
||||
Name.Function: '#71adff',
|
||||
Name.Namespace: 'underline #71adff',
|
||||
Name.Exception: '#bbbbbb',
|
||||
Name.Tag: 'bold #6ebf26',
|
||||
Name.Attribute: '#bbbbbb',
|
||||
Name.Decorator: '#ffa500',
|
||||
|
||||
Generic.Heading: 'bold #ffffff',
|
||||
Generic.Subheading: 'underline #ffffff',
|
||||
Generic.Deleted: '#ff3a3a',
|
||||
Generic.Inserted: '#589819',
|
||||
Generic.Error: '#ff3a3a',
|
||||
Generic.Emph: 'italic',
|
||||
Generic.Strong: 'bold',
|
||||
Generic.EmphStrong: 'bold italic',
|
||||
Generic.Prompt: '#aaaaaa',
|
||||
Generic.Output: '#cccccc',
|
||||
Generic.Traceback: '#ff3a3a',
|
||||
|
||||
Error: 'bg:#e3d2d2 #a61717'
|
||||
}
|
156
env/lib/python3.11/site-packages/pygments/styles/nord.py
vendored
Normal file
156
env/lib/python3.11/site-packages/pygments/styles/nord.py
vendored
Normal file
@ -0,0 +1,156 @@
|
||||
"""
|
||||
pygments.styles.nord
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
pygments version of the "nord" theme by Arctic Ice Studio
|
||||
https://www.nordtheme.com/
|
||||
|
||||
:copyright: Copyright 2006-2024 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, Text, Token
|
||||
|
||||
|
||||
__all__ = ['NordStyle', 'NordDarkerStyle']
|
||||
|
||||
|
||||
class NordStyle(Style):
|
||||
"""
|
||||
Pygments version of the "nord" theme by Arctic Ice Studio.
|
||||
"""
|
||||
name = 'nord'
|
||||
|
||||
line_number_color = "#D8DEE9"
|
||||
line_number_background_color = "#242933"
|
||||
line_number_special_color = "#242933"
|
||||
line_number_special_background_color = "#D8DEE9"
|
||||
|
||||
background_color = "#2E3440"
|
||||
highlight_color = "#3B4252"
|
||||
|
||||
styles = {
|
||||
Token: "#d8dee9",
|
||||
|
||||
Whitespace: '#d8dee9',
|
||||
Punctuation: '#eceff4',
|
||||
|
||||
Comment: 'italic #616e87',
|
||||
Comment.Preproc: '#5e81ac',
|
||||
|
||||
Keyword: 'bold #81a1c1',
|
||||
Keyword.Pseudo: 'nobold #81a1c1',
|
||||
Keyword.Type: 'nobold #81a1c1',
|
||||
|
||||
Operator: 'bold #81a1c1',
|
||||
Operator.Word: 'bold #81a1c1',
|
||||
|
||||
Name: '#d8dee9',
|
||||
Name.Builtin: '#81a1c1',
|
||||
Name.Function: '#88c0d0',
|
||||
Name.Class: '#8fbcbb',
|
||||
Name.Namespace: '#8fbcbb',
|
||||
Name.Exception: '#bf616a',
|
||||
Name.Variable: '#d8dee9',
|
||||
Name.Constant: '#8fbcbb',
|
||||
Name.Entity: '#d08770',
|
||||
Name.Attribute: '#8fbcbb',
|
||||
Name.Tag: '#81a1c1',
|
||||
Name.Decorator: '#d08770',
|
||||
|
||||
String: '#a3be8c',
|
||||
String.Doc: '#616e87',
|
||||
String.Interpol: '#a3be8c',
|
||||
String.Escape: '#ebcb8b',
|
||||
String.Regex: '#ebcb8b',
|
||||
String.Symbol: '#a3be8c',
|
||||
String.Other: '#a3be8c',
|
||||
|
||||
Number: '#b48ead',
|
||||
|
||||
Generic.Heading: 'bold #88c0d0',
|
||||
Generic.Subheading: 'bold #88c0d0',
|
||||
Generic.Deleted: '#bf616a',
|
||||
Generic.Inserted: '#a3be8c',
|
||||
Generic.Error: '#bf616a',
|
||||
Generic.Emph: 'italic',
|
||||
Generic.Strong: 'bold',
|
||||
Generic.EmphStrong: 'bold italic',
|
||||
Generic.Prompt: 'bold #616e88',
|
||||
Generic.Output: '#d8dee9',
|
||||
Generic.Traceback: '#bf616a',
|
||||
|
||||
Error: '#bf616a',
|
||||
Text: '#d8dee9',
|
||||
}
|
||||
|
||||
|
||||
class NordDarkerStyle(Style):
|
||||
"""
|
||||
Pygments version of a darker "nord" theme by Arctic Ice Studio
|
||||
"""
|
||||
name = 'nord-darker'
|
||||
|
||||
line_number_color = "#D8DEE9"
|
||||
line_number_background_color = "#242933"
|
||||
line_number_special_color = "#242933"
|
||||
line_number_special_background_color = "#D8DEE9"
|
||||
|
||||
background_color = "#242933"
|
||||
highlight_color = "#3B4252"
|
||||
|
||||
styles = {
|
||||
Token: "#d8dee9",
|
||||
|
||||
Whitespace: '#d8dee9',
|
||||
Punctuation: '#eceff4',
|
||||
|
||||
Comment: 'italic #616e87',
|
||||
Comment.Preproc: '#5e81ac',
|
||||
|
||||
Keyword: 'bold #81a1c1',
|
||||
Keyword.Pseudo: 'nobold #81a1c1',
|
||||
Keyword.Type: 'nobold #81a1c1',
|
||||
|
||||
Operator: 'bold #81a1c1',
|
||||
Operator.Word: 'bold #81a1c1',
|
||||
|
||||
Name: '#d8dee9',
|
||||
Name.Builtin: '#81a1c1',
|
||||
Name.Function: '#88c0d0',
|
||||
Name.Class: '#8fbcbb',
|
||||
Name.Namespace: '#8fbcbb',
|
||||
Name.Exception: '#bf616a',
|
||||
Name.Variable: '#d8dee9',
|
||||
Name.Constant: '#8fbcbb',
|
||||
Name.Entity: '#d08770',
|
||||
Name.Attribute: '#8fbcbb',
|
||||
Name.Tag: '#81a1c1',
|
||||
Name.Decorator: '#d08770',
|
||||
|
||||
String: '#a3be8c',
|
||||
String.Doc: '#616e87',
|
||||
String.Interpol: '#a3be8c',
|
||||
String.Escape: '#ebcb8b',
|
||||
String.Regex: '#ebcb8b',
|
||||
String.Symbol: '#a3be8c',
|
||||
String.Other: '#a3be8c',
|
||||
|
||||
Number: '#b48ead',
|
||||
|
||||
Generic.Heading: 'bold #88c0d0',
|
||||
Generic.Subheading: 'bold #88c0d0',
|
||||
Generic.Deleted: '#bf616a',
|
||||
Generic.Inserted: '#a3be8c',
|
||||
Generic.Error: '#bf616a',
|
||||
Generic.Emph: 'italic',
|
||||
Generic.Strong: 'bold',
|
||||
Generic.Prompt: 'bold #616e88',
|
||||
Generic.Output: '#d8dee9',
|
||||
Generic.Traceback: '#bf616a',
|
||||
|
||||
Error: '#bf616a',
|
||||
Text: '#d8dee9',
|
||||
}
|
63
env/lib/python3.11/site-packages/pygments/styles/onedark.py
vendored
Normal file
63
env/lib/python3.11/site-packages/pygments/styles/onedark.py
vendored
Normal file
@ -0,0 +1,63 @@
|
||||
"""
|
||||
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-2024 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Comment, Keyword, Name, Number, Operator, \
|
||||
Punctuation, String, Token
|
||||
|
||||
|
||||
__all__ = ['OneDarkStyle']
|
||||
|
||||
|
||||
class OneDarkStyle(Style):
|
||||
"""
|
||||
Theme inspired by One Dark Pro for Atom.
|
||||
|
||||
.. versionadded:: 2.11
|
||||
"""
|
||||
name = 'one-dark'
|
||||
|
||||
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'
|
||||
}
|
124
env/lib/python3.11/site-packages/pygments/styles/paraiso_dark.py
vendored
Normal file
124
env/lib/python3.11/site-packages/pygments/styles/paraiso_dark.py
vendored
Normal file
@ -0,0 +1,124 @@
|
||||
"""
|
||||
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-2024 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
|
||||
|
||||
|
||||
__all__ = ['ParaisoDarkStyle']
|
||||
|
||||
|
||||
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):
|
||||
name = 'paraiso-dark'
|
||||
|
||||
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.EmphStrong: "bold italic", # class: 'ges'
|
||||
Generic.Subheading: "bold " + AQUA, # class: 'gu'
|
||||
Generic.Traceback: "", # class: 'gt'
|
||||
}
|
124
env/lib/python3.11/site-packages/pygments/styles/paraiso_light.py
vendored
Normal file
124
env/lib/python3.11/site-packages/pygments/styles/paraiso_light.py
vendored
Normal file
@ -0,0 +1,124 @@
|
||||
"""
|
||||
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-2024 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
|
||||
|
||||
|
||||
__all__ = ['ParaisoLightStyle']
|
||||
|
||||
|
||||
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):
|
||||
name = 'paraiso-light'
|
||||
|
||||
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.EmphStrong: "bold italic", # class: 'ges'
|
||||
Generic.Subheading: "bold " + AQUA, # class: 'gu'
|
||||
Generic.Traceback: "", # class: 'gt'
|
||||
}
|
78
env/lib/python3.11/site-packages/pygments/styles/pastie.py
vendored
Normal file
78
env/lib/python3.11/site-packages/pygments/styles/pastie.py
vendored
Normal file
@ -0,0 +1,78 @@
|
||||
"""
|
||||
pygments.styles.pastie
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Style similar to the `pastie`_ default style.
|
||||
|
||||
.. _pastie: http://pastie.caboo.se/
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['PastieStyle']
|
||||
|
||||
|
||||
class PastieStyle(Style):
|
||||
"""
|
||||
Style similar to the pastie default style.
|
||||
"""
|
||||
|
||||
name = 'pastie'
|
||||
|
||||
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.EmphStrong: 'bold italic',
|
||||
Generic.Prompt: '#555555',
|
||||
Generic.Output: '#888888',
|
||||
Generic.Traceback: '#aa0000',
|
||||
|
||||
Error: 'bg:#e3d2d2 #a61717'
|
||||
}
|
73
env/lib/python3.11/site-packages/pygments/styles/perldoc.py
vendored
Normal file
73
env/lib/python3.11/site-packages/pygments/styles/perldoc.py
vendored
Normal file
@ -0,0 +1,73 @@
|
||||
"""
|
||||
pygments.styles.perldoc
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Style similar to the style used in the `perldoc`_ code blocks.
|
||||
|
||||
.. _perldoc: http://perldoc.perl.org/
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['PerldocStyle']
|
||||
|
||||
|
||||
class PerldocStyle(Style):
|
||||
"""
|
||||
Style similar to the style used in the perldoc code blocks.
|
||||
"""
|
||||
|
||||
name = 'perldoc'
|
||||
|
||||
background_color = '#eeeedd'
|
||||
|
||||
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.EmphStrong: 'bold italic',
|
||||
Generic.Prompt: '#555555',
|
||||
Generic.Output: '#888888',
|
||||
Generic.Traceback: '#aa0000',
|
||||
|
||||
Error: 'bg:#e3d2d2 #a61717'
|
||||
}
|
95
env/lib/python3.11/site-packages/pygments/styles/rainbow_dash.py
vendored
Normal file
95
env/lib/python3.11/site-packages/pygments/styles/rainbow_dash.py
vendored
Normal file
@ -0,0 +1,95 @@
|
||||
"""
|
||||
pygments.styles.rainbow_dash
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A bright and colorful syntax highlighting `theme`.
|
||||
|
||||
.. _theme: http://sanssecours.github.io/Rainbow-Dash.tmbundle
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['RainbowDashStyle']
|
||||
|
||||
|
||||
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.
|
||||
"""
|
||||
|
||||
name = 'rainbow_dash'
|
||||
|
||||
background_color = WHITE
|
||||
|
||||
styles = {
|
||||
Comment: f'italic {BLUE_LIGHT}',
|
||||
Comment.Preproc: 'noitalic',
|
||||
Comment.Special: 'bold',
|
||||
|
||||
Error: f'bg:{RED} {WHITE}',
|
||||
|
||||
Generic.Deleted: f'border:{RED_DARK} bg:{RED_LIGHT}',
|
||||
Generic.Emph: 'italic',
|
||||
Generic.Error: RED_BRIGHT,
|
||||
Generic.Heading: f'bold {BLUE}',
|
||||
Generic.Inserted: f'border:{GREEN_NEON} bg:{GREEN_LIGHT}',
|
||||
Generic.Output: GREY,
|
||||
Generic.Prompt: f'bold {BLUE}',
|
||||
Generic.Strong: 'bold',
|
||||
Generic.EmphStrong: 'bold italic',
|
||||
Generic.Subheading: f'bold {BLUE}',
|
||||
Generic.Traceback: RED_DARK,
|
||||
|
||||
Keyword: f'bold {BLUE}',
|
||||
Keyword.Pseudo: 'nobold',
|
||||
Keyword.Type: PURPLE,
|
||||
|
||||
Name.Attribute: f'italic {BLUE}',
|
||||
Name.Builtin: f'bold {PURPLE}',
|
||||
Name.Class: 'underline',
|
||||
Name.Constant: TURQUOISE,
|
||||
Name.Decorator: f'bold {ORANGE}',
|
||||
Name.Entity: f'bold {PURPLE}',
|
||||
Name.Exception: f'bold {PURPLE}',
|
||||
Name.Function: f'bold {ORANGE}',
|
||||
Name.Tag: f'bold {BLUE}',
|
||||
|
||||
Number: f'bold {PURPLE}',
|
||||
|
||||
Operator: BLUE,
|
||||
Operator.Word: 'bold',
|
||||
|
||||
String: GREEN,
|
||||
String.Doc: 'italic',
|
||||
String.Escape: f'bold {RED_DARK}',
|
||||
String.Other: TURQUOISE,
|
||||
String.Symbol: f'bold {RED_DARK}',
|
||||
|
||||
Text: GREY_DARK,
|
||||
|
||||
Whitespace: GREY_LIGHT
|
||||
}
|
39
env/lib/python3.11/site-packages/pygments/styles/rrt.py
vendored
Normal file
39
env/lib/python3.11/site-packages/pygments/styles/rrt.py
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
"""
|
||||
pygments.styles.rrt
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
pygments "rrt" theme, based on Zap and Emacs defaults.
|
||||
|
||||
:copyright: Copyright 2006-2024 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, Number
|
||||
|
||||
|
||||
__all__ = ['RrtStyle']
|
||||
|
||||
|
||||
class RrtStyle(Style):
|
||||
"""
|
||||
Minimalistic "rrt" theme, based on Zap and Emacs defaults.
|
||||
"""
|
||||
|
||||
name = 'rrt'
|
||||
|
||||
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',
|
||||
Number: '#ff00ff',
|
||||
}
|
46
env/lib/python3.11/site-packages/pygments/styles/sas.py
vendored
Normal file
46
env/lib/python3.11/site-packages/pygments/styles/sas.py
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
"""
|
||||
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-2024 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
|
||||
|
||||
|
||||
__all__ = ['SasStyle']
|
||||
|
||||
|
||||
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.
|
||||
"""
|
||||
|
||||
name = 'sas'
|
||||
|
||||
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'
|
||||
}
|
144
env/lib/python3.11/site-packages/pygments/styles/solarized.py
vendored
Normal file
144
env/lib/python3.11/site-packages/pygments/styles/solarized.py
vendored
Normal file
@ -0,0 +1,144 @@
|
||||
"""
|
||||
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-2024 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
|
||||
|
||||
|
||||
__all__ = ['SolarizedLightStyle', 'SolarizedDarkStyle']
|
||||
|
||||
|
||||
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.EmphStrong: 'bold italic',
|
||||
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.
|
||||
"""
|
||||
|
||||
name = 'solarized-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.
|
||||
"""
|
||||
|
||||
name = 'solarized-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']
|
31
env/lib/python3.11/site-packages/pygments/styles/staroffice.py
vendored
Normal file
31
env/lib/python3.11/site-packages/pygments/styles/staroffice.py
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
"""
|
||||
pygments.styles.staroffice
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Style similar to StarOffice style, also in OpenOffice and LibreOffice.
|
||||
|
||||
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
|
||||
:license: BSD, see LICENSE for details.
|
||||
"""
|
||||
|
||||
from pygments.style import Style
|
||||
from pygments.token import Comment, Error, Literal, Name, Token
|
||||
|
||||
|
||||
__all__ = ['StarofficeStyle']
|
||||
|
||||
|
||||
class StarofficeStyle(Style):
|
||||
"""
|
||||
Style similar to StarOffice style, also in OpenOffice and LibreOffice.
|
||||
"""
|
||||
name = 'staroffice'
|
||||
|
||||
|
||||
styles = {
|
||||
Token: '#000080', # Blue
|
||||
Comment: '#696969', # DimGray
|
||||
Error: '#800000', # Maroon
|
||||
Literal: '#EE0000', # Red
|
||||
Name: '#008000', # Green
|
||||
}
|
42
env/lib/python3.11/site-packages/pygments/styles/stata_dark.py
vendored
Normal file
42
env/lib/python3.11/site-packages/pygments/styles/stata_dark.py
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
"""
|
||||
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-2024 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
|
||||
|
||||
|
||||
__all__ = ['StataDarkStyle']
|
||||
|
||||
|
||||
class StataDarkStyle(Style):
|
||||
name = 'stata-dark'
|
||||
|
||||
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',
|
||||
}
|
42
env/lib/python3.11/site-packages/pygments/styles/stata_light.py
vendored
Normal file
42
env/lib/python3.11/site-packages/pygments/styles/stata_light.py
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
"""
|
||||
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-2024 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
|
||||
|
||||
|
||||
__all__ = ['StataLightStyle']
|
||||
|
||||
|
||||
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.
|
||||
"""
|
||||
|
||||
name = 'stata-light'
|
||||
|
||||
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',
|
||||
}
|
143
env/lib/python3.11/site-packages/pygments/styles/tango.py
vendored
Normal file
143
env/lib/python3.11/site-packages/pygments/styles/tango.py
vendored
Normal file
@ -0,0 +1,143 @@
|
||||
"""
|
||||
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-2024 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
|
||||
|
||||
|
||||
__all__ = ['TangoStyle']
|
||||
|
||||
|
||||
class TangoStyle(Style):
|
||||
"""
|
||||
The Crunchy default Style inspired from the color palette from
|
||||
the Tango Icon Theme Guidelines.
|
||||
"""
|
||||
|
||||
name = 'tango'
|
||||
|
||||
background_color = "#f8f8f8"
|
||||
|
||||
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.EmphStrong: "bold italic #000000", # class: 'ges'
|
||||
Generic.Subheading: "bold #800080", # class: 'gu'
|
||||
Generic.Traceback: "bold #a40000", # class: 'gt'
|
||||
}
|
66
env/lib/python3.11/site-packages/pygments/styles/trac.py
vendored
Normal file
66
env/lib/python3.11/site-packages/pygments/styles/trac.py
vendored
Normal file
@ -0,0 +1,66 @@
|
||||
"""
|
||||
pygments.styles.trac
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Port of the default trac highlighter design.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['TracStyle']
|
||||
|
||||
|
||||
class TracStyle(Style):
|
||||
"""
|
||||
Port of the default trac highlighter design.
|
||||
"""
|
||||
|
||||
name = 'trac'
|
||||
|
||||
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.EmphStrong: 'bold italic',
|
||||
Generic.Prompt: '#555555',
|
||||
Generic.Output: '#888888',
|
||||
Generic.Traceback: '#aa0000',
|
||||
|
||||
Error: 'bg:#e3d2d2 #a61717'
|
||||
}
|
67
env/lib/python3.11/site-packages/pygments/styles/vim.py
vendored
Normal file
67
env/lib/python3.11/site-packages/pygments/styles/vim.py
vendored
Normal file
@ -0,0 +1,67 @@
|
||||
"""
|
||||
pygments.styles.vim
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
A highlighting style for Pygments, inspired by vim.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['VimStyle']
|
||||
|
||||
|
||||
class VimStyle(Style):
|
||||
"""
|
||||
Styles somewhat like vim 7.0
|
||||
"""
|
||||
|
||||
name = 'vim'
|
||||
|
||||
background_color = "#000000"
|
||||
highlight_color = "#222222"
|
||||
|
||||
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.EmphStrong: "bold italic",
|
||||
Generic.Prompt: "bold #000080",
|
||||
Generic.Output: "#888",
|
||||
Generic.Traceback: "#04D",
|
||||
|
||||
Error: "border:#FF0000"
|
||||
}
|
41
env/lib/python3.11/site-packages/pygments/styles/vs.py
vendored
Normal file
41
env/lib/python3.11/site-packages/pygments/styles/vs.py
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
"""
|
||||
pygments.styles.vs
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Simple style with MS Visual Studio colors.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['VisualStudioStyle']
|
||||
|
||||
|
||||
class VisualStudioStyle(Style):
|
||||
name = 'vs'
|
||||
|
||||
background_color = "#ffffff"
|
||||
|
||||
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.EmphStrong: "bold italic",
|
||||
Generic.Prompt: "bold",
|
||||
|
||||
Error: "border:#FF0000"
|
||||
}
|
53
env/lib/python3.11/site-packages/pygments/styles/xcode.py
vendored
Normal file
53
env/lib/python3.11/site-packages/pygments/styles/xcode.py
vendored
Normal file
@ -0,0 +1,53 @@
|
||||
"""
|
||||
pygments.styles.xcode
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Style similar to the `Xcode` default theme.
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['XcodeStyle']
|
||||
|
||||
|
||||
class XcodeStyle(Style):
|
||||
"""
|
||||
Style similar to the Xcode default colouring theme.
|
||||
"""
|
||||
|
||||
name = 'xcode'
|
||||
|
||||
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',
|
||||
}
|
83
env/lib/python3.11/site-packages/pygments/styles/zenburn.py
vendored
Normal file
83
env/lib/python3.11/site-packages/pygments/styles/zenburn.py
vendored
Normal file
@ -0,0 +1,83 @@
|
||||
"""
|
||||
pygments.styles.zenburn
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Low contrast color scheme Zenburn.
|
||||
|
||||
See: https://kippura.org/zenburnpage/
|
||||
https://github.com/jnurmine/Zenburn
|
||||
|
||||
:copyright: Copyright 2006-2024 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
|
||||
|
||||
|
||||
__all__ = ['ZenburnStyle']
|
||||
|
||||
|
||||
class ZenburnStyle(Style):
|
||||
"""
|
||||
Low contrast Zenburn style.
|
||||
"""
|
||||
|
||||
name = 'zenburn'
|
||||
|
||||
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',
|
||||
}
|
Reference in New Issue
Block a user